ds: move raster bars down

so not to interfere with text
This commit is contained in:
Vince Weaver 2019-11-02 23:22:16 -04:00
parent fca6dce026
commit d2fe97bced
3 changed files with 7 additions and 6 deletions

View File

@ -50,10 +50,10 @@ create_update_inner_loop:
rts
BARS_START = 38
BARS_START = 46
;===========================
; from 32 to 160?
; from 40 to 168?
setup_rasterbars:
lda #4 ; which page
@ -109,7 +109,7 @@ setup_rasterbars_inner_loop:
sta RASTER_PAGE
inx
cpx #176
cpx #184
bne setup_rasterbars_outer_loop
rts

View File

@ -3,7 +3,8 @@
#define NUMBER 128
//#define START 32
#define START 40
//#define START 40
#define START 48
int main(int argc, char **argv) {

View File

@ -1,5 +1,4 @@
y_lookup_h:
.byte >($97AC),>($97DD),>($980E),>($983F),>($9870),>($98A1),>($98D2),>($9903)
.byte >($9934),>($9965),>($9996),>($99C7),>($99F8),>($9A29),>($9A5A),>($9A8B)
.byte >($9ABC),>($9AED),>($9B1E),>($9B4F),>($9B80),>($9BB1),>($9BE2),>($9C13)
.byte >($9C44),>($9C75),>($9CA6),>($9CD7),>($9D08),>($9D39),>($9D6A),>($9D9B)
@ -15,8 +14,8 @@ y_lookup_h:
.byte >($AB94),>($ABC5),>($ABF6),>($AC27),>($AC58),>($AC89),>($ACBA),>($ACEB)
.byte >($AD1C),>($AD4D),>($AD7E),>($ADAF),>($ADE0),>($AE11),>($AE42),>($AE73)
.byte >($AEA4),>($AED5),>($AF06),>($AF37),>($AF68),>($AF99),>($AFCA),>($AFFB)
.byte >($B02C),>($B05D),>($B08E),>($B0BF),>($B0F0),>($B121),>($B152),>($B183)
y_lookup_l:
.byte <($97AC),<($97DD),<($980E),<($983F),<($9870),<($98A1),<($98D2),<($9903)
.byte <($9934),<($9965),<($9996),<($99C7),<($99F8),<($9A29),<($9A5A),<($9A8B)
.byte <($9ABC),<($9AED),<($9B1E),<($9B4F),<($9B80),<($9BB1),<($9BE2),<($9C13)
.byte <($9C44),<($9C75),<($9CA6),<($9CD7),<($9D08),<($9D39),<($9D6A),<($9D9B)
@ -32,3 +31,4 @@ y_lookup_l:
.byte <($AB94),<($ABC5),<($ABF6),<($AC27),<($AC58),<($AC89),<($ACBA),<($ACEB)
.byte <($AD1C),<($AD4D),<($AD7E),<($ADAF),<($ADE0),<($AE11),<($AE42),<($AE73)
.byte <($AEA4),<($AED5),<($AF06),<($AF37),<($AF68),<($AF99),<($AFCA),<($AFFB)
.byte <($B02C),<($B05D),<($B08E),<($B0BF),<($B0F0),<($B121),<($B152),<($B183)