aboutsummaryrefslogtreecommitdiff
path: root/newtitle.s
diff options
context:
space:
mode:
Diffstat (limited to 'newtitle.s')
-rw-r--r--newtitle.s15
1 files changed, 11 insertions, 4 deletions
diff --git a/newtitle.s b/newtitle.s
index e70e885..6bc0b4a 100644
--- a/newtitle.s
+++ b/newtitle.s
@@ -216,7 +216,7 @@ start:
; turn off screen, in case vblank happens while we work
lda #0
- sta FR0
+ ;sta FR0 ; why was I doing this?
sta SDMCTL
sta sound_disabled ; fix issue with sound not working with APE loader
@@ -279,11 +279,18 @@ start:
;; lda #$FF
;; sta SIZEM ; FF = quad width, all missiles
- ; setup our display list
+ ; save old display list
+ ; this is now done in checkmem.s for the .xex build, to avoid
+ ; bad interactions with SpartaDOS's TDLINE.
+ ; still needs to be done here for the cart.
+ .ifdef CART_TARGET
lda SDLSTL
- sta FR0
+ sta FR1
lda SDLSTH
- sta FR0+1
+ sta FR1+1
+ .endif
+
+ ; setup our display list
lda #<dlist
sta SDLSTL
lda #>dlist