1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-07-24 01:29:00 +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:
Peter Evans 2018-01-09 15:58:29 -06:00
parent d7148b88bf
commit 42394fee80
4 changed files with 11 additions and 2 deletions

BIN
data/print.rom Normal file

Binary file not shown.

BIN
data/serial.rom Normal file

Binary file not shown.

BIN
data/zeropad0x100.rom Normal file

Binary file not shown.

View File

@ -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")