mirror of
https://github.com/pevans/erc-c.git
synced 2025-02-17 07:32:05 +00:00
Add new peripheral ROMs, plus a stub ROM
...The latter being in the form of the zeropad file, 256 bytes long.
This commit is contained in:
parent
d7148b88bf
commit
42394fee80
BIN
data/print.rom
Normal file
BIN
data/print.rom
Normal file
Binary file not shown.
BIN
data/serial.rom
Normal file
BIN
data/serial.rom
Normal file
Binary file not shown.
BIN
data/zeropad0x100.rom
Normal file
BIN
data/zeropad0x100.rom
Normal file
Binary file not shown.
@ -13,14 +13,23 @@ data = 'hope'
|
||||
|
||||
# These must be appended in the exact order indicated by the struct definition
|
||||
# in objstore.h
|
||||
data += file_data('./data/disk2.rom')
|
||||
data += file_data('./data/apple2.rom')
|
||||
data += file_data('./data/print.rom') # $C100
|
||||
data += file_data('./data/serial.rom') # $C200
|
||||
data += file_data('./data/zeropad0x100.rom') # $C300
|
||||
data += file_data('./data/zeropad0x100.rom') # $C400
|
||||
data += file_data('./data/zeropad0x100.rom') # $C500
|
||||
data += file_data('./data/disk2.rom') # $C600
|
||||
data += file_data('./data/disk2.rom') # $C700
|
||||
data += file_data('./data/apple2.rom') # $D000
|
||||
data += file_data('./fonts/apple2-system.bmp')
|
||||
|
||||
# Let's not keep calling len(data) since we know it won't change over our
|
||||
# iterations
|
||||
data_len = len(data)
|
||||
|
||||
print data_len
|
||||
exit(0)
|
||||
|
||||
# This just defines the variable name for the store data
|
||||
sys.stdout.write("static unsigned char store_data[] =\n")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user