cleaner refresh of main menu after slot cycle, and shave some bytes elsewhere

This commit is contained in:
4am 2021-06-17 22:12:07 -04:00
parent 2a1dd8975d
commit 7bde1d668f
5 changed files with 9 additions and 4 deletions

View File

@ -13,7 +13,6 @@
; exits via ReadWithRWTS
;-------------------------------
ADStyle
jsr IncProgress
jsr PrintByID
!byte s_diskrwts
;

View File

@ -48,6 +48,7 @@ ID_FILE_ON_HARD_DISK = %10000000 ; BIT + BMI -> target is a file on a
; Standard zero-page addresses
TEXTTOP = $22
HPOS = $24
VPOS = $25
; Standard addresses

View File

@ -1,4 +1,5 @@
ReadWithRWTS
jsr IncProgress
lda #$22
jsr ChangeTrackNW
lda #$0F

View File

@ -47,6 +47,7 @@ MainMenu
txs
jsr Cleanup ; RAM/HD files might be left open after Ctrl-Reset
jsr ClearScreen
@refreshMainMenu
jsr PrintByID
!byte s_header
jsr PrintByID
@ -84,9 +85,13 @@ MainMenu
+ cmp #k_slot
bne +
jsr NextSlot
lda #0
sta HPOS
sta VPOS
jsr $FBC1
lda #TRUE
sta gChangedPrefs
beq MainMenu ; always branches
beq @refreshMainMenu ; always branches
+ cmp #k_verify
bne +
@ -447,8 +452,8 @@ _byte_skip_hi:
!source "id/davidson.a"
!source "id/holle.a"
!source "id/phoenix.a"
!source "id/555.a"
!source "id/bootfailure.a"
!source "id/555.a"
!source "print.a"
!source "compare.a"
!source "modify.a"

View File

@ -11,7 +11,6 @@
; exits via ReadWithRWTS
;-------------------------------
UseUniversal
jsr IncProgress
;
; Copy built-in RWTS into place ($B800..$BFFF)
;