diff --git a/interlace_demo/Makefile b/interlace_demo/Makefile index e999cbd9..7dce1850 100644 --- a/interlace_demo/Makefile +++ b/interlace_demo/Makefile @@ -7,10 +7,11 @@ PNG_TO_40x48D = ../gr-utils/png_to_40x48d all: interlace.dsk -interlace.dsk: INTERLACE RASTERBARS HELLO +interlace.dsk: INTERLACE RASTERBARS SPRITES HELLO $(DOS33) -y interlace.dsk SAVE A HELLO $(DOS33) -y interlace.dsk BSAVE -a 0x1000 INTERLACE $(DOS33) -y interlace.dsk BSAVE -a 0x1000 RASTERBARS + $(DOS33) -y interlace.dsk BSAVE -a 0x1000 SPRITES #### @@ -36,6 +37,16 @@ rasterbars.o: rasterbars.s gr_copy.s \ rasterbars_screen.s rasterbars_table.s movement_table.s rb_bg.inc ca65 -o rasterbars.o rasterbars.s -l rasterbars.lst +#### + +SPRITES: sprites.o + ld65 -o SPRITES sprites.o -C ../linker_scripts/apple2_1000.inc + +sprites.o: sprites.s gr_copy.s \ + sprites_screen.s sprites_table.s movement_table.s rb_bg.inc + ca65 -o sprites.o sprites.s -l sprites.lst + + #### @@ -52,4 +63,4 @@ install: clean: - rm -f *~ *.o *.lst *.inc INTERLACE RASTERBARS HELLO + rm -f *~ *.o *.lst *.inc INTERLACE RASTERBARS SPRITES HELLO diff --git a/interlace_demo/gr_offsets.s b/interlace_demo/gr_offsets.s new file mode 100644 index 00000000..32bbfe08 --- /dev/null +++ b/interlace_demo/gr_offsets.s @@ -0,0 +1,4 @@ +gr_offsets: + .word $400,$480,$500,$580,$600,$680,$700,$780 + .word $428,$4a8,$528,$5a8,$628,$6a8,$728,$7a8 + .word $450,$4d0,$550,$5d0,$650,$6d0,$750,$7d0 diff --git a/interlace_demo/gr_simple_clear.s b/interlace_demo/gr_simple_clear.s new file mode 100644 index 00000000..c37627df --- /dev/null +++ b/interlace_demo/gr_simple_clear.s @@ -0,0 +1,36 @@ + ;================================== + ; HLINE + ;================================== + + ; Color in A + ; Y has which line +hline: + pha ; 3 + ldx gr_offsets,y ; 4+ + stx hline_loop+1 ; 4 + lda gr_offsets+1,y ; 4+ + clc ; 2 + adc DRAW_PAGE ; 3 + sta hline_loop+2 ; 4 + pla ; 4 + ldx #39 ; 2 +hline_loop: + sta $5d0,X ; 38 ; 5 + dex ; 2 + bpl hline_loop ; 2nt/3 + rts ; 6 + + ;========================== + ; Clear gr screen + ;========================== + ; Color in A +clear_gr: + ldy #46 +clear_page_loop: + jsr hline + dey + dey + bpl clear_page_loop + rts + + diff --git a/interlace_demo/hello.bas b/interlace_demo/hello.bas index 84d7bf97..bade9398 100644 --- a/interlace_demo/hello.bas +++ b/interlace_demo/hello.bas @@ -1,2 +1,2 @@ 10 PRINT "INTERLACE V0.1" - 100 PRINT CHR$ (4)"BRUN RASTERBARS" + 100 PRINT CHR$ (4)"BRUN SPRITES" diff --git a/interlace_demo/interlace.s b/interlace_demo/interlace.s index b2697928..c84a24de 100644 --- a/interlace_demo/interlace.s +++ b/interlace_demo/interlace.s @@ -3613,47 +3613,8 @@ loop2: dex ; 2 rts ; 6 - - ;================================== - ; HLINE - ;================================== - - ; Color in A - ; Y has which line -hline: - pha ; 3 - ldx gr_offsets,y ; 4+ - stx hline_loop+1 ; 4 - lda gr_offsets+1,y ; 4+ - clc ; 2 - adc DRAW_PAGE ; 3 - sta hline_loop+2 ; 4 - pla ; 4 - ldx #39 ; 2 -hline_loop: - sta $5d0,X ; 38 ; 5 - dex ; 2 - bpl hline_loop ; 2nt/3 - rts ; 6 - - ;========================== - ; Clear gr screen - ;========================== - ; Color in A -clear_gr: - ldy #46 -clear_page_loop: - jsr hline - dey - dey - bpl clear_page_loop - rts - -gr_offsets: - .word $400,$480,$500,$580,$600,$680,$700,$780 - .word $428,$4a8,$528,$5a8,$628,$6a8,$728,$7a8 - .word $450,$4d0,$550,$5d0,$650,$6d0,$750,$7d0 - +.include "gr_simple_clear.s" +.include "gr_offsets.s" .include "../asm_routines/gr_unrle.s" .include "../asm_routines/keypress.s" diff --git a/interlace_demo/make_st.c b/interlace_demo/make_st.c new file mode 100644 index 00000000..a74f7592 --- /dev/null +++ b/interlace_demo/make_st.c @@ -0,0 +1,106 @@ +#include + + +static int gr_offsets[]={ + 0x400,0x480,0x500,0x580,0x600,0x680,0x700,0x780, + 0x428,0x4a8,0x528,0x5a8,0x628,0x6a8,0x728,0x7a8, + 0x450,0x4d0,0x550,0x5d0,0x650,0x6d0,0x750,0x7d0, +}; + +#define X_OFFSET 0 + +int main(int argc, char **argv) { + + int i,j,lookup,address; + + for(i=0;i<96;i++) { + lookup=i/4; + + printf("; %d\n",i*2); + printf("\tbit\tPAGE0\t; 4\n"); + printf("smc%03d:\tldx\t#$00\t; 2\n",i*2); + for(j=0;j<7;j++) { + address=gr_offsets[lookup]+0x400+j+X_OFFSET; + if (i<15) address=0xc00; + if (i>77) address=0xc00; + printf("\tlda\t#$00\t; 2\n"); + printf("\tsta\t$%3x,X\t; 5\n",address); + } + printf("\tldx\t#$00\t; 2\n"); + printf("\tlda\tZERO\t; 3\n"); + address=gr_offsets[lookup]+0x400+X_OFFSET; + if (i<15) address=0xc00; + if (i>77) address=0xc00; + printf("\tsta\t$%3x,X\t; 5\n",address); + printf("\n"); + +#if 0 + ; 4 + lda #$00 ; 2 ldx #$5 ; 2 ; 6 + sta $500 ; 4 lda #0 ; 2 ; 10 + lda #$00 ; 2 sta $500,X ; 5 ; 13 + sta $501 ; 4 lda #1 ; 2 ; 15 + lda #$00 ; 2 sta $501,X ; 5 ; 20 + sta $502 ; 4 lda #2 ; 2 ; 22 + lda #$00 ; 2 sta $502,X ; 5 ; 27 + sta $503 ; 4 lda #3 ; 2 ; 29 + lda #$00 ; 2 sta $503,X ; 5 ; 34 + sta $504 ; 4 lda #4 ; 2 ; 36 + lda #$00 ; 2 sta $504,X ; 5 ; 41 + sta $505 ; 4 lda #5 ; 2 ; 43 + lda #$00 ; 2 sta $505,X ; 5 ; 48 + sta $506 ; 4 lda #6 ; 2 ; 50 + lda #$00 ; 2 sta $506,X ; 5 ; 55 + sta $507 ; 4 + lda #$00 ; 2 + sta $508 ; 4 ldx #$10 ; 2 ; 57 + bit krg ; 4 lda ZP ; 3 ; 60 + lda TEMP ; 3 sta $500,X ; 5 ; 65 +#endif + + + + + lookup=i/4; + if (i%4==3) lookup=(i+4)/4; + if (i==95) lookup=0; + + + printf("; %d\n",(i*2)+1); + printf("\tbit\tPAGE1\t; 4\n"); + printf("smc%03d:\tldx\t#$00\t; 2\n",(i*2)+1); + for(j=0;j<7;j++) { + address=gr_offsets[lookup]+j+X_OFFSET; + if (i<15) address=0xc00; + if (i>77) address=0xc00; + printf("\tlda\t#$00\t; 2\n"); + printf("\tsta\t$%3x,X\t; 5\n",address); + } + printf("\tldx\t#$00\t; 2\n"); + printf("\tlda\tZERO\t; 3\n"); + address=gr_offsets[lookup]+X_OFFSET; + if (i<15) address=0xc00; + if (i>77) address=0xc00; + printf("\tsta\t$%3x,X\t; 5\n",address); + printf("\n"); + } + +#if 0 + printf("y_lookup_h:\n"); + for(i=32;i<32+128;i++) { + if (i%8==0) printf(".byte\t"); + printf(">(smc%03d+1)",i); + if (i%8!=7) printf(","); + else printf("\n"); + } + + printf("y_lookup_l:\n"); + for(i=32;i<32+128;i++) { + if (i%8==0) printf(".byte\t"); + printf("<(smc%03d+1)",i); + if (i%8!=7) printf(","); + else printf("\n"); + } +#endif + return 0; +} diff --git a/interlace_demo/rasterbars.s b/interlace_demo/rasterbars.s index f6373b2b..b38132f3 100644 --- a/interlace_demo/rasterbars.s +++ b/interlace_demo/rasterbars.s @@ -452,50 +452,8 @@ smc_raster_color1_2: - - - - - ;================================== - ; HLINE - ;================================== - - ; Color in A - ; Y has which line -hline: - pha ; 3 - ldx gr_offsets,y ; 4+ - stx hline_loop+1 ; 4 - lda gr_offsets+1,y ; 4+ - clc ; 2 - adc DRAW_PAGE ; 3 - sta hline_loop+2 ; 4 - pla ; 4 - ldx #39 ; 2 -hline_loop: - sta $5d0,X ; 38 ; 5 - dex ; 2 - bpl hline_loop ; 2nt/3 - rts ; 6 - - ;========================== - ; Clear gr screen - ;========================== - ; Color in A -clear_gr: - ldy #46 -clear_page_loop: - jsr hline - dey - dey - bpl clear_page_loop - rts - -gr_offsets: - .word $400,$480,$500,$580,$600,$680,$700,$780 - .word $428,$4a8,$528,$5a8,$628,$6a8,$728,$7a8 - .word $450,$4d0,$550,$5d0,$650,$6d0,$750,$7d0 - +.include "gr_simple_clear.s" +.include "gr_offsets.s" .include "../asm_routines/gr_unrle.s" .include "../asm_routines/keypress.s" diff --git a/interlace_demo/sprites.s b/interlace_demo/sprites.s new file mode 100644 index 00000000..b405126c --- /dev/null +++ b/interlace_demo/sprites.s @@ -0,0 +1,478 @@ +; Uses the 40x48d page1/page2 every-1-scanline pageflip mode + +; self modifying code to get some extra colors (pseudo 40x192 mode) + +; by deater (Vince Weaver) + +; Zero Page +FRAMEBUFFER = $00 ; $00 - $0F +YPOS = $10 +YPOS_SIN = $11 +CH = $24 +CV = $25 +GBASL = $26 +GBASH = $27 +BASL = $28 +BASH = $29 +FRAME = $60 +BLARGH = $69 +DRAW_PAGE = $EE +LASTKEY = $F1 +PADDLE_STATUS = $F2 +TEMP = $FA +WHICH = $FB + +OUTL = $FE +OUTH = $FF + +ZERO = $80 + + +; Soft Switches +KEYPRESS= $C000 +KEYRESET= $C010 +SET_GR = $C050 ; Enable graphics +FULLGR = $C052 ; Full screen, no text +PAGE0 = $C054 ; Page0 +PAGE1 = $C055 ; Page1 +LORES = $C056 ; Enable LORES graphics +PADDLE_BUTTON0 = $C061 +PADDL0 = $C064 +PTRIG = $C070 + +; ROM routines + +TEXT = $FB36 ;; Set text mode +HOME = $FC58 ;; Clear the text screen +WAIT = $FCA8 ;; delay 1/2(26+27A+5A^2) us + + +start_sprites: + + ;=================== + ; init screen + jsr TEXT + jsr HOME + bit KEYRESET + + ;=================== + ; init vars + + lda #0 + sta DRAW_PAGE + sta WHICH + + ;============================= + ; Load graphic page0 + + lda #$0c + sta BASH + lda #$00 + sta BASL ; load image to $c00 + + lda WHICH + asl + asl ; which*4 + tay + + lda pictures,Y + sta GBASL + lda pictures+1,Y + sta GBASH + jsr load_rle_gr + + lda #4 + sta DRAW_PAGE + + jsr gr_copy_to_current ; copy to page1 + + ; GR part + bit PAGE1 + bit LORES ; 4 + bit SET_GR ; 4 + bit FULLGR ; 4 + +; jsr wait_until_keypressed + + + ;============================= + ; Load graphic page1 + + lda #$0c + sta BASH + lda #$00 + sta BASL ; load image to $c00 + + lda WHICH + asl + asl ; which*4 + tay + + lda pictures+2,Y + sta GBASL + lda pictures+3,Y + sta GBASH + jsr load_rle_gr + + lda #0 + sta DRAW_PAGE + + jsr gr_copy_to_current + +; ; GR part + bit PAGE0 + +; jsr wait_until_keypressed + + + ;============================== + ; setup graphics for vapor lock + ;============================== + + jsr vapor_lock + + ; vapor lock returns with us at beginning of hsync in line + ; 114 (7410 cycles), so with 5070 lines to go + + ; GR part + bit LORES ; 4 + bit SET_GR ; 4 + bit FULLGR ; 4 + + jsr gr_copy_to_current ; 6+ 9292 + + ; 5070 + 4550 = 9620 + ; 9292 + ; 12 + ; 6 + ; ==== + ; 310 + + ; - 3 for jmp + ; 307 + + ; Try X=9 Y=6 cycles=307 + + ldy #6 ; 2 +loopA: ldx #9 ; 2 +loopB: dex ; 2 + bne loopB ; 2nt/3 + dey ; 2 + bne loopA ; 2nt/3 + + jmp display_loop ; 3 + +.align $100 + + ;================================================ + ; Display Loop + ;================================================ + ; each scan line 65 cycles + ; 1 cycle each byte (40cycles) + 25 for horizontal + ; Total of 12480 cycles to draw screen + ; Vertical blank = 4550 cycles (70 scan lines) + ; Total of 17030 cycles to get back to where was + + ; We want to alternate between page1 and page2 every 65 cycles + ; vblank = 4550 cycles to do scrolling + + +display_loop: + +.include "sprites_screen.s" + + ;====================================================== + ; We have 4550 cycles in the vblank, use them wisely + ;====================================================== + + ; 4550 -- VBLANK + ; -582 -- erase 22+4*(8+6+126) = 582 + ; -696 -- move+draw 4*(16+26+6+126) = 696 + ; -10 -- keypress + ;======= + ; 3262 + +pad_time: + + ; we erase, then draw + ; doing a blanket erase of all 128 lines would cost 3459 cycles! + + ;========================= + ; ERASE + ;========================= + + lda #$00 ; 2 + sta smc_raster_color1_1+1 ; 4 + sta smc_raster_color1_2+1 ; 4 + sta smc_raster_color2_1+1 ; 4 + sta smc_raster_color2_2+1 ; 4 + sta smc_raster_color3_1+1 ; 4 + ;============= + ; 22 + + ; erase red + + lda red_x ; 4 + and #$7f ; 2 + tax ; 2 + + jsr draw_rasterbar ; 6+126 + + ; erase yellow + + lda yellow_x ; 4 + and #$7f ; 2 + tax ; 2 + + jsr draw_rasterbar ; 6+126 + + ; erase green + + lda green_x ; 4 + and #$7f ; 2 + tax ; 2 + + jsr draw_rasterbar ; 6+126 + + ; erase red + + lda blue_x ; 4 + and #$7f ; 2 + tax ; 2 + + jsr draw_rasterbar ; 6+126 + + + ;========================= + ; MOVE and DRAW + ;========================= + + + ;============ + ; move red + + ldy red_x ; 4 + lda movement_table,Y ; 4 + sta red_x ; 4 + and #$7f ; 2 + tax ; 2 + ;========== + ; 16 + + ; draw red + + lda #$33 ; 2 + sta smc_raster_color1_1+1 ; 4 + sta smc_raster_color1_2+1 ; 4 + lda #$bb ; 2 + sta smc_raster_color2_1+1 ; 4 + sta smc_raster_color2_2+1 ; 4 + lda #$ff ; 2 + sta smc_raster_color3_1+1 ; 4 + ;============= + ; 26 + + + jsr draw_rasterbar ; 6+126 + + + ;============ + ; move yellow + + ldy yellow_x ; 4 + lda movement_table,Y ; 4 + sta yellow_x ; 4 + and #$7f ; 2 + tax ; 2 + ;========== + ; 16 + + ; draw yellow + + lda #$88 ; 2 + sta smc_raster_color1_1+1 ; 4 + sta smc_raster_color1_2+1 ; 4 + lda #$dd ; 2 + sta smc_raster_color2_1+1 ; 4 + sta smc_raster_color2_2+1 ; 4 + lda #$ff ; 2 + sta smc_raster_color3_1+1 ; 4 + ;============= + ; 26 + + + jsr draw_rasterbar ; 6+126 + + ;============ + ; move green + + ldy green_x ; 4 + lda movement_table,Y ; 4 + sta green_x ; 4 + and #$7f ; 2 + tax ; 2 + ;========== + ; 16 + + ; draw green + + lda #$44 ; 2 + sta smc_raster_color1_1+1 ; 4 + sta smc_raster_color1_2+1 ; 4 + lda #$cc ; 2 + sta smc_raster_color2_1+1 ; 4 + sta smc_raster_color2_2+1 ; 4 + lda #$ff ; 2 + sta smc_raster_color3_1+1 ; 4 + ;============= + ; 26 + + + jsr draw_rasterbar ; 6+126 + + ;============ + ; move blue + + ldy blue_x ; 4 + lda movement_table,Y ; 4 + sta blue_x ; 4 + and #$7f ; 2 + tax ; 2 + ;========== + ; 16 + + ; draw blue + + lda #$22 ; 2 + sta smc_raster_color1_1+1 ; 4 + sta smc_raster_color1_2+1 ; 4 + lda #$66 ; 2 + sta smc_raster_color2_1+1 ; 4 + sta smc_raster_color2_2+1 ; 4 + lda #$ff ; 2 + sta smc_raster_color3_1+1 ; 4 + ;============= + ; 26 + + + jsr draw_rasterbar ; 6+126 + + + + + ;============================ + ; WAIT for VBLANK to finish + ;============================ + ; Try X=5 Y=105 cycles=3256 R6 + + nop + nop + nop + + ldy #105 ; 2 +loop1: ldx #5 ; 2 +loop2: dex ; 2 + bne loop2 ; 2nt/3 + dey ; 2 + bne loop1 ; 2nt/3 + + + lda KEYPRESS ; 4 + bpl no_keypress ; 3 + jmp display_loop +no_keypress: + + jmp display_loop ; 3 + + + ;======================== + ; Draw a rasterbar + ; unroll as memory is free! haha + ;======================== + ; X is location + + ; 2+22+24+24+24+24+6 = 126 + +draw_rasterbar: + + ldy #0 ; 2 + ;==== + + lda y_lookup_l,X ; 4 + sta OUTL ; 3 + lda y_lookup_h,X ; 4 + sta OUTH ; 3 + +smc_raster_color1_1: + lda #$33 ; 2 + sta (OUTL),Y ; 6 + ;============ + ; 22 + + inx ; 2 + lda y_lookup_l,X ; 4 + sta OUTL ; 3 + lda y_lookup_h,X ; 4 + sta OUTH ; 3 + +smc_raster_color2_1: + lda #$bb ; 2 + sta (OUTL),Y ; 6 + + inx ; 2 + lda y_lookup_l,X ; 4 + sta OUTL ; 3 + lda y_lookup_h,X ; 4 + sta OUTH ; 3 + +smc_raster_color3_1: + lda #$ff ; 2 + sta (OUTL),Y ; 6 + + inx + lda y_lookup_l,X ; 4 + sta OUTL ; 3 + lda y_lookup_h,X ; 4 + sta OUTH ; 3 + +smc_raster_color2_2: + lda #$bb ; 2 + sta (OUTL),Y ; 6 + + inx + lda y_lookup_l,X ; 4 + sta OUTL ; 3 + lda y_lookup_h,X ; 4 + sta OUTH ; 3 + +smc_raster_color1_2: + lda #$33 ; 2 + sta (OUTL),Y ; 6 + + rts ; 6 + + + + +.include "gr_simple_clear.s" +.include "gr_offsets.s" + + +.include "../asm_routines/gr_unrle.s" +.include "../asm_routines/keypress.s" +.align $100 +.include "sprites_table.s" +.include "movement_table.s" +.include "gr_copy.s" +.include "vapor_lock.s" +.include "delay_a.s" + +pictures: + .word rb_bg_low,rb_bg_high + +.include "rb_bg.inc" + +red_x: .byte $10 +yellow_x: .byte $20 +green_x: .byte $30 +blue_x: .byte $40 diff --git a/interlace_demo/sprites_screen.s b/interlace_demo/sprites_screen.s new file mode 100644 index 00000000..d1285d4e --- /dev/null +++ b/interlace_demo/sprites_screen.s @@ -0,0 +1,4032 @@ +; 0 + bit PAGE0 ; 4 +smc000: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 1 + bit PAGE1 ; 4 +smc001: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 2 + bit PAGE0 ; 4 +smc002: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 3 + bit PAGE1 ; 4 +smc003: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 4 + bit PAGE0 ; 4 +smc004: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 5 + bit PAGE1 ; 4 +smc005: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 6 + bit PAGE0 ; 4 +smc006: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 7 + bit PAGE1 ; 4 +smc007: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 8 + bit PAGE0 ; 4 +smc008: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 9 + bit PAGE1 ; 4 +smc009: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 10 + bit PAGE0 ; 4 +smc010: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 11 + bit PAGE1 ; 4 +smc011: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 12 + bit PAGE0 ; 4 +smc012: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 13 + bit PAGE1 ; 4 +smc013: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 14 + bit PAGE0 ; 4 +smc014: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 15 + bit PAGE1 ; 4 +smc015: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 16 + bit PAGE0 ; 4 +smc016: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 17 + bit PAGE1 ; 4 +smc017: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 18 + bit PAGE0 ; 4 +smc018: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 19 + bit PAGE1 ; 4 +smc019: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 20 + bit PAGE0 ; 4 +smc020: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 21 + bit PAGE1 ; 4 +smc021: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 22 + bit PAGE0 ; 4 +smc022: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 23 + bit PAGE1 ; 4 +smc023: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 24 + bit PAGE0 ; 4 +smc024: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 25 + bit PAGE1 ; 4 +smc025: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 26 + bit PAGE0 ; 4 +smc026: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 27 + bit PAGE1 ; 4 +smc027: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 28 + bit PAGE0 ; 4 +smc028: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 29 + bit PAGE1 ; 4 +smc029: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 30 + bit PAGE0 ; 4 +smc030: ldx #$00 ; 2 + lda #$00 ; 2 + sta $980,X ; 5 + lda #$00 ; 2 + sta $981,X ; 5 + lda #$00 ; 2 + sta $982,X ; 5 + lda #$00 ; 2 + sta $983,X ; 5 + lda #$00 ; 2 + sta $984,X ; 5 + lda #$00 ; 2 + sta $985,X ; 5 + lda #$00 ; 2 + sta $986,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $980,X ; 5 + +; 31 + bit PAGE1 ; 4 +smc031: ldx #$00 ; 2 + lda #$00 ; 2 + sta $600,X ; 5 + lda #$00 ; 2 + sta $601,X ; 5 + lda #$00 ; 2 + sta $602,X ; 5 + lda #$00 ; 2 + sta $603,X ; 5 + lda #$00 ; 2 + sta $604,X ; 5 + lda #$00 ; 2 + sta $605,X ; 5 + lda #$00 ; 2 + sta $606,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $600,X ; 5 + +; 32 + bit PAGE0 ; 4 +smc032: ldx #$00 ; 2 + lda #$00 ; 2 + sta $a00,X ; 5 + lda #$00 ; 2 + sta $a01,X ; 5 + lda #$00 ; 2 + sta $a02,X ; 5 + lda #$00 ; 2 + sta $a03,X ; 5 + lda #$00 ; 2 + sta $a04,X ; 5 + lda #$00 ; 2 + sta $a05,X ; 5 + lda #$00 ; 2 + sta $a06,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $a00,X ; 5 + +; 33 + bit PAGE1 ; 4 +smc033: ldx #$00 ; 2 + lda #$00 ; 2 + sta $600,X ; 5 + lda #$00 ; 2 + sta $601,X ; 5 + lda #$00 ; 2 + sta $602,X ; 5 + lda #$00 ; 2 + sta $603,X ; 5 + lda #$00 ; 2 + sta $604,X ; 5 + lda #$00 ; 2 + sta $605,X ; 5 + lda #$00 ; 2 + sta $606,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $600,X ; 5 + +; 34 + bit PAGE0 ; 4 +smc034: ldx #$00 ; 2 + lda #$00 ; 2 + sta $a00,X ; 5 + lda #$00 ; 2 + sta $a01,X ; 5 + lda #$00 ; 2 + sta $a02,X ; 5 + lda #$00 ; 2 + sta $a03,X ; 5 + lda #$00 ; 2 + sta $a04,X ; 5 + lda #$00 ; 2 + sta $a05,X ; 5 + lda #$00 ; 2 + sta $a06,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $a00,X ; 5 + +; 35 + bit PAGE1 ; 4 +smc035: ldx #$00 ; 2 + lda #$00 ; 2 + sta $600,X ; 5 + lda #$00 ; 2 + sta $601,X ; 5 + lda #$00 ; 2 + sta $602,X ; 5 + lda #$00 ; 2 + sta $603,X ; 5 + lda #$00 ; 2 + sta $604,X ; 5 + lda #$00 ; 2 + sta $605,X ; 5 + lda #$00 ; 2 + sta $606,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $600,X ; 5 + +; 36 + bit PAGE0 ; 4 +smc036: ldx #$00 ; 2 + lda #$00 ; 2 + sta $a00,X ; 5 + lda #$00 ; 2 + sta $a01,X ; 5 + lda #$00 ; 2 + sta $a02,X ; 5 + lda #$00 ; 2 + sta $a03,X ; 5 + lda #$00 ; 2 + sta $a04,X ; 5 + lda #$00 ; 2 + sta $a05,X ; 5 + lda #$00 ; 2 + sta $a06,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $a00,X ; 5 + +; 37 + bit PAGE1 ; 4 +smc037: ldx #$00 ; 2 + lda #$00 ; 2 + sta $600,X ; 5 + lda #$00 ; 2 + sta $601,X ; 5 + lda #$00 ; 2 + sta $602,X ; 5 + lda #$00 ; 2 + sta $603,X ; 5 + lda #$00 ; 2 + sta $604,X ; 5 + lda #$00 ; 2 + sta $605,X ; 5 + lda #$00 ; 2 + sta $606,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $600,X ; 5 + +; 38 + bit PAGE0 ; 4 +smc038: ldx #$00 ; 2 + lda #$00 ; 2 + sta $a00,X ; 5 + lda #$00 ; 2 + sta $a01,X ; 5 + lda #$00 ; 2 + sta $a02,X ; 5 + lda #$00 ; 2 + sta $a03,X ; 5 + lda #$00 ; 2 + sta $a04,X ; 5 + lda #$00 ; 2 + sta $a05,X ; 5 + lda #$00 ; 2 + sta $a06,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $a00,X ; 5 + +; 39 + bit PAGE1 ; 4 +smc039: ldx #$00 ; 2 + lda #$00 ; 2 + sta $680,X ; 5 + lda #$00 ; 2 + sta $681,X ; 5 + lda #$00 ; 2 + sta $682,X ; 5 + lda #$00 ; 2 + sta $683,X ; 5 + lda #$00 ; 2 + sta $684,X ; 5 + lda #$00 ; 2 + sta $685,X ; 5 + lda #$00 ; 2 + sta $686,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $680,X ; 5 + +; 40 + bit PAGE0 ; 4 +smc040: ldx #$00 ; 2 + lda #$00 ; 2 + sta $a80,X ; 5 + lda #$00 ; 2 + sta $a81,X ; 5 + lda #$00 ; 2 + sta $a82,X ; 5 + lda #$00 ; 2 + sta $a83,X ; 5 + lda #$00 ; 2 + sta $a84,X ; 5 + lda #$00 ; 2 + sta $a85,X ; 5 + lda #$00 ; 2 + sta $a86,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $a80,X ; 5 + +; 41 + bit PAGE1 ; 4 +smc041: ldx #$00 ; 2 + lda #$00 ; 2 + sta $680,X ; 5 + lda #$00 ; 2 + sta $681,X ; 5 + lda #$00 ; 2 + sta $682,X ; 5 + lda #$00 ; 2 + sta $683,X ; 5 + lda #$00 ; 2 + sta $684,X ; 5 + lda #$00 ; 2 + sta $685,X ; 5 + lda #$00 ; 2 + sta $686,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $680,X ; 5 + +; 42 + bit PAGE0 ; 4 +smc042: ldx #$00 ; 2 + lda #$00 ; 2 + sta $a80,X ; 5 + lda #$00 ; 2 + sta $a81,X ; 5 + lda #$00 ; 2 + sta $a82,X ; 5 + lda #$00 ; 2 + sta $a83,X ; 5 + lda #$00 ; 2 + sta $a84,X ; 5 + lda #$00 ; 2 + sta $a85,X ; 5 + lda #$00 ; 2 + sta $a86,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $a80,X ; 5 + +; 43 + bit PAGE1 ; 4 +smc043: ldx #$00 ; 2 + lda #$00 ; 2 + sta $680,X ; 5 + lda #$00 ; 2 + sta $681,X ; 5 + lda #$00 ; 2 + sta $682,X ; 5 + lda #$00 ; 2 + sta $683,X ; 5 + lda #$00 ; 2 + sta $684,X ; 5 + lda #$00 ; 2 + sta $685,X ; 5 + lda #$00 ; 2 + sta $686,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $680,X ; 5 + +; 44 + bit PAGE0 ; 4 +smc044: ldx #$00 ; 2 + lda #$00 ; 2 + sta $a80,X ; 5 + lda #$00 ; 2 + sta $a81,X ; 5 + lda #$00 ; 2 + sta $a82,X ; 5 + lda #$00 ; 2 + sta $a83,X ; 5 + lda #$00 ; 2 + sta $a84,X ; 5 + lda #$00 ; 2 + sta $a85,X ; 5 + lda #$00 ; 2 + sta $a86,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $a80,X ; 5 + +; 45 + bit PAGE1 ; 4 +smc045: ldx #$00 ; 2 + lda #$00 ; 2 + sta $680,X ; 5 + lda #$00 ; 2 + sta $681,X ; 5 + lda #$00 ; 2 + sta $682,X ; 5 + lda #$00 ; 2 + sta $683,X ; 5 + lda #$00 ; 2 + sta $684,X ; 5 + lda #$00 ; 2 + sta $685,X ; 5 + lda #$00 ; 2 + sta $686,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $680,X ; 5 + +; 46 + bit PAGE0 ; 4 +smc046: ldx #$00 ; 2 + lda #$00 ; 2 + sta $a80,X ; 5 + lda #$00 ; 2 + sta $a81,X ; 5 + lda #$00 ; 2 + sta $a82,X ; 5 + lda #$00 ; 2 + sta $a83,X ; 5 + lda #$00 ; 2 + sta $a84,X ; 5 + lda #$00 ; 2 + sta $a85,X ; 5 + lda #$00 ; 2 + sta $a86,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $a80,X ; 5 + +; 47 + bit PAGE1 ; 4 +smc047: ldx #$00 ; 2 + lda #$00 ; 2 + sta $700,X ; 5 + lda #$00 ; 2 + sta $701,X ; 5 + lda #$00 ; 2 + sta $702,X ; 5 + lda #$00 ; 2 + sta $703,X ; 5 + lda #$00 ; 2 + sta $704,X ; 5 + lda #$00 ; 2 + sta $705,X ; 5 + lda #$00 ; 2 + sta $706,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $700,X ; 5 + +; 48 + bit PAGE0 ; 4 +smc048: ldx #$00 ; 2 + lda #$00 ; 2 + sta $b00,X ; 5 + lda #$00 ; 2 + sta $b01,X ; 5 + lda #$00 ; 2 + sta $b02,X ; 5 + lda #$00 ; 2 + sta $b03,X ; 5 + lda #$00 ; 2 + sta $b04,X ; 5 + lda #$00 ; 2 + sta $b05,X ; 5 + lda #$00 ; 2 + sta $b06,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $b00,X ; 5 + +; 49 + bit PAGE1 ; 4 +smc049: ldx #$00 ; 2 + lda #$00 ; 2 + sta $700,X ; 5 + lda #$00 ; 2 + sta $701,X ; 5 + lda #$00 ; 2 + sta $702,X ; 5 + lda #$00 ; 2 + sta $703,X ; 5 + lda #$00 ; 2 + sta $704,X ; 5 + lda #$00 ; 2 + sta $705,X ; 5 + lda #$00 ; 2 + sta $706,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $700,X ; 5 + +; 50 + bit PAGE0 ; 4 +smc050: ldx #$00 ; 2 + lda #$00 ; 2 + sta $b00,X ; 5 + lda #$00 ; 2 + sta $b01,X ; 5 + lda #$00 ; 2 + sta $b02,X ; 5 + lda #$00 ; 2 + sta $b03,X ; 5 + lda #$00 ; 2 + sta $b04,X ; 5 + lda #$00 ; 2 + sta $b05,X ; 5 + lda #$00 ; 2 + sta $b06,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $b00,X ; 5 + +; 51 + bit PAGE1 ; 4 +smc051: ldx #$00 ; 2 + lda #$00 ; 2 + sta $700,X ; 5 + lda #$00 ; 2 + sta $701,X ; 5 + lda #$00 ; 2 + sta $702,X ; 5 + lda #$00 ; 2 + sta $703,X ; 5 + lda #$00 ; 2 + sta $704,X ; 5 + lda #$00 ; 2 + sta $705,X ; 5 + lda #$00 ; 2 + sta $706,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $700,X ; 5 + +; 52 + bit PAGE0 ; 4 +smc052: ldx #$00 ; 2 + lda #$00 ; 2 + sta $b00,X ; 5 + lda #$00 ; 2 + sta $b01,X ; 5 + lda #$00 ; 2 + sta $b02,X ; 5 + lda #$00 ; 2 + sta $b03,X ; 5 + lda #$00 ; 2 + sta $b04,X ; 5 + lda #$00 ; 2 + sta $b05,X ; 5 + lda #$00 ; 2 + sta $b06,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $b00,X ; 5 + +; 53 + bit PAGE1 ; 4 +smc053: ldx #$00 ; 2 + lda #$00 ; 2 + sta $700,X ; 5 + lda #$00 ; 2 + sta $701,X ; 5 + lda #$00 ; 2 + sta $702,X ; 5 + lda #$00 ; 2 + sta $703,X ; 5 + lda #$00 ; 2 + sta $704,X ; 5 + lda #$00 ; 2 + sta $705,X ; 5 + lda #$00 ; 2 + sta $706,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $700,X ; 5 + +; 54 + bit PAGE0 ; 4 +smc054: ldx #$00 ; 2 + lda #$00 ; 2 + sta $b00,X ; 5 + lda #$00 ; 2 + sta $b01,X ; 5 + lda #$00 ; 2 + sta $b02,X ; 5 + lda #$00 ; 2 + sta $b03,X ; 5 + lda #$00 ; 2 + sta $b04,X ; 5 + lda #$00 ; 2 + sta $b05,X ; 5 + lda #$00 ; 2 + sta $b06,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $b00,X ; 5 + +; 55 + bit PAGE1 ; 4 +smc055: ldx #$00 ; 2 + lda #$00 ; 2 + sta $780,X ; 5 + lda #$00 ; 2 + sta $781,X ; 5 + lda #$00 ; 2 + sta $782,X ; 5 + lda #$00 ; 2 + sta $783,X ; 5 + lda #$00 ; 2 + sta $784,X ; 5 + lda #$00 ; 2 + sta $785,X ; 5 + lda #$00 ; 2 + sta $786,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $780,X ; 5 + +; 56 + bit PAGE0 ; 4 +smc056: ldx #$00 ; 2 + lda #$00 ; 2 + sta $b80,X ; 5 + lda #$00 ; 2 + sta $b81,X ; 5 + lda #$00 ; 2 + sta $b82,X ; 5 + lda #$00 ; 2 + sta $b83,X ; 5 + lda #$00 ; 2 + sta $b84,X ; 5 + lda #$00 ; 2 + sta $b85,X ; 5 + lda #$00 ; 2 + sta $b86,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $b80,X ; 5 + +; 57 + bit PAGE1 ; 4 +smc057: ldx #$00 ; 2 + lda #$00 ; 2 + sta $780,X ; 5 + lda #$00 ; 2 + sta $781,X ; 5 + lda #$00 ; 2 + sta $782,X ; 5 + lda #$00 ; 2 + sta $783,X ; 5 + lda #$00 ; 2 + sta $784,X ; 5 + lda #$00 ; 2 + sta $785,X ; 5 + lda #$00 ; 2 + sta $786,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $780,X ; 5 + +; 58 + bit PAGE0 ; 4 +smc058: ldx #$00 ; 2 + lda #$00 ; 2 + sta $b80,X ; 5 + lda #$00 ; 2 + sta $b81,X ; 5 + lda #$00 ; 2 + sta $b82,X ; 5 + lda #$00 ; 2 + sta $b83,X ; 5 + lda #$00 ; 2 + sta $b84,X ; 5 + lda #$00 ; 2 + sta $b85,X ; 5 + lda #$00 ; 2 + sta $b86,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $b80,X ; 5 + +; 59 + bit PAGE1 ; 4 +smc059: ldx #$00 ; 2 + lda #$00 ; 2 + sta $780,X ; 5 + lda #$00 ; 2 + sta $781,X ; 5 + lda #$00 ; 2 + sta $782,X ; 5 + lda #$00 ; 2 + sta $783,X ; 5 + lda #$00 ; 2 + sta $784,X ; 5 + lda #$00 ; 2 + sta $785,X ; 5 + lda #$00 ; 2 + sta $786,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $780,X ; 5 + +; 60 + bit PAGE0 ; 4 +smc060: ldx #$00 ; 2 + lda #$00 ; 2 + sta $b80,X ; 5 + lda #$00 ; 2 + sta $b81,X ; 5 + lda #$00 ; 2 + sta $b82,X ; 5 + lda #$00 ; 2 + sta $b83,X ; 5 + lda #$00 ; 2 + sta $b84,X ; 5 + lda #$00 ; 2 + sta $b85,X ; 5 + lda #$00 ; 2 + sta $b86,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $b80,X ; 5 + +; 61 + bit PAGE1 ; 4 +smc061: ldx #$00 ; 2 + lda #$00 ; 2 + sta $780,X ; 5 + lda #$00 ; 2 + sta $781,X ; 5 + lda #$00 ; 2 + sta $782,X ; 5 + lda #$00 ; 2 + sta $783,X ; 5 + lda #$00 ; 2 + sta $784,X ; 5 + lda #$00 ; 2 + sta $785,X ; 5 + lda #$00 ; 2 + sta $786,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $780,X ; 5 + +; 62 + bit PAGE0 ; 4 +smc062: ldx #$00 ; 2 + lda #$00 ; 2 + sta $b80,X ; 5 + lda #$00 ; 2 + sta $b81,X ; 5 + lda #$00 ; 2 + sta $b82,X ; 5 + lda #$00 ; 2 + sta $b83,X ; 5 + lda #$00 ; 2 + sta $b84,X ; 5 + lda #$00 ; 2 + sta $b85,X ; 5 + lda #$00 ; 2 + sta $b86,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $b80,X ; 5 + +; 63 + bit PAGE1 ; 4 +smc063: ldx #$00 ; 2 + lda #$00 ; 2 + sta $428,X ; 5 + lda #$00 ; 2 + sta $429,X ; 5 + lda #$00 ; 2 + sta $42a,X ; 5 + lda #$00 ; 2 + sta $42b,X ; 5 + lda #$00 ; 2 + sta $42c,X ; 5 + lda #$00 ; 2 + sta $42d,X ; 5 + lda #$00 ; 2 + sta $42e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $428,X ; 5 + +; 64 + bit PAGE0 ; 4 +smc064: ldx #$00 ; 2 + lda #$00 ; 2 + sta $828,X ; 5 + lda #$00 ; 2 + sta $829,X ; 5 + lda #$00 ; 2 + sta $82a,X ; 5 + lda #$00 ; 2 + sta $82b,X ; 5 + lda #$00 ; 2 + sta $82c,X ; 5 + lda #$00 ; 2 + sta $82d,X ; 5 + lda #$00 ; 2 + sta $82e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $828,X ; 5 + +; 65 + bit PAGE1 ; 4 +smc065: ldx #$00 ; 2 + lda #$00 ; 2 + sta $428,X ; 5 + lda #$00 ; 2 + sta $429,X ; 5 + lda #$00 ; 2 + sta $42a,X ; 5 + lda #$00 ; 2 + sta $42b,X ; 5 + lda #$00 ; 2 + sta $42c,X ; 5 + lda #$00 ; 2 + sta $42d,X ; 5 + lda #$00 ; 2 + sta $42e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $428,X ; 5 + +; 66 + bit PAGE0 ; 4 +smc066: ldx #$00 ; 2 + lda #$00 ; 2 + sta $828,X ; 5 + lda #$00 ; 2 + sta $829,X ; 5 + lda #$00 ; 2 + sta $82a,X ; 5 + lda #$00 ; 2 + sta $82b,X ; 5 + lda #$00 ; 2 + sta $82c,X ; 5 + lda #$00 ; 2 + sta $82d,X ; 5 + lda #$00 ; 2 + sta $82e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $828,X ; 5 + +; 67 + bit PAGE1 ; 4 +smc067: ldx #$00 ; 2 + lda #$00 ; 2 + sta $428,X ; 5 + lda #$00 ; 2 + sta $429,X ; 5 + lda #$00 ; 2 + sta $42a,X ; 5 + lda #$00 ; 2 + sta $42b,X ; 5 + lda #$00 ; 2 + sta $42c,X ; 5 + lda #$00 ; 2 + sta $42d,X ; 5 + lda #$00 ; 2 + sta $42e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $428,X ; 5 + +; 68 + bit PAGE0 ; 4 +smc068: ldx #$00 ; 2 + lda #$00 ; 2 + sta $828,X ; 5 + lda #$00 ; 2 + sta $829,X ; 5 + lda #$00 ; 2 + sta $82a,X ; 5 + lda #$00 ; 2 + sta $82b,X ; 5 + lda #$00 ; 2 + sta $82c,X ; 5 + lda #$00 ; 2 + sta $82d,X ; 5 + lda #$00 ; 2 + sta $82e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $828,X ; 5 + +; 69 + bit PAGE1 ; 4 +smc069: ldx #$00 ; 2 + lda #$00 ; 2 + sta $428,X ; 5 + lda #$00 ; 2 + sta $429,X ; 5 + lda #$00 ; 2 + sta $42a,X ; 5 + lda #$00 ; 2 + sta $42b,X ; 5 + lda #$00 ; 2 + sta $42c,X ; 5 + lda #$00 ; 2 + sta $42d,X ; 5 + lda #$00 ; 2 + sta $42e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $428,X ; 5 + +; 70 + bit PAGE0 ; 4 +smc070: ldx #$00 ; 2 + lda #$00 ; 2 + sta $828,X ; 5 + lda #$00 ; 2 + sta $829,X ; 5 + lda #$00 ; 2 + sta $82a,X ; 5 + lda #$00 ; 2 + sta $82b,X ; 5 + lda #$00 ; 2 + sta $82c,X ; 5 + lda #$00 ; 2 + sta $82d,X ; 5 + lda #$00 ; 2 + sta $82e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $828,X ; 5 + +; 71 + bit PAGE1 ; 4 +smc071: ldx #$00 ; 2 + lda #$00 ; 2 + sta $4a8,X ; 5 + lda #$00 ; 2 + sta $4a9,X ; 5 + lda #$00 ; 2 + sta $4aa,X ; 5 + lda #$00 ; 2 + sta $4ab,X ; 5 + lda #$00 ; 2 + sta $4ac,X ; 5 + lda #$00 ; 2 + sta $4ad,X ; 5 + lda #$00 ; 2 + sta $4ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $4a8,X ; 5 + +; 72 + bit PAGE0 ; 4 +smc072: ldx #$00 ; 2 + lda #$00 ; 2 + sta $8a8,X ; 5 + lda #$00 ; 2 + sta $8a9,X ; 5 + lda #$00 ; 2 + sta $8aa,X ; 5 + lda #$00 ; 2 + sta $8ab,X ; 5 + lda #$00 ; 2 + sta $8ac,X ; 5 + lda #$00 ; 2 + sta $8ad,X ; 5 + lda #$00 ; 2 + sta $8ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $8a8,X ; 5 + +; 73 + bit PAGE1 ; 4 +smc073: ldx #$00 ; 2 + lda #$00 ; 2 + sta $4a8,X ; 5 + lda #$00 ; 2 + sta $4a9,X ; 5 + lda #$00 ; 2 + sta $4aa,X ; 5 + lda #$00 ; 2 + sta $4ab,X ; 5 + lda #$00 ; 2 + sta $4ac,X ; 5 + lda #$00 ; 2 + sta $4ad,X ; 5 + lda #$00 ; 2 + sta $4ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $4a8,X ; 5 + +; 74 + bit PAGE0 ; 4 +smc074: ldx #$00 ; 2 + lda #$00 ; 2 + sta $8a8,X ; 5 + lda #$00 ; 2 + sta $8a9,X ; 5 + lda #$00 ; 2 + sta $8aa,X ; 5 + lda #$00 ; 2 + sta $8ab,X ; 5 + lda #$00 ; 2 + sta $8ac,X ; 5 + lda #$00 ; 2 + sta $8ad,X ; 5 + lda #$00 ; 2 + sta $8ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $8a8,X ; 5 + +; 75 + bit PAGE1 ; 4 +smc075: ldx #$00 ; 2 + lda #$00 ; 2 + sta $4a8,X ; 5 + lda #$00 ; 2 + sta $4a9,X ; 5 + lda #$00 ; 2 + sta $4aa,X ; 5 + lda #$00 ; 2 + sta $4ab,X ; 5 + lda #$00 ; 2 + sta $4ac,X ; 5 + lda #$00 ; 2 + sta $4ad,X ; 5 + lda #$00 ; 2 + sta $4ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $4a8,X ; 5 + +; 76 + bit PAGE0 ; 4 +smc076: ldx #$00 ; 2 + lda #$00 ; 2 + sta $8a8,X ; 5 + lda #$00 ; 2 + sta $8a9,X ; 5 + lda #$00 ; 2 + sta $8aa,X ; 5 + lda #$00 ; 2 + sta $8ab,X ; 5 + lda #$00 ; 2 + sta $8ac,X ; 5 + lda #$00 ; 2 + sta $8ad,X ; 5 + lda #$00 ; 2 + sta $8ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $8a8,X ; 5 + +; 77 + bit PAGE1 ; 4 +smc077: ldx #$00 ; 2 + lda #$00 ; 2 + sta $4a8,X ; 5 + lda #$00 ; 2 + sta $4a9,X ; 5 + lda #$00 ; 2 + sta $4aa,X ; 5 + lda #$00 ; 2 + sta $4ab,X ; 5 + lda #$00 ; 2 + sta $4ac,X ; 5 + lda #$00 ; 2 + sta $4ad,X ; 5 + lda #$00 ; 2 + sta $4ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $4a8,X ; 5 + +; 78 + bit PAGE0 ; 4 +smc078: ldx #$00 ; 2 + lda #$00 ; 2 + sta $8a8,X ; 5 + lda #$00 ; 2 + sta $8a9,X ; 5 + lda #$00 ; 2 + sta $8aa,X ; 5 + lda #$00 ; 2 + sta $8ab,X ; 5 + lda #$00 ; 2 + sta $8ac,X ; 5 + lda #$00 ; 2 + sta $8ad,X ; 5 + lda #$00 ; 2 + sta $8ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $8a8,X ; 5 + +; 79 + bit PAGE1 ; 4 +smc079: ldx #$00 ; 2 + lda #$00 ; 2 + sta $528,X ; 5 + lda #$00 ; 2 + sta $529,X ; 5 + lda #$00 ; 2 + sta $52a,X ; 5 + lda #$00 ; 2 + sta $52b,X ; 5 + lda #$00 ; 2 + sta $52c,X ; 5 + lda #$00 ; 2 + sta $52d,X ; 5 + lda #$00 ; 2 + sta $52e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $528,X ; 5 + +; 80 + bit PAGE0 ; 4 +smc080: ldx #$00 ; 2 + lda #$00 ; 2 + sta $928,X ; 5 + lda #$00 ; 2 + sta $929,X ; 5 + lda #$00 ; 2 + sta $92a,X ; 5 + lda #$00 ; 2 + sta $92b,X ; 5 + lda #$00 ; 2 + sta $92c,X ; 5 + lda #$00 ; 2 + sta $92d,X ; 5 + lda #$00 ; 2 + sta $92e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $928,X ; 5 + +; 81 + bit PAGE1 ; 4 +smc081: ldx #$00 ; 2 + lda #$00 ; 2 + sta $528,X ; 5 + lda #$00 ; 2 + sta $529,X ; 5 + lda #$00 ; 2 + sta $52a,X ; 5 + lda #$00 ; 2 + sta $52b,X ; 5 + lda #$00 ; 2 + sta $52c,X ; 5 + lda #$00 ; 2 + sta $52d,X ; 5 + lda #$00 ; 2 + sta $52e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $528,X ; 5 + +; 82 + bit PAGE0 ; 4 +smc082: ldx #$00 ; 2 + lda #$00 ; 2 + sta $928,X ; 5 + lda #$00 ; 2 + sta $929,X ; 5 + lda #$00 ; 2 + sta $92a,X ; 5 + lda #$00 ; 2 + sta $92b,X ; 5 + lda #$00 ; 2 + sta $92c,X ; 5 + lda #$00 ; 2 + sta $92d,X ; 5 + lda #$00 ; 2 + sta $92e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $928,X ; 5 + +; 83 + bit PAGE1 ; 4 +smc083: ldx #$00 ; 2 + lda #$00 ; 2 + sta $528,X ; 5 + lda #$00 ; 2 + sta $529,X ; 5 + lda #$00 ; 2 + sta $52a,X ; 5 + lda #$00 ; 2 + sta $52b,X ; 5 + lda #$00 ; 2 + sta $52c,X ; 5 + lda #$00 ; 2 + sta $52d,X ; 5 + lda #$00 ; 2 + sta $52e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $528,X ; 5 + +; 84 + bit PAGE0 ; 4 +smc084: ldx #$00 ; 2 + lda #$00 ; 2 + sta $928,X ; 5 + lda #$00 ; 2 + sta $929,X ; 5 + lda #$00 ; 2 + sta $92a,X ; 5 + lda #$00 ; 2 + sta $92b,X ; 5 + lda #$00 ; 2 + sta $92c,X ; 5 + lda #$00 ; 2 + sta $92d,X ; 5 + lda #$00 ; 2 + sta $92e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $928,X ; 5 + +; 85 + bit PAGE1 ; 4 +smc085: ldx #$00 ; 2 + lda #$00 ; 2 + sta $528,X ; 5 + lda #$00 ; 2 + sta $529,X ; 5 + lda #$00 ; 2 + sta $52a,X ; 5 + lda #$00 ; 2 + sta $52b,X ; 5 + lda #$00 ; 2 + sta $52c,X ; 5 + lda #$00 ; 2 + sta $52d,X ; 5 + lda #$00 ; 2 + sta $52e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $528,X ; 5 + +; 86 + bit PAGE0 ; 4 +smc086: ldx #$00 ; 2 + lda #$00 ; 2 + sta $928,X ; 5 + lda #$00 ; 2 + sta $929,X ; 5 + lda #$00 ; 2 + sta $92a,X ; 5 + lda #$00 ; 2 + sta $92b,X ; 5 + lda #$00 ; 2 + sta $92c,X ; 5 + lda #$00 ; 2 + sta $92d,X ; 5 + lda #$00 ; 2 + sta $92e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $928,X ; 5 + +; 87 + bit PAGE1 ; 4 +smc087: ldx #$00 ; 2 + lda #$00 ; 2 + sta $5a8,X ; 5 + lda #$00 ; 2 + sta $5a9,X ; 5 + lda #$00 ; 2 + sta $5aa,X ; 5 + lda #$00 ; 2 + sta $5ab,X ; 5 + lda #$00 ; 2 + sta $5ac,X ; 5 + lda #$00 ; 2 + sta $5ad,X ; 5 + lda #$00 ; 2 + sta $5ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $5a8,X ; 5 + +; 88 + bit PAGE0 ; 4 +smc088: ldx #$00 ; 2 + lda #$00 ; 2 + sta $9a8,X ; 5 + lda #$00 ; 2 + sta $9a9,X ; 5 + lda #$00 ; 2 + sta $9aa,X ; 5 + lda #$00 ; 2 + sta $9ab,X ; 5 + lda #$00 ; 2 + sta $9ac,X ; 5 + lda #$00 ; 2 + sta $9ad,X ; 5 + lda #$00 ; 2 + sta $9ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $9a8,X ; 5 + +; 89 + bit PAGE1 ; 4 +smc089: ldx #$00 ; 2 + lda #$00 ; 2 + sta $5a8,X ; 5 + lda #$00 ; 2 + sta $5a9,X ; 5 + lda #$00 ; 2 + sta $5aa,X ; 5 + lda #$00 ; 2 + sta $5ab,X ; 5 + lda #$00 ; 2 + sta $5ac,X ; 5 + lda #$00 ; 2 + sta $5ad,X ; 5 + lda #$00 ; 2 + sta $5ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $5a8,X ; 5 + +; 90 + bit PAGE0 ; 4 +smc090: ldx #$00 ; 2 + lda #$00 ; 2 + sta $9a8,X ; 5 + lda #$00 ; 2 + sta $9a9,X ; 5 + lda #$00 ; 2 + sta $9aa,X ; 5 + lda #$00 ; 2 + sta $9ab,X ; 5 + lda #$00 ; 2 + sta $9ac,X ; 5 + lda #$00 ; 2 + sta $9ad,X ; 5 + lda #$00 ; 2 + sta $9ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $9a8,X ; 5 + +; 91 + bit PAGE1 ; 4 +smc091: ldx #$00 ; 2 + lda #$00 ; 2 + sta $5a8,X ; 5 + lda #$00 ; 2 + sta $5a9,X ; 5 + lda #$00 ; 2 + sta $5aa,X ; 5 + lda #$00 ; 2 + sta $5ab,X ; 5 + lda #$00 ; 2 + sta $5ac,X ; 5 + lda #$00 ; 2 + sta $5ad,X ; 5 + lda #$00 ; 2 + sta $5ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $5a8,X ; 5 + +; 92 + bit PAGE0 ; 4 +smc092: ldx #$00 ; 2 + lda #$00 ; 2 + sta $9a8,X ; 5 + lda #$00 ; 2 + sta $9a9,X ; 5 + lda #$00 ; 2 + sta $9aa,X ; 5 + lda #$00 ; 2 + sta $9ab,X ; 5 + lda #$00 ; 2 + sta $9ac,X ; 5 + lda #$00 ; 2 + sta $9ad,X ; 5 + lda #$00 ; 2 + sta $9ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $9a8,X ; 5 + +; 93 + bit PAGE1 ; 4 +smc093: ldx #$00 ; 2 + lda #$00 ; 2 + sta $5a8,X ; 5 + lda #$00 ; 2 + sta $5a9,X ; 5 + lda #$00 ; 2 + sta $5aa,X ; 5 + lda #$00 ; 2 + sta $5ab,X ; 5 + lda #$00 ; 2 + sta $5ac,X ; 5 + lda #$00 ; 2 + sta $5ad,X ; 5 + lda #$00 ; 2 + sta $5ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $5a8,X ; 5 + +; 94 + bit PAGE0 ; 4 +smc094: ldx #$00 ; 2 + lda #$00 ; 2 + sta $9a8,X ; 5 + lda #$00 ; 2 + sta $9a9,X ; 5 + lda #$00 ; 2 + sta $9aa,X ; 5 + lda #$00 ; 2 + sta $9ab,X ; 5 + lda #$00 ; 2 + sta $9ac,X ; 5 + lda #$00 ; 2 + sta $9ad,X ; 5 + lda #$00 ; 2 + sta $9ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $9a8,X ; 5 + +; 95 + bit PAGE1 ; 4 +smc095: ldx #$00 ; 2 + lda #$00 ; 2 + sta $628,X ; 5 + lda #$00 ; 2 + sta $629,X ; 5 + lda #$00 ; 2 + sta $62a,X ; 5 + lda #$00 ; 2 + sta $62b,X ; 5 + lda #$00 ; 2 + sta $62c,X ; 5 + lda #$00 ; 2 + sta $62d,X ; 5 + lda #$00 ; 2 + sta $62e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $628,X ; 5 + +; 96 + bit PAGE0 ; 4 +smc096: ldx #$00 ; 2 + lda #$00 ; 2 + sta $a28,X ; 5 + lda #$00 ; 2 + sta $a29,X ; 5 + lda #$00 ; 2 + sta $a2a,X ; 5 + lda #$00 ; 2 + sta $a2b,X ; 5 + lda #$00 ; 2 + sta $a2c,X ; 5 + lda #$00 ; 2 + sta $a2d,X ; 5 + lda #$00 ; 2 + sta $a2e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $a28,X ; 5 + +; 97 + bit PAGE1 ; 4 +smc097: ldx #$00 ; 2 + lda #$00 ; 2 + sta $628,X ; 5 + lda #$00 ; 2 + sta $629,X ; 5 + lda #$00 ; 2 + sta $62a,X ; 5 + lda #$00 ; 2 + sta $62b,X ; 5 + lda #$00 ; 2 + sta $62c,X ; 5 + lda #$00 ; 2 + sta $62d,X ; 5 + lda #$00 ; 2 + sta $62e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $628,X ; 5 + +; 98 + bit PAGE0 ; 4 +smc098: ldx #$00 ; 2 + lda #$00 ; 2 + sta $a28,X ; 5 + lda #$00 ; 2 + sta $a29,X ; 5 + lda #$00 ; 2 + sta $a2a,X ; 5 + lda #$00 ; 2 + sta $a2b,X ; 5 + lda #$00 ; 2 + sta $a2c,X ; 5 + lda #$00 ; 2 + sta $a2d,X ; 5 + lda #$00 ; 2 + sta $a2e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $a28,X ; 5 + +; 99 + bit PAGE1 ; 4 +smc099: ldx #$00 ; 2 + lda #$00 ; 2 + sta $628,X ; 5 + lda #$00 ; 2 + sta $629,X ; 5 + lda #$00 ; 2 + sta $62a,X ; 5 + lda #$00 ; 2 + sta $62b,X ; 5 + lda #$00 ; 2 + sta $62c,X ; 5 + lda #$00 ; 2 + sta $62d,X ; 5 + lda #$00 ; 2 + sta $62e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $628,X ; 5 + +; 100 + bit PAGE0 ; 4 +smc100: ldx #$00 ; 2 + lda #$00 ; 2 + sta $a28,X ; 5 + lda #$00 ; 2 + sta $a29,X ; 5 + lda #$00 ; 2 + sta $a2a,X ; 5 + lda #$00 ; 2 + sta $a2b,X ; 5 + lda #$00 ; 2 + sta $a2c,X ; 5 + lda #$00 ; 2 + sta $a2d,X ; 5 + lda #$00 ; 2 + sta $a2e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $a28,X ; 5 + +; 101 + bit PAGE1 ; 4 +smc101: ldx #$00 ; 2 + lda #$00 ; 2 + sta $628,X ; 5 + lda #$00 ; 2 + sta $629,X ; 5 + lda #$00 ; 2 + sta $62a,X ; 5 + lda #$00 ; 2 + sta $62b,X ; 5 + lda #$00 ; 2 + sta $62c,X ; 5 + lda #$00 ; 2 + sta $62d,X ; 5 + lda #$00 ; 2 + sta $62e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $628,X ; 5 + +; 102 + bit PAGE0 ; 4 +smc102: ldx #$00 ; 2 + lda #$00 ; 2 + sta $a28,X ; 5 + lda #$00 ; 2 + sta $a29,X ; 5 + lda #$00 ; 2 + sta $a2a,X ; 5 + lda #$00 ; 2 + sta $a2b,X ; 5 + lda #$00 ; 2 + sta $a2c,X ; 5 + lda #$00 ; 2 + sta $a2d,X ; 5 + lda #$00 ; 2 + sta $a2e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $a28,X ; 5 + +; 103 + bit PAGE1 ; 4 +smc103: ldx #$00 ; 2 + lda #$00 ; 2 + sta $6a8,X ; 5 + lda #$00 ; 2 + sta $6a9,X ; 5 + lda #$00 ; 2 + sta $6aa,X ; 5 + lda #$00 ; 2 + sta $6ab,X ; 5 + lda #$00 ; 2 + sta $6ac,X ; 5 + lda #$00 ; 2 + sta $6ad,X ; 5 + lda #$00 ; 2 + sta $6ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $6a8,X ; 5 + +; 104 + bit PAGE0 ; 4 +smc104: ldx #$00 ; 2 + lda #$00 ; 2 + sta $aa8,X ; 5 + lda #$00 ; 2 + sta $aa9,X ; 5 + lda #$00 ; 2 + sta $aaa,X ; 5 + lda #$00 ; 2 + sta $aab,X ; 5 + lda #$00 ; 2 + sta $aac,X ; 5 + lda #$00 ; 2 + sta $aad,X ; 5 + lda #$00 ; 2 + sta $aae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $aa8,X ; 5 + +; 105 + bit PAGE1 ; 4 +smc105: ldx #$00 ; 2 + lda #$00 ; 2 + sta $6a8,X ; 5 + lda #$00 ; 2 + sta $6a9,X ; 5 + lda #$00 ; 2 + sta $6aa,X ; 5 + lda #$00 ; 2 + sta $6ab,X ; 5 + lda #$00 ; 2 + sta $6ac,X ; 5 + lda #$00 ; 2 + sta $6ad,X ; 5 + lda #$00 ; 2 + sta $6ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $6a8,X ; 5 + +; 106 + bit PAGE0 ; 4 +smc106: ldx #$00 ; 2 + lda #$00 ; 2 + sta $aa8,X ; 5 + lda #$00 ; 2 + sta $aa9,X ; 5 + lda #$00 ; 2 + sta $aaa,X ; 5 + lda #$00 ; 2 + sta $aab,X ; 5 + lda #$00 ; 2 + sta $aac,X ; 5 + lda #$00 ; 2 + sta $aad,X ; 5 + lda #$00 ; 2 + sta $aae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $aa8,X ; 5 + +; 107 + bit PAGE1 ; 4 +smc107: ldx #$00 ; 2 + lda #$00 ; 2 + sta $6a8,X ; 5 + lda #$00 ; 2 + sta $6a9,X ; 5 + lda #$00 ; 2 + sta $6aa,X ; 5 + lda #$00 ; 2 + sta $6ab,X ; 5 + lda #$00 ; 2 + sta $6ac,X ; 5 + lda #$00 ; 2 + sta $6ad,X ; 5 + lda #$00 ; 2 + sta $6ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $6a8,X ; 5 + +; 108 + bit PAGE0 ; 4 +smc108: ldx #$00 ; 2 + lda #$00 ; 2 + sta $aa8,X ; 5 + lda #$00 ; 2 + sta $aa9,X ; 5 + lda #$00 ; 2 + sta $aaa,X ; 5 + lda #$00 ; 2 + sta $aab,X ; 5 + lda #$00 ; 2 + sta $aac,X ; 5 + lda #$00 ; 2 + sta $aad,X ; 5 + lda #$00 ; 2 + sta $aae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $aa8,X ; 5 + +; 109 + bit PAGE1 ; 4 +smc109: ldx #$00 ; 2 + lda #$00 ; 2 + sta $6a8,X ; 5 + lda #$00 ; 2 + sta $6a9,X ; 5 + lda #$00 ; 2 + sta $6aa,X ; 5 + lda #$00 ; 2 + sta $6ab,X ; 5 + lda #$00 ; 2 + sta $6ac,X ; 5 + lda #$00 ; 2 + sta $6ad,X ; 5 + lda #$00 ; 2 + sta $6ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $6a8,X ; 5 + +; 110 + bit PAGE0 ; 4 +smc110: ldx #$00 ; 2 + lda #$00 ; 2 + sta $aa8,X ; 5 + lda #$00 ; 2 + sta $aa9,X ; 5 + lda #$00 ; 2 + sta $aaa,X ; 5 + lda #$00 ; 2 + sta $aab,X ; 5 + lda #$00 ; 2 + sta $aac,X ; 5 + lda #$00 ; 2 + sta $aad,X ; 5 + lda #$00 ; 2 + sta $aae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $aa8,X ; 5 + +; 111 + bit PAGE1 ; 4 +smc111: ldx #$00 ; 2 + lda #$00 ; 2 + sta $728,X ; 5 + lda #$00 ; 2 + sta $729,X ; 5 + lda #$00 ; 2 + sta $72a,X ; 5 + lda #$00 ; 2 + sta $72b,X ; 5 + lda #$00 ; 2 + sta $72c,X ; 5 + lda #$00 ; 2 + sta $72d,X ; 5 + lda #$00 ; 2 + sta $72e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $728,X ; 5 + +; 112 + bit PAGE0 ; 4 +smc112: ldx #$00 ; 2 + lda #$00 ; 2 + sta $b28,X ; 5 + lda #$00 ; 2 + sta $b29,X ; 5 + lda #$00 ; 2 + sta $b2a,X ; 5 + lda #$00 ; 2 + sta $b2b,X ; 5 + lda #$00 ; 2 + sta $b2c,X ; 5 + lda #$00 ; 2 + sta $b2d,X ; 5 + lda #$00 ; 2 + sta $b2e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $b28,X ; 5 + +; 113 + bit PAGE1 ; 4 +smc113: ldx #$00 ; 2 + lda #$00 ; 2 + sta $728,X ; 5 + lda #$00 ; 2 + sta $729,X ; 5 + lda #$00 ; 2 + sta $72a,X ; 5 + lda #$00 ; 2 + sta $72b,X ; 5 + lda #$00 ; 2 + sta $72c,X ; 5 + lda #$00 ; 2 + sta $72d,X ; 5 + lda #$00 ; 2 + sta $72e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $728,X ; 5 + +; 114 + bit PAGE0 ; 4 +smc114: ldx #$00 ; 2 + lda #$00 ; 2 + sta $b28,X ; 5 + lda #$00 ; 2 + sta $b29,X ; 5 + lda #$00 ; 2 + sta $b2a,X ; 5 + lda #$00 ; 2 + sta $b2b,X ; 5 + lda #$00 ; 2 + sta $b2c,X ; 5 + lda #$00 ; 2 + sta $b2d,X ; 5 + lda #$00 ; 2 + sta $b2e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $b28,X ; 5 + +; 115 + bit PAGE1 ; 4 +smc115: ldx #$00 ; 2 + lda #$00 ; 2 + sta $728,X ; 5 + lda #$00 ; 2 + sta $729,X ; 5 + lda #$00 ; 2 + sta $72a,X ; 5 + lda #$00 ; 2 + sta $72b,X ; 5 + lda #$00 ; 2 + sta $72c,X ; 5 + lda #$00 ; 2 + sta $72d,X ; 5 + lda #$00 ; 2 + sta $72e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $728,X ; 5 + +; 116 + bit PAGE0 ; 4 +smc116: ldx #$00 ; 2 + lda #$00 ; 2 + sta $b28,X ; 5 + lda #$00 ; 2 + sta $b29,X ; 5 + lda #$00 ; 2 + sta $b2a,X ; 5 + lda #$00 ; 2 + sta $b2b,X ; 5 + lda #$00 ; 2 + sta $b2c,X ; 5 + lda #$00 ; 2 + sta $b2d,X ; 5 + lda #$00 ; 2 + sta $b2e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $b28,X ; 5 + +; 117 + bit PAGE1 ; 4 +smc117: ldx #$00 ; 2 + lda #$00 ; 2 + sta $728,X ; 5 + lda #$00 ; 2 + sta $729,X ; 5 + lda #$00 ; 2 + sta $72a,X ; 5 + lda #$00 ; 2 + sta $72b,X ; 5 + lda #$00 ; 2 + sta $72c,X ; 5 + lda #$00 ; 2 + sta $72d,X ; 5 + lda #$00 ; 2 + sta $72e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $728,X ; 5 + +; 118 + bit PAGE0 ; 4 +smc118: ldx #$00 ; 2 + lda #$00 ; 2 + sta $b28,X ; 5 + lda #$00 ; 2 + sta $b29,X ; 5 + lda #$00 ; 2 + sta $b2a,X ; 5 + lda #$00 ; 2 + sta $b2b,X ; 5 + lda #$00 ; 2 + sta $b2c,X ; 5 + lda #$00 ; 2 + sta $b2d,X ; 5 + lda #$00 ; 2 + sta $b2e,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $b28,X ; 5 + +; 119 + bit PAGE1 ; 4 +smc119: ldx #$00 ; 2 + lda #$00 ; 2 + sta $7a8,X ; 5 + lda #$00 ; 2 + sta $7a9,X ; 5 + lda #$00 ; 2 + sta $7aa,X ; 5 + lda #$00 ; 2 + sta $7ab,X ; 5 + lda #$00 ; 2 + sta $7ac,X ; 5 + lda #$00 ; 2 + sta $7ad,X ; 5 + lda #$00 ; 2 + sta $7ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $7a8,X ; 5 + +; 120 + bit PAGE0 ; 4 +smc120: ldx #$00 ; 2 + lda #$00 ; 2 + sta $ba8,X ; 5 + lda #$00 ; 2 + sta $ba9,X ; 5 + lda #$00 ; 2 + sta $baa,X ; 5 + lda #$00 ; 2 + sta $bab,X ; 5 + lda #$00 ; 2 + sta $bac,X ; 5 + lda #$00 ; 2 + sta $bad,X ; 5 + lda #$00 ; 2 + sta $bae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $ba8,X ; 5 + +; 121 + bit PAGE1 ; 4 +smc121: ldx #$00 ; 2 + lda #$00 ; 2 + sta $7a8,X ; 5 + lda #$00 ; 2 + sta $7a9,X ; 5 + lda #$00 ; 2 + sta $7aa,X ; 5 + lda #$00 ; 2 + sta $7ab,X ; 5 + lda #$00 ; 2 + sta $7ac,X ; 5 + lda #$00 ; 2 + sta $7ad,X ; 5 + lda #$00 ; 2 + sta $7ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $7a8,X ; 5 + +; 122 + bit PAGE0 ; 4 +smc122: ldx #$00 ; 2 + lda #$00 ; 2 + sta $ba8,X ; 5 + lda #$00 ; 2 + sta $ba9,X ; 5 + lda #$00 ; 2 + sta $baa,X ; 5 + lda #$00 ; 2 + sta $bab,X ; 5 + lda #$00 ; 2 + sta $bac,X ; 5 + lda #$00 ; 2 + sta $bad,X ; 5 + lda #$00 ; 2 + sta $bae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $ba8,X ; 5 + +; 123 + bit PAGE1 ; 4 +smc123: ldx #$00 ; 2 + lda #$00 ; 2 + sta $7a8,X ; 5 + lda #$00 ; 2 + sta $7a9,X ; 5 + lda #$00 ; 2 + sta $7aa,X ; 5 + lda #$00 ; 2 + sta $7ab,X ; 5 + lda #$00 ; 2 + sta $7ac,X ; 5 + lda #$00 ; 2 + sta $7ad,X ; 5 + lda #$00 ; 2 + sta $7ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $7a8,X ; 5 + +; 124 + bit PAGE0 ; 4 +smc124: ldx #$00 ; 2 + lda #$00 ; 2 + sta $ba8,X ; 5 + lda #$00 ; 2 + sta $ba9,X ; 5 + lda #$00 ; 2 + sta $baa,X ; 5 + lda #$00 ; 2 + sta $bab,X ; 5 + lda #$00 ; 2 + sta $bac,X ; 5 + lda #$00 ; 2 + sta $bad,X ; 5 + lda #$00 ; 2 + sta $bae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $ba8,X ; 5 + +; 125 + bit PAGE1 ; 4 +smc125: ldx #$00 ; 2 + lda #$00 ; 2 + sta $7a8,X ; 5 + lda #$00 ; 2 + sta $7a9,X ; 5 + lda #$00 ; 2 + sta $7aa,X ; 5 + lda #$00 ; 2 + sta $7ab,X ; 5 + lda #$00 ; 2 + sta $7ac,X ; 5 + lda #$00 ; 2 + sta $7ad,X ; 5 + lda #$00 ; 2 + sta $7ae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $7a8,X ; 5 + +; 126 + bit PAGE0 ; 4 +smc126: ldx #$00 ; 2 + lda #$00 ; 2 + sta $ba8,X ; 5 + lda #$00 ; 2 + sta $ba9,X ; 5 + lda #$00 ; 2 + sta $baa,X ; 5 + lda #$00 ; 2 + sta $bab,X ; 5 + lda #$00 ; 2 + sta $bac,X ; 5 + lda #$00 ; 2 + sta $bad,X ; 5 + lda #$00 ; 2 + sta $bae,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $ba8,X ; 5 + +; 127 + bit PAGE1 ; 4 +smc127: ldx #$00 ; 2 + lda #$00 ; 2 + sta $450,X ; 5 + lda #$00 ; 2 + sta $451,X ; 5 + lda #$00 ; 2 + sta $452,X ; 5 + lda #$00 ; 2 + sta $453,X ; 5 + lda #$00 ; 2 + sta $454,X ; 5 + lda #$00 ; 2 + sta $455,X ; 5 + lda #$00 ; 2 + sta $456,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $450,X ; 5 + +; 128 + bit PAGE0 ; 4 +smc128: ldx #$00 ; 2 + lda #$00 ; 2 + sta $850,X ; 5 + lda #$00 ; 2 + sta $851,X ; 5 + lda #$00 ; 2 + sta $852,X ; 5 + lda #$00 ; 2 + sta $853,X ; 5 + lda #$00 ; 2 + sta $854,X ; 5 + lda #$00 ; 2 + sta $855,X ; 5 + lda #$00 ; 2 + sta $856,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $850,X ; 5 + +; 129 + bit PAGE1 ; 4 +smc129: ldx #$00 ; 2 + lda #$00 ; 2 + sta $450,X ; 5 + lda #$00 ; 2 + sta $451,X ; 5 + lda #$00 ; 2 + sta $452,X ; 5 + lda #$00 ; 2 + sta $453,X ; 5 + lda #$00 ; 2 + sta $454,X ; 5 + lda #$00 ; 2 + sta $455,X ; 5 + lda #$00 ; 2 + sta $456,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $450,X ; 5 + +; 130 + bit PAGE0 ; 4 +smc130: ldx #$00 ; 2 + lda #$00 ; 2 + sta $850,X ; 5 + lda #$00 ; 2 + sta $851,X ; 5 + lda #$00 ; 2 + sta $852,X ; 5 + lda #$00 ; 2 + sta $853,X ; 5 + lda #$00 ; 2 + sta $854,X ; 5 + lda #$00 ; 2 + sta $855,X ; 5 + lda #$00 ; 2 + sta $856,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $850,X ; 5 + +; 131 + bit PAGE1 ; 4 +smc131: ldx #$00 ; 2 + lda #$00 ; 2 + sta $450,X ; 5 + lda #$00 ; 2 + sta $451,X ; 5 + lda #$00 ; 2 + sta $452,X ; 5 + lda #$00 ; 2 + sta $453,X ; 5 + lda #$00 ; 2 + sta $454,X ; 5 + lda #$00 ; 2 + sta $455,X ; 5 + lda #$00 ; 2 + sta $456,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $450,X ; 5 + +; 132 + bit PAGE0 ; 4 +smc132: ldx #$00 ; 2 + lda #$00 ; 2 + sta $850,X ; 5 + lda #$00 ; 2 + sta $851,X ; 5 + lda #$00 ; 2 + sta $852,X ; 5 + lda #$00 ; 2 + sta $853,X ; 5 + lda #$00 ; 2 + sta $854,X ; 5 + lda #$00 ; 2 + sta $855,X ; 5 + lda #$00 ; 2 + sta $856,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $850,X ; 5 + +; 133 + bit PAGE1 ; 4 +smc133: ldx #$00 ; 2 + lda #$00 ; 2 + sta $450,X ; 5 + lda #$00 ; 2 + sta $451,X ; 5 + lda #$00 ; 2 + sta $452,X ; 5 + lda #$00 ; 2 + sta $453,X ; 5 + lda #$00 ; 2 + sta $454,X ; 5 + lda #$00 ; 2 + sta $455,X ; 5 + lda #$00 ; 2 + sta $456,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $450,X ; 5 + +; 134 + bit PAGE0 ; 4 +smc134: ldx #$00 ; 2 + lda #$00 ; 2 + sta $850,X ; 5 + lda #$00 ; 2 + sta $851,X ; 5 + lda #$00 ; 2 + sta $852,X ; 5 + lda #$00 ; 2 + sta $853,X ; 5 + lda #$00 ; 2 + sta $854,X ; 5 + lda #$00 ; 2 + sta $855,X ; 5 + lda #$00 ; 2 + sta $856,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $850,X ; 5 + +; 135 + bit PAGE1 ; 4 +smc135: ldx #$00 ; 2 + lda #$00 ; 2 + sta $4d0,X ; 5 + lda #$00 ; 2 + sta $4d1,X ; 5 + lda #$00 ; 2 + sta $4d2,X ; 5 + lda #$00 ; 2 + sta $4d3,X ; 5 + lda #$00 ; 2 + sta $4d4,X ; 5 + lda #$00 ; 2 + sta $4d5,X ; 5 + lda #$00 ; 2 + sta $4d6,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $4d0,X ; 5 + +; 136 + bit PAGE0 ; 4 +smc136: ldx #$00 ; 2 + lda #$00 ; 2 + sta $8d0,X ; 5 + lda #$00 ; 2 + sta $8d1,X ; 5 + lda #$00 ; 2 + sta $8d2,X ; 5 + lda #$00 ; 2 + sta $8d3,X ; 5 + lda #$00 ; 2 + sta $8d4,X ; 5 + lda #$00 ; 2 + sta $8d5,X ; 5 + lda #$00 ; 2 + sta $8d6,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $8d0,X ; 5 + +; 137 + bit PAGE1 ; 4 +smc137: ldx #$00 ; 2 + lda #$00 ; 2 + sta $4d0,X ; 5 + lda #$00 ; 2 + sta $4d1,X ; 5 + lda #$00 ; 2 + sta $4d2,X ; 5 + lda #$00 ; 2 + sta $4d3,X ; 5 + lda #$00 ; 2 + sta $4d4,X ; 5 + lda #$00 ; 2 + sta $4d5,X ; 5 + lda #$00 ; 2 + sta $4d6,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $4d0,X ; 5 + +; 138 + bit PAGE0 ; 4 +smc138: ldx #$00 ; 2 + lda #$00 ; 2 + sta $8d0,X ; 5 + lda #$00 ; 2 + sta $8d1,X ; 5 + lda #$00 ; 2 + sta $8d2,X ; 5 + lda #$00 ; 2 + sta $8d3,X ; 5 + lda #$00 ; 2 + sta $8d4,X ; 5 + lda #$00 ; 2 + sta $8d5,X ; 5 + lda #$00 ; 2 + sta $8d6,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $8d0,X ; 5 + +; 139 + bit PAGE1 ; 4 +smc139: ldx #$00 ; 2 + lda #$00 ; 2 + sta $4d0,X ; 5 + lda #$00 ; 2 + sta $4d1,X ; 5 + lda #$00 ; 2 + sta $4d2,X ; 5 + lda #$00 ; 2 + sta $4d3,X ; 5 + lda #$00 ; 2 + sta $4d4,X ; 5 + lda #$00 ; 2 + sta $4d5,X ; 5 + lda #$00 ; 2 + sta $4d6,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $4d0,X ; 5 + +; 140 + bit PAGE0 ; 4 +smc140: ldx #$00 ; 2 + lda #$00 ; 2 + sta $8d0,X ; 5 + lda #$00 ; 2 + sta $8d1,X ; 5 + lda #$00 ; 2 + sta $8d2,X ; 5 + lda #$00 ; 2 + sta $8d3,X ; 5 + lda #$00 ; 2 + sta $8d4,X ; 5 + lda #$00 ; 2 + sta $8d5,X ; 5 + lda #$00 ; 2 + sta $8d6,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $8d0,X ; 5 + +; 141 + bit PAGE1 ; 4 +smc141: ldx #$00 ; 2 + lda #$00 ; 2 + sta $4d0,X ; 5 + lda #$00 ; 2 + sta $4d1,X ; 5 + lda #$00 ; 2 + sta $4d2,X ; 5 + lda #$00 ; 2 + sta $4d3,X ; 5 + lda #$00 ; 2 + sta $4d4,X ; 5 + lda #$00 ; 2 + sta $4d5,X ; 5 + lda #$00 ; 2 + sta $4d6,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $4d0,X ; 5 + +; 142 + bit PAGE0 ; 4 +smc142: ldx #$00 ; 2 + lda #$00 ; 2 + sta $8d0,X ; 5 + lda #$00 ; 2 + sta $8d1,X ; 5 + lda #$00 ; 2 + sta $8d2,X ; 5 + lda #$00 ; 2 + sta $8d3,X ; 5 + lda #$00 ; 2 + sta $8d4,X ; 5 + lda #$00 ; 2 + sta $8d5,X ; 5 + lda #$00 ; 2 + sta $8d6,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $8d0,X ; 5 + +; 143 + bit PAGE1 ; 4 +smc143: ldx #$00 ; 2 + lda #$00 ; 2 + sta $550,X ; 5 + lda #$00 ; 2 + sta $551,X ; 5 + lda #$00 ; 2 + sta $552,X ; 5 + lda #$00 ; 2 + sta $553,X ; 5 + lda #$00 ; 2 + sta $554,X ; 5 + lda #$00 ; 2 + sta $555,X ; 5 + lda #$00 ; 2 + sta $556,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $550,X ; 5 + +; 144 + bit PAGE0 ; 4 +smc144: ldx #$00 ; 2 + lda #$00 ; 2 + sta $950,X ; 5 + lda #$00 ; 2 + sta $951,X ; 5 + lda #$00 ; 2 + sta $952,X ; 5 + lda #$00 ; 2 + sta $953,X ; 5 + lda #$00 ; 2 + sta $954,X ; 5 + lda #$00 ; 2 + sta $955,X ; 5 + lda #$00 ; 2 + sta $956,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $950,X ; 5 + +; 145 + bit PAGE1 ; 4 +smc145: ldx #$00 ; 2 + lda #$00 ; 2 + sta $550,X ; 5 + lda #$00 ; 2 + sta $551,X ; 5 + lda #$00 ; 2 + sta $552,X ; 5 + lda #$00 ; 2 + sta $553,X ; 5 + lda #$00 ; 2 + sta $554,X ; 5 + lda #$00 ; 2 + sta $555,X ; 5 + lda #$00 ; 2 + sta $556,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $550,X ; 5 + +; 146 + bit PAGE0 ; 4 +smc146: ldx #$00 ; 2 + lda #$00 ; 2 + sta $950,X ; 5 + lda #$00 ; 2 + sta $951,X ; 5 + lda #$00 ; 2 + sta $952,X ; 5 + lda #$00 ; 2 + sta $953,X ; 5 + lda #$00 ; 2 + sta $954,X ; 5 + lda #$00 ; 2 + sta $955,X ; 5 + lda #$00 ; 2 + sta $956,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $950,X ; 5 + +; 147 + bit PAGE1 ; 4 +smc147: ldx #$00 ; 2 + lda #$00 ; 2 + sta $550,X ; 5 + lda #$00 ; 2 + sta $551,X ; 5 + lda #$00 ; 2 + sta $552,X ; 5 + lda #$00 ; 2 + sta $553,X ; 5 + lda #$00 ; 2 + sta $554,X ; 5 + lda #$00 ; 2 + sta $555,X ; 5 + lda #$00 ; 2 + sta $556,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $550,X ; 5 + +; 148 + bit PAGE0 ; 4 +smc148: ldx #$00 ; 2 + lda #$00 ; 2 + sta $950,X ; 5 + lda #$00 ; 2 + sta $951,X ; 5 + lda #$00 ; 2 + sta $952,X ; 5 + lda #$00 ; 2 + sta $953,X ; 5 + lda #$00 ; 2 + sta $954,X ; 5 + lda #$00 ; 2 + sta $955,X ; 5 + lda #$00 ; 2 + sta $956,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $950,X ; 5 + +; 149 + bit PAGE1 ; 4 +smc149: ldx #$00 ; 2 + lda #$00 ; 2 + sta $550,X ; 5 + lda #$00 ; 2 + sta $551,X ; 5 + lda #$00 ; 2 + sta $552,X ; 5 + lda #$00 ; 2 + sta $553,X ; 5 + lda #$00 ; 2 + sta $554,X ; 5 + lda #$00 ; 2 + sta $555,X ; 5 + lda #$00 ; 2 + sta $556,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $550,X ; 5 + +; 150 + bit PAGE0 ; 4 +smc150: ldx #$00 ; 2 + lda #$00 ; 2 + sta $950,X ; 5 + lda #$00 ; 2 + sta $951,X ; 5 + lda #$00 ; 2 + sta $952,X ; 5 + lda #$00 ; 2 + sta $953,X ; 5 + lda #$00 ; 2 + sta $954,X ; 5 + lda #$00 ; 2 + sta $955,X ; 5 + lda #$00 ; 2 + sta $956,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $950,X ; 5 + +; 151 + bit PAGE1 ; 4 +smc151: ldx #$00 ; 2 + lda #$00 ; 2 + sta $5d0,X ; 5 + lda #$00 ; 2 + sta $5d1,X ; 5 + lda #$00 ; 2 + sta $5d2,X ; 5 + lda #$00 ; 2 + sta $5d3,X ; 5 + lda #$00 ; 2 + sta $5d4,X ; 5 + lda #$00 ; 2 + sta $5d5,X ; 5 + lda #$00 ; 2 + sta $5d6,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $5d0,X ; 5 + +; 152 + bit PAGE0 ; 4 +smc152: ldx #$00 ; 2 + lda #$00 ; 2 + sta $9d0,X ; 5 + lda #$00 ; 2 + sta $9d1,X ; 5 + lda #$00 ; 2 + sta $9d2,X ; 5 + lda #$00 ; 2 + sta $9d3,X ; 5 + lda #$00 ; 2 + sta $9d4,X ; 5 + lda #$00 ; 2 + sta $9d5,X ; 5 + lda #$00 ; 2 + sta $9d6,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $9d0,X ; 5 + +; 153 + bit PAGE1 ; 4 +smc153: ldx #$00 ; 2 + lda #$00 ; 2 + sta $5d0,X ; 5 + lda #$00 ; 2 + sta $5d1,X ; 5 + lda #$00 ; 2 + sta $5d2,X ; 5 + lda #$00 ; 2 + sta $5d3,X ; 5 + lda #$00 ; 2 + sta $5d4,X ; 5 + lda #$00 ; 2 + sta $5d5,X ; 5 + lda #$00 ; 2 + sta $5d6,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $5d0,X ; 5 + +; 154 + bit PAGE0 ; 4 +smc154: ldx #$00 ; 2 + lda #$00 ; 2 + sta $9d0,X ; 5 + lda #$00 ; 2 + sta $9d1,X ; 5 + lda #$00 ; 2 + sta $9d2,X ; 5 + lda #$00 ; 2 + sta $9d3,X ; 5 + lda #$00 ; 2 + sta $9d4,X ; 5 + lda #$00 ; 2 + sta $9d5,X ; 5 + lda #$00 ; 2 + sta $9d6,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $9d0,X ; 5 + +; 155 + bit PAGE1 ; 4 +smc155: ldx #$00 ; 2 + lda #$00 ; 2 + sta $5d0,X ; 5 + lda #$00 ; 2 + sta $5d1,X ; 5 + lda #$00 ; 2 + sta $5d2,X ; 5 + lda #$00 ; 2 + sta $5d3,X ; 5 + lda #$00 ; 2 + sta $5d4,X ; 5 + lda #$00 ; 2 + sta $5d5,X ; 5 + lda #$00 ; 2 + sta $5d6,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $5d0,X ; 5 + +; 156 + bit PAGE0 ; 4 +smc156: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 157 + bit PAGE1 ; 4 +smc157: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 158 + bit PAGE0 ; 4 +smc158: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 159 + bit PAGE1 ; 4 +smc159: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 160 + bit PAGE0 ; 4 +smc160: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 161 + bit PAGE1 ; 4 +smc161: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 162 + bit PAGE0 ; 4 +smc162: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 163 + bit PAGE1 ; 4 +smc163: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 164 + bit PAGE0 ; 4 +smc164: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 165 + bit PAGE1 ; 4 +smc165: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 166 + bit PAGE0 ; 4 +smc166: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 167 + bit PAGE1 ; 4 +smc167: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 168 + bit PAGE0 ; 4 +smc168: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 169 + bit PAGE1 ; 4 +smc169: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 170 + bit PAGE0 ; 4 +smc170: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 171 + bit PAGE1 ; 4 +smc171: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 172 + bit PAGE0 ; 4 +smc172: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 173 + bit PAGE1 ; 4 +smc173: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 174 + bit PAGE0 ; 4 +smc174: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 175 + bit PAGE1 ; 4 +smc175: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 176 + bit PAGE0 ; 4 +smc176: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 177 + bit PAGE1 ; 4 +smc177: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 178 + bit PAGE0 ; 4 +smc178: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 179 + bit PAGE1 ; 4 +smc179: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 180 + bit PAGE0 ; 4 +smc180: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 181 + bit PAGE1 ; 4 +smc181: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 182 + bit PAGE0 ; 4 +smc182: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 183 + bit PAGE1 ; 4 +smc183: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 184 + bit PAGE0 ; 4 +smc184: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 185 + bit PAGE1 ; 4 +smc185: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 186 + bit PAGE0 ; 4 +smc186: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 187 + bit PAGE1 ; 4 +smc187: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 188 + bit PAGE0 ; 4 +smc188: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 189 + bit PAGE1 ; 4 +smc189: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 190 + bit PAGE0 ; 4 +smc190: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + +; 191 + bit PAGE1 ; 4 +smc191: ldx #$00 ; 2 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + lda #$00 ; 2 + sta $c00,X ; 5 + ldx #$00 ; 2 + lda ZERO ; 3 + sta $c00,X ; 5 + diff --git a/interlace_demo/sprites_table.s b/interlace_demo/sprites_table.s new file mode 100644 index 00000000..ab68dcd8 --- /dev/null +++ b/interlace_demo/sprites_table.s @@ -0,0 +1,34 @@ +y_lookup_h: +.byte >(smc032+1),>(smc033+1),>(smc034+1),>(smc035+1),>(smc036+1),>(smc037+1),>(smc038+1),>(smc039+1) +.byte >(smc040+1),>(smc041+1),>(smc042+1),>(smc043+1),>(smc044+1),>(smc045+1),>(smc046+1),>(smc047+1) +.byte >(smc048+1),>(smc049+1),>(smc050+1),>(smc051+1),>(smc052+1),>(smc053+1),>(smc054+1),>(smc055+1) +.byte >(smc056+1),>(smc057+1),>(smc058+1),>(smc059+1),>(smc060+1),>(smc061+1),>(smc062+1),>(smc063+1) +.byte >(smc064+1),>(smc065+1),>(smc066+1),>(smc067+1),>(smc068+1),>(smc069+1),>(smc070+1),>(smc071+1) +.byte >(smc072+1),>(smc073+1),>(smc074+1),>(smc075+1),>(smc076+1),>(smc077+1),>(smc078+1),>(smc079+1) +.byte >(smc080+1),>(smc081+1),>(smc082+1),>(smc083+1),>(smc084+1),>(smc085+1),>(smc086+1),>(smc087+1) +.byte >(smc088+1),>(smc089+1),>(smc090+1),>(smc091+1),>(smc092+1),>(smc093+1),>(smc094+1),>(smc095+1) +.byte >(smc096+1),>(smc097+1),>(smc098+1),>(smc099+1),>(smc100+1),>(smc101+1),>(smc102+1),>(smc103+1) +.byte >(smc104+1),>(smc105+1),>(smc106+1),>(smc107+1),>(smc108+1),>(smc109+1),>(smc110+1),>(smc111+1) +.byte >(smc112+1),>(smc113+1),>(smc114+1),>(smc115+1),>(smc116+1),>(smc117+1),>(smc118+1),>(smc119+1) +.byte >(smc120+1),>(smc121+1),>(smc122+1),>(smc123+1),>(smc124+1),>(smc125+1),>(smc126+1),>(smc127+1) +.byte >(smc128+1),>(smc129+1),>(smc130+1),>(smc131+1),>(smc132+1),>(smc133+1),>(smc134+1),>(smc135+1) +.byte >(smc136+1),>(smc137+1),>(smc138+1),>(smc139+1),>(smc140+1),>(smc141+1),>(smc142+1),>(smc143+1) +.byte >(smc144+1),>(smc145+1),>(smc146+1),>(smc147+1),>(smc148+1),>(smc149+1),>(smc150+1),>(smc151+1) +.byte >(smc152+1),>(smc153+1),>(smc154+1),>(smc155+1),>(smc156+1),>(smc157+1),>(smc158+1),>(smc159+1) +y_lookup_l: +.byte <(smc032+1),<(smc033+1),<(smc034+1),<(smc035+1),<(smc036+1),<(smc037+1),<(smc038+1),<(smc039+1) +.byte <(smc040+1),<(smc041+1),<(smc042+1),<(smc043+1),<(smc044+1),<(smc045+1),<(smc046+1),<(smc047+1) +.byte <(smc048+1),<(smc049+1),<(smc050+1),<(smc051+1),<(smc052+1),<(smc053+1),<(smc054+1),<(smc055+1) +.byte <(smc056+1),<(smc057+1),<(smc058+1),<(smc059+1),<(smc060+1),<(smc061+1),<(smc062+1),<(smc063+1) +.byte <(smc064+1),<(smc065+1),<(smc066+1),<(smc067+1),<(smc068+1),<(smc069+1),<(smc070+1),<(smc071+1) +.byte <(smc072+1),<(smc073+1),<(smc074+1),<(smc075+1),<(smc076+1),<(smc077+1),<(smc078+1),<(smc079+1) +.byte <(smc080+1),<(smc081+1),<(smc082+1),<(smc083+1),<(smc084+1),<(smc085+1),<(smc086+1),<(smc087+1) +.byte <(smc088+1),<(smc089+1),<(smc090+1),<(smc091+1),<(smc092+1),<(smc093+1),<(smc094+1),<(smc095+1) +.byte <(smc096+1),<(smc097+1),<(smc098+1),<(smc099+1),<(smc100+1),<(smc101+1),<(smc102+1),<(smc103+1) +.byte <(smc104+1),<(smc105+1),<(smc106+1),<(smc107+1),<(smc108+1),<(smc109+1),<(smc110+1),<(smc111+1) +.byte <(smc112+1),<(smc113+1),<(smc114+1),<(smc115+1),<(smc116+1),<(smc117+1),<(smc118+1),<(smc119+1) +.byte <(smc120+1),<(smc121+1),<(smc122+1),<(smc123+1),<(smc124+1),<(smc125+1),<(smc126+1),<(smc127+1) +.byte <(smc128+1),<(smc129+1),<(smc130+1),<(smc131+1),<(smc132+1),<(smc133+1),<(smc134+1),<(smc135+1) +.byte <(smc136+1),<(smc137+1),<(smc138+1),<(smc139+1),<(smc140+1),<(smc141+1),<(smc142+1),<(smc143+1) +.byte <(smc144+1),<(smc145+1),<(smc146+1),<(smc147+1),<(smc148+1),<(smc149+1),<(smc150+1),<(smc151+1) +.byte <(smc152+1),<(smc153+1),<(smc154+1),<(smc155+1),<(smc156+1),<(smc157+1),<(smc158+1),<(smc159+1)