aboutsummaryrefslogtreecommitdiff
path: root/devtools/tasmrecover/tasm-recover
blob: 4c27cb59395d9d016e2f3805fee3ea95ec8e0cc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/python

from tasm.parser import parser
from tasm.cpp import cpp

p = parser()
p.strip_path = 3
context = p.parse('dreamweb/dreamweb.asm')
p.link()
generator = cpp(context, "dreamgen", blacklist = [
	'randomnumber',
	'quickquit',
	'quickquit2',
	'seecommandtail',
	'multiget',
	'multiput',
	'multidump',
	'frameoutnm', 
	'cls', 
	'printundermon',
	'worktoscreen',
	])
generator.generate('dreamweb') #start routine