mirror of
https://github.com/blondie7575/GSCats.git
synced 2024-11-15 06:09:29 +00:00
28 lines
384 B
Python
Executable File
28 lines
384 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
|
|
|
|
def main(argv):
|
|
|
|
# Prologue
|
|
print ("vramRowEndsMinusOne:",end="")
|
|
v = 0x20a0
|
|
rowCount = 19
|
|
|
|
for jump in range(0,200):
|
|
rowCount += 1
|
|
if (rowCount==20):
|
|
print ("\n\t.word ", end="")
|
|
rowCount=0
|
|
|
|
print ("$%x" % (v-1), end="")
|
|
if (rowCount<19):
|
|
print (",", end="")
|
|
v += 160
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main(sys.argv[1:])
|
|
|