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 SwitchToBank2
+READ_RAM2_WRITE_RAM2 +READ_RAM2_WRITE_RAM2
rts rts
MachineStatus
!byte 0 ; SMC, fixed location for games to check it
!word Reenter ; NMI vector ($FFFA-B) !word Reenter ; NMI vector ($FFFA-B)
!word Reenter ; reset vector ($FFFC-D) !word Reenter ; reset vector ($FFFC-D)
!word Reenter ; IRQ vector ($FFFE-F) !word Reenter ; IRQ vector ($FFFE-F)

View File

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