Skip to content

Instantly share code, notes, and snippets.

@BlockoS
Forked from anonymous/font_disp.asm
Created July 31, 2011 19:13
Show Gist options
  • Save BlockoS/1117097 to your computer and use it in GitHub Desktop.
Save BlockoS/1117097 to your computer and use it in GitHub Desktop.
mpr 0: ff
mpr 1: f8
mpr 2: 80
mpr 3: 81
mpr 4: 82
mpr 5: 83
mpr 6: 77
mpr 7: 00
5439: ; start of vram "print"
5448: lda #$10
sta $0A
clx
544D: inx
bsr $541A
sta $0002
dex
bsr $541A
sta $0003
inx
inx
dec $0A
bne $544D
rts
541A: ldy $2FDC,X
lda $95
and $08
beq $542D
lda $94
and $08
beq $542B
ldy #$ff
542B: tya
rts
542D: lda $94
and $08
beq $5437
tya
eor #$ff
rts
5437: cla
rts
562C: lda #$FF
sta $2FDC
tii $2FDC, $2FDD, $0003
lda $94
clx
563B: lsr
bcs $5641
stz $2FDC, X
5641: inx
cpx #$04
bcc $563B
rts
5798: TIA $C000, $0002, $1800 ; scroll
mpr 0: ff
mpr 1: f8
mpr 2: 80
mpr 3: 81
mpr 4: 82
mpr 5: 83
mpr 6: 77
mpr 7: 00
7B4C: lda #$10
sta $5284
;...
7B65: lda #$09
sta $94
lda #$0F
sta $95
rts
mpr 0: ff
mpr 1: f8
mpr 2: 80
mpr 3: 81
mpr 4: 82
mpr 5: 83
mpr 6: 77
mpr 7: 00
_al = $41
_ah = $81
_bl = $dc
_bh = $2f
_dh = $00
55DD: jsr $E060
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment