mirror of
https://github.com/a2-4am/anti-m.git
synced 2025-01-13 16:32:58 +00:00
support Disk Recovery (#37)
* support Disk Recovery * enable booting Disk Recovery from drive 2
This commit is contained in:
parent
d3c4100f32
commit
9bee8fc449
10
src/anti-m.a
10
src/anti-m.a
@ -6,7 +6,7 @@
|
|||||||
;-------------------------------
|
;-------------------------------
|
||||||
; Anti-M
|
; Anti-M
|
||||||
; a 4am hack
|
; a 4am hack
|
||||||
; (c) 2019-2020 by 4am
|
; (c) 2019-2022 by 4am
|
||||||
;
|
;
|
||||||
; Permission is hereby granted, free of charge, to any
|
; Permission is hereby granted, free of charge, to any
|
||||||
; person obtaining a copy of this software and associated
|
; person obtaining a copy of this software and associated
|
||||||
@ -157,7 +157,7 @@ CheckDrive2
|
|||||||
lda $C0EB
|
lda $C0EB
|
||||||
jsr @spinup
|
jsr @spinup
|
||||||
jsr @seek
|
jsr @seek
|
||||||
ldx #2
|
ldx #21
|
||||||
ldy #0
|
ldy #0
|
||||||
--- iny
|
--- iny
|
||||||
bne +
|
bne +
|
||||||
@ -240,9 +240,9 @@ tmpsec=$3c
|
|||||||
-- ldx #$11
|
-- ldx #$11
|
||||||
- dex
|
- dex
|
||||||
bne -
|
bne -
|
||||||
inc tmpsec
|
inc $46
|
||||||
bne +
|
bne +
|
||||||
inc tmpsec+1
|
inc $47
|
||||||
+ sec
|
+ sec
|
||||||
sbc #1
|
sbc #1
|
||||||
bne --
|
bne --
|
||||||
@ -346,7 +346,7 @@ StringTable
|
|||||||
!word @mainmenu
|
!word @mainmenu
|
||||||
|
|
||||||
@header
|
@header
|
||||||
!text "Anti-M v1.8pre by 4am 2020-12-27"
|
!text "Anti-M v1.9pre by 4am 2022-03-20"
|
||||||
!text "________________________________________",$8D
|
!text "________________________________________",$8D
|
||||||
!text $8D,$8D,$8D,$8D,$8D,$8D,$8D,$8D,$00
|
!text $8D,$8D,$8D,$8D,$8D,$8D,$8D,$8D,$00
|
||||||
@mainmenu
|
@mainmenu
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
; - Phaser Fire (Gebelli)
|
; - Phaser Fire (Gebelli)
|
||||||
; - Russki Duck (Gebelli)
|
; - Russki Duck (Gebelli)
|
||||||
; - Zenith (Gebelli)
|
; - Zenith (Gebelli)
|
||||||
|
; - Disk Recovery (Sensible Software)
|
||||||
;
|
;
|
||||||
IDBroderbund
|
IDBroderbund
|
||||||
; first stage is just a standard hybrid DOS 3.2/3.3 bootloader
|
; first stage is just a standard hybrid DOS 3.2/3.3 bootloader
|
||||||
@ -269,6 +270,8 @@ IDBroderbund
|
|||||||
bne @jmpdos
|
bne @jmpdos
|
||||||
|
|
||||||
@hookhybrid
|
@hookhybrid
|
||||||
|
lda #$0C
|
||||||
|
sta $300 ;Sensible Software page-wraparound fix
|
||||||
lda #$4C
|
lda #$4C
|
||||||
sta $33C
|
sta $33C
|
||||||
stx $33D
|
stx $33D
|
||||||
@ -315,6 +318,16 @@ IDBroderbund
|
|||||||
beq @skip2a
|
beq @skip2a
|
||||||
inc $3D60
|
inc $3D60
|
||||||
@skip2a
|
@skip2a
|
||||||
|
+ ldy $371D
|
||||||
|
cpy $371F
|
||||||
|
bne +
|
||||||
|
dey
|
||||||
|
bne +
|
||||||
|
lda $371E
|
||||||
|
ora $3720
|
||||||
|
ora $3721
|
||||||
|
bne +
|
||||||
|
inc $371F ; select drive 2
|
||||||
+ jmp $3700 ; let it goooo...
|
+ jmp $3700 ; let it goooo...
|
||||||
|
|
||||||
@SpaceEggsCallback3 !pseudopc $300 {
|
@SpaceEggsCallback3 !pseudopc $300 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user