mirror of
https://github.com/a2-4am/passport.git
synced 2025-01-11 01:29:56 +00:00
parent
0e861f215a
commit
bcb432cec5
@ -476,3 +476,23 @@ IsEATrack6
|
||||
sbc #5
|
||||
cmp #1
|
||||
+ rts
|
||||
|
||||
;-------------------------------
|
||||
; xSVE
|
||||
; check if disk has SVE bootloader
|
||||
; which has a hook in the RWTS
|
||||
;
|
||||
; in: $0800..$08FF contains boot0
|
||||
; $B600..$BFFF contains boot1
|
||||
; out: C clear if SVE bootloader was found
|
||||
; C set otherwise
|
||||
;-------------------------------
|
||||
!zone {
|
||||
xSVE
|
||||
lda #$BE
|
||||
ldx #$5A
|
||||
ldy #$03
|
||||
jsr CompareMemory
|
||||
!byte $4C,$71,$A9
|
||||
rts
|
||||
}
|
||||
|
@ -294,6 +294,15 @@ ADStyle
|
||||
lda #s_optimum
|
||||
jsr PrintByID
|
||||
.noOptimum
|
||||
jsr xSVE
|
||||
bcs .noSVE
|
||||
lda #s_sve
|
||||
jsr PrintByID
|
||||
lda #$CA
|
||||
sta $BE5B
|
||||
lda #$B6
|
||||
sta $BE5C
|
||||
.noSVE
|
||||
jsr xB660
|
||||
jsr xB4BB
|
||||
jmp ReadWithRWTS
|
||||
|
@ -135,6 +135,7 @@ StringTableLow
|
||||
!byte <.e7everywhere
|
||||
!byte <.choplifter
|
||||
!byte <.pdi
|
||||
!byte <.sve
|
||||
|
||||
StringTableHigh
|
||||
!byte >.header
|
||||
@ -256,6 +257,7 @@ StringTableHigh
|
||||
!byte >.e7everywhere
|
||||
!byte >.choplifter
|
||||
!byte >.pdi
|
||||
!byte >.sve
|
||||
|
||||
;
|
||||
; Text can contain substitution strings, which
|
||||
@ -282,7 +284,7 @@ StringTableHigh
|
||||
; can be set directly before calling PrintByID.
|
||||
;
|
||||
.header
|
||||
!text "Passport by 4am 2020-07-02",$00
|
||||
!text "Passport by 4am 2020-07-12",$00
|
||||
.mainmenu
|
||||
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
||||
!text " "
|
||||
@ -611,4 +613,6 @@ StringTableHigh
|
||||
!text "Roland was here, but he left...",$8D,$00
|
||||
.pdi
|
||||
!text "T%t,S%0 Found PDI protection check",$8D,$00
|
||||
.sve
|
||||
!text "T%t,S%0 Found SVE protection check",$8D,$00
|
||||
}
|
||||
|
@ -121,4 +121,5 @@ s_diskvol0 = $73
|
||||
s_e7everywhere=$74
|
||||
s_choplifter = $75
|
||||
s_pdi = $76
|
||||
STRINGCOUNT = $77
|
||||
s_sve = $77
|
||||
STRINGCOUNT = $78
|
||||
|
Loading…
x
Reference in New Issue
Block a user