mirror of
https://github.com/a2-4am/passport.git
synced 2024-06-08 16:29:33 +00:00
24 lines
689 B
Plaintext
24 lines
689 B
Plaintext
;-------------------------------
|
|
; #DOS32DLM
|
|
; $9D84 jumps to $BCF0 to set the input vector to trap <Ctrl-C> during boot
|
|
; (crashes because we don't include their custom code at $BCF0 when we
|
|
; reconstruct the bootloader)
|
|
;
|
|
; tested on
|
|
; Alien Addition (1982, DLM)
|
|
; Alligator Mix (1982, DLM)
|
|
; Dragon Mix (1982, DLM)
|
|
;-------------------------------
|
|
!zone {
|
|
lda gIsDOS32
|
|
bne .exit
|
|
lda #$0B
|
|
ldx #$84
|
|
jsr compare3 ; if T00,S0B,$84 ==
|
|
!byte $4C,$F0,$BC
|
|
bcs .exit ; passport-test-suite/Demolition Division.woz [C=0] matches
|
|
jsr modify3 ; then set T00,S0B,$84 =
|
|
!byte $AD,$E9,$B7
|
|
.exit
|
|
}
|