bradgrantham-apple2e/genrows.py

34 lines
495 B
Python
Raw Normal View History

2016-11-19 07:29:57 +00:00
row_block_addresses = [
"2000",
"2080",
"2100",
"2180",
"2200",
"2280",
"2300",
"2380",
"2028",
"20A8",
"2128",
"21A8",
"2228",
"22A8",
"2328",
"23A8",
"2050",
"20D0",
"2150",
"21D0",
"2250",
"22D0",
"2350",
"23D0",
]
for s in row_block_addresses:
number = int(s, 16) - 8192
print " ",
for i in (0, 1, 2, 3, 4, 5, 6, 7):
print "0x%04X, " % (number + i * 1024),
print