generate HGR row interleaving

This commit is contained in:
Brad Grantham 2016-11-18 23:29:57 -08:00
parent 53455ad9f3
commit dc48acbb32

33
genrows.py Normal file
View 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