Otwarcie ekranu w trybie graficznym (GRAPHICS)

From Atariki

Revision as of 10:12, 1 paź 2006; view current revision
←Older revision | Newer revision→
Jump to: navigation, search
;
; (c) Lizard 
;
iccmd   =   $0342
icbufa  =   $0344
icax1   =   $034a
icax2   =   $034b
jciomain =  $e456

gr9     lda #9
        bne gr

gr15    lda #15

gr      pha
        ldx #$60        ; IOCB #6
        lda #$0c        ; zamknij
        jsr cioexe
        pla
        sta icax2,x     ; tryb
        lda #<dev       ; identyfikator urzadzenia
        sta icbufa,x
        lda #>dev
        sta icbufa+1,x
        lda #%00011100  ; bez okna tekstowego, odczyt/zapis
        sta icax1,x
        lda #$03        ; otworz
cioexe  sta iccmd,x
        jmp jciomain

dev     .by "S:" $9b
Personal tools