mirror of
https://github.com/tjboldt/ProDOS-ROM-Drive.git
synced 2025-01-13 04:30:19 +00:00
Update binary and drive image
This commit is contained in:
parent
80f30592be
commit
158fe8086a
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
*-bak
|
||||||
|
*.o
|
||||||
|
*.DS_Store
|
Binary file not shown.
@ -186,20 +186,18 @@ loop16: lda slotrd,x ;get a byte
|
|||||||
inc sram1 ;next 16 bytes
|
inc sram1 ;next 16 bytes
|
||||||
cpy #$00
|
cpy #$00
|
||||||
bne loop256 ;go until 256 total
|
bne loop256 ;go until 256 total
|
||||||
|
|
||||||
rts
|
rts
|
||||||
|
|
||||||
text: .byte "ROM-Drive (c)1998-2019 Terence J. Boldt", 0
|
text: .byte "ROM-Drive (c)1998-2019 Terence J. Boldt"
|
||||||
|
end:
|
||||||
|
.byte 0
|
||||||
|
|
||||||
; These bytes need to be at the top of the 256 byte firmware as ProDOS
|
; These bytes need to be at the top of the 256 byte firmware as ProDOS
|
||||||
; uses these to find the entry point and drive capabilities
|
; uses these to find the entry point and drive capabilities
|
||||||
|
|
||||||
; In 1998, cc65 used to allow this but now with ld65 removes the padded bytes
|
.repeat 251-<end
|
||||||
; .org $C0FC+slot*$100
|
.byte 0
|
||||||
|
.endrepeat
|
||||||
; CAUTION: These are padding bytes entered manually, add or remove
|
|
||||||
; to match if changing code. Firmware must be 256 bytes
|
|
||||||
.byte 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
|
||||||
|
|
||||||
.byte 0,0 ;0000 blocks = check status
|
.byte 0,0 ;0000 blocks = check status
|
||||||
.byte 3 ;bit 0=read 1=status
|
.byte 3 ;bit 0=read 1=status
|
||||||
|
Binary file not shown.
@ -8,3 +8,5 @@ ca65 Firmware.asm -D SLOT5 -o slot5.o
|
|||||||
ca65 Firmware.asm -D SLOT6 -o slot6.o
|
ca65 Firmware.asm -D SLOT6 -o slot6.o
|
||||||
ca65 Firmware.asm -D SLOT7 -o slot7.o
|
ca65 Firmware.asm -D SLOT7 -o slot7.o
|
||||||
ld65 -t none warning.o slot1.o slot2.o slot3.o slot4.o slot5.o slot6.o slot7.o -o Firmware.bin
|
ld65 -t none warning.o slot1.o slot2.o slot3.o slot4.o slot5.o slot6.o slot7.o -o Firmware.bin
|
||||||
|
|
||||||
|
cat Firmware.bin | dd of=BlankDriveWithFirmware.po bs=1 seek=1046528 count=2048 conv=notrunc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user