add label for CFFA3000-managed targets

This commit is contained in:
4am 2021-04-14 23:35:14 -04:00
parent 8eecd95baf
commit 8bcc24c3f5
3 changed files with 22 additions and 3 deletions

View File

@ -183,11 +183,25 @@ MainMenu
jsr PrintByID
lda #s_mainmenu
jsr PrintByID
lda #s_targetdisk
ldx gUsingHardDisk
bne .printtargettype
beq .usingharddisk
lda SLOT
and #$0F
ora #$C0
ldx #$28
ldy #$06
jsr CompareMemory
!byte $20,$33,$CD
!byte $18
!byte $90,$2E
bcc .usingcffa
lda #s_targetdisk
!byte $2C
.usingcffa
lda #s_targetcffa
!byte $2C
.usingharddisk
lda #s_targetfile
.printtargettype
jsr PrintByID
.getkey
jsr WaitForKey

View File

@ -157,6 +157,7 @@ StringTableLow
!byte <.writingto
!byte <.targetdisk
!byte <.targetfile
!byte <.targetcffa
StringTableHigh
!byte >.header
@ -301,6 +302,7 @@ StringTableHigh
!byte >.writingto
!byte >.targetdisk
!byte >.targetfile
!byte >.targetcffa
;
; Text can contain substitution strings, which
@ -363,6 +365,8 @@ StringTableHigh
!text "disk)",$00
.targetfile
!text "file)",$00
.targetcffa
!text "CFFA)",$00
.progbar
!byte $8D
!text " _@",s_bar,"_",$8D

View File

@ -144,3 +144,4 @@ s_addressepilogue = $8A
s_writingto = $8B
s_targetdisk = $8C
s_targetfile = $8D
s_targetcffa = $8E