dlowres: update to work (slightly) better

This commit is contained in:
Vince Weaver 2017-12-05 16:54:53 -05:00
parent 0f6b0e0ef4
commit 3edac4cf86
5 changed files with 5 additions and 16 deletions

View File

@ -23,5 +23,5 @@ dlowres_mode7.o: dlowres_mode7.s \
ca65 -o dlowres_mode7.o dlowres_mode7.s -l dlowres_mode7.lst
clean:
rm -f *~ *.o *.lst
rm -f *~ *.o DLOWRES_MODE7 *.lst

View File

@ -35,6 +35,7 @@ flying_start:
sta EIGHTYCOL ; 80col C00d
lda AN3 ; AN3 C05E
jsr page_flip
jsr init_multiply_tables

Binary file not shown.

View File

@ -7,20 +7,6 @@
jsr HOME
jsr set_gr_page0
;================================
; Set up Double Low-res
;================================
; lda SET_GR ; graphics C050
; lda LORES ; lores C056
; lda TEXTGR ; mixset C053
; sta EIGHTYSTORE_OFF ; 80store C001
; sta EIGHTYCOL ; 80col C00d
; lda AN3 ; AN3 C05E
lda #0
sta DISP_PAGE ; Forgot to set initially
; real hardware and AppleWin default
; to different values
;===================================
; zero out the zero page that we use

View File

@ -33,13 +33,15 @@ page_flip:
beq page_flip_show_1 ; 2nt/3
page_flip_show_0:
bit PAGE0 ; 4
lda #4 ; 2
; lda #4 ; 2
lda #0
sta DRAW_PAGE ; DRAW_PAGE=1 ; 3
lda #0 ; 2
sta DISP_PAGE ; DISP_PAGE=0 ; 3
rts ; 6
page_flip_show_1:
bit PAGE1 ; 4
lda #0
sta DRAW_PAGE ; DRAW_PAGE=0 ; 3
lda #1 ; 2
sta DISP_PAGE ; DISP_PAGE=1 ; 3