mirror of
https://github.com/flowenol/apple1cartridge.git
synced 2025-01-13 09:31:55 +00:00
replaced applesoft version in rom content, Makefile added, scripts moved to separate directory
This commit is contained in:
parent
9988bb50bb
commit
3c381ca188
5
Makefile
Normal file
5
Makefile
Normal file
@ -0,0 +1,5 @@
|
||||
cartridge.bin:
|
||||
xa -W -C -v -O ASCII -c src/cartridge.xa -l cartridge.label -o cartridge.bin
|
||||
|
||||
clean:
|
||||
rm cartridge.bin cartridge.label
|
3
build.sh
3
build.sh
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
xa -W -C -v -O ASCII -c src/cartridge.xa -l cartridge.label -o cartridge.bin
|
Binary file not shown.
@ -1,6 +1,9 @@
|
||||
import codecs
|
||||
import sys
|
||||
|
||||
"""
|
||||
This utility transforms A1 monitor format data to binary and outputs to STDOUT
|
||||
"""
|
||||
if __name__ == "__main__":
|
||||
|
||||
byte_data = list()
|
@ -2,6 +2,10 @@ import codecs
|
||||
import binascii
|
||||
import sys
|
||||
|
||||
"""
|
||||
This utility transforms CFFA formated BASIC programs to binary, outputting
|
||||
to file name with LOMEM & HIMEM appended
|
||||
"""
|
||||
if __name__ == "__main__":
|
||||
|
||||
byte_data = list()
|
||||
@ -43,6 +47,3 @@ if __name__ == "__main__":
|
||||
with open(output_filename(sys.argv[1], byte_data[0:4]), 'wb') as output:
|
||||
for x in byte_data:
|
||||
output.write(x)
|
||||
|
||||
# to visually compare
|
||||
# paste apple30th.txt <(hexdump -e '"%08.8_Ax\n"' -e '"%08.8_ax " 8/1 " %02x"' -e '"\n"' apple30th.bin)
|
@ -1,6 +1,10 @@
|
||||
import sys
|
||||
import binascii
|
||||
|
||||
"""
|
||||
This utility transforms binary data to A1 monitor format, starting offset
|
||||
(in hex) is required.
|
||||
"""
|
||||
if __name__ == "__main__":
|
||||
|
||||
if len(sys.argv) != 3:
|
@ -68,7 +68,7 @@ disassembler_jmp_addr .word $FF1F
|
||||
|
||||
applesoft
|
||||
applesoft_seg .byt $01
|
||||
applesoft_len .word $1F65
|
||||
applesoft_len .word $1FFF
|
||||
applesoft_addr .word $6000
|
||||
applesoft_cont_start .word applesoft_cont
|
||||
applesoft_str .byt $15,"APPLESOFT BASIC 6000R"
|
||||
@ -92,5 +92,5 @@ basic_cont .bin 0,0,"inc/basic.bin"
|
||||
apple30th_cont .bin 0,0,"inc/apple30th.bin"
|
||||
memorytest_cont .bin 0,0,"inc/a1mt.bin"
|
||||
disassembler_cont .bin 0,0,"inc/disassembler.bin"
|
||||
applesoft_cont .bin 0,0,"inc/applesoft.bin"
|
||||
applesoft_cont .bin 0,0,"inc/applesoft-lite.bin"
|
||||
matrix_cont .bin 0,0,"inc/basic/matrix-0800-1000.bin"
|
||||
|
Loading…
x
Reference in New Issue
Block a user