ds: some minor optimization

This commit is contained in:
Vince Weaver 2019-11-07 22:26:59 -05:00
parent 3a204cba54
commit fed525de8e
2 changed files with 5 additions and 13 deletions

View File

@ -97,9 +97,9 @@ Memory Map
0800-0bff lores page2 0800-0bff lores page2
0c00-0fff (used as page3) (also loader 200 ) 0c00-0fff (used as page3) (also loader 200 )
1000-13ff (used for background masks) (also loader 1000-12ff) 1000-13ff (used for background masks) (also loader 1000-12ff)
1400-???? executable (31744 bytes) 1400-???? executable (33792 bytes)
9000-bfff graphics lookup / audio buffer 9800-bfff graphics lookup / audio buffer
c000-cfff I/O c000-cfff I/O
d000-ffff ROM (language card: music) d000-ffff ROM (language card: music)

View File

@ -6,17 +6,11 @@
missing_intro: missing_intro:
;===================
; init screen
; jsr TEXT
; jsr HOME
bit KEYRESET
;=================== ;===================
; init vars ; init vars
lda #0 ; lda #0
sta DRAW_PAGE ; sta DRAW_PAGE
;============================= ;=============================
; setup graphics code ; setup graphics code
@ -136,7 +130,6 @@ mloopB: dex ; 2
missing_display_loop: missing_display_loop:
jsr $9800 ; update_type1 jsr $9800 ; update_type1
;.include "missing_screen_update.s"
;====================================================== ;======================================================
; We have 4550 cycles in the vblank, use them wisely ; We have 4550 cycles in the vblank, use them wisely
@ -180,7 +173,6 @@ gloop2: dex ; 2
rts rts
;.align $100
;.include "k_40_48d.inc"