mirror of
https://github.com/bradgrantham/apple2e.git
synced 2024-12-29 14:29:53 +00:00
generate HGR row interleaving
This commit is contained in:
parent
53455ad9f3
commit
dc48acbb32
33
genrows.py
Normal file
33
genrows.py
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user