dreamcast/regs/gen/systembus.py
Zack Buhman a4ac9fa4c8 systembus.h: initial
This does not yet declare any externs, as I'm not certain how those should work.
2023-10-11 15:39:55 -07:00

16 lines
332 B
Python

import sys
from sh7091 import new_writer
from sh7091 import read_input
from sh7091 import headers
from sh7091 import blocks
from generate import renderer
input_file = sys.argv[1]
rows = read_input(input_file)
process = new_writer()
render, out = renderer()
render(headers())
render(process(rows))
sys.stdout.write(out.getvalue())