consolidate Tetris, lock MachineStatus address

This commit is contained in:
Peter Ferrie 2019-10-04 14:13:54 -07:00
parent 8781be4793
commit f5bac21c31
6 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -116,6 +116,8 @@ gGamesListStore
SwitchToBank2
+READ_RAM2_WRITE_RAM2
rts
MachineStatus
!byte 0 ; SMC, fixed location for games to check it
!word Reenter ; NMI vector ($FFFA-B)
!word Reenter ; reset vector ($FFFC-D)
!word Reenter ; IRQ vector ($FFFE-F)

View File

@ -60,8 +60,7 @@ SoftBell
; out: $0106..$011F clobbered
;------------------------------------------------------------------------------
Home
MachineStatus = *+1
lda #$D1 ; SMC
lda MachineStatus
and #SUPPORTS_SHR
beq @noSHR
lda NEWVIDEO