mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-23 11:33:07 +00:00
3089f8a840
was a hack to make displaying change disk message easier but now it's super easy to confuse BCD vs BIN for disk number
50 lines
845 B
ArmAsm
50 lines
845 B
ArmAsm
.include "../zp.inc"
|
|
|
|
which_disk_bcd:
|
|
.byte $43 ; BCD
|
|
|
|
which_disk_bin:
|
|
.byte 43
|
|
|
|
load_address_array:
|
|
.byte $40,$40,$40,$40 ; TITLE, CART, BRIDGE,LOGGED
|
|
.byte $40,$00,$00,$00 ; LOGGED2
|
|
|
|
track_array:
|
|
.byte 0, 2, 9,16 ; TITLE, CART, BRIDGE,LOGGED
|
|
.byte 22,0,0,0 ; LOGGED2
|
|
|
|
sector_array:
|
|
.byte 8, 0, 0, 0 ; TITLE, CART, BRIDGE,LOGGED
|
|
.byte 0,0,0,0 ; LOGGED2
|
|
|
|
length_array:
|
|
.byte 8, 96,84, 96 ; TITLE, CART, BRIDGE,LOGGED
|
|
.byte 80,0,0,0
|
|
|
|
; disk 41
|
|
|
|
disk_exit_disk: ; note: not BCD anymore
|
|
.byte 41
|
|
.byte 0
|
|
.byte 0
|
|
.byte 0
|
|
|
|
disk_exit_disk_bcd: ; note: not BCD anymore
|
|
.byte $41
|
|
.byte 0
|
|
.byte 0
|
|
.byte 0
|
|
|
|
|
|
disk_exit_dni_h:
|
|
.byte $01,0,0,0 ; 41 = 1*25 + 3*5 + 1
|
|
disk_exit_dni_l:
|
|
.byte $31,0,0,0
|
|
disk_exit_load:
|
|
.byte 4,0,0,0 ; STAIRS2, RIVEN_UP4, E
|
|
disk_exit_level:
|
|
.byte 2,0,0,0
|
|
disk_exit_direction:
|
|
.byte DIRECTION_E,0,0,0
|