mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-25 05:29:34 +00:00
dlowres: update to work (slightly) better
This commit is contained in:
parent
0f6b0e0ef4
commit
3edac4cf86
@ -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
|
||||
|
||||
|
@ -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.
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user