User Tools

Site Tools


base:removing_the_top_bottom_border

Opening the Top/Bottom borders

By HCL

Try this.. There may be typos, i didn't assemble it myself.

sei

; First make sure the normal screen is shown.

bit $d011
bpl *-3
bit $d011
bmi *-3
lda #$1b
sta $d011

; For each frame, set screen-mode to 24 lines at y-position $f9 - $fa..
loop:
lda #$f9
cmp $d012
bne *-3
lda $d011
and #$f7
sta $d011

; .. and below y-position $fc, set it back to 25 lines.
bit $d011
bpl *-3
ora #8
sta $d011
jmp loop
base/removing_the_top_bottom_border.txt · Last modified: 2015-04-17 04:33 by 127.0.0.1