aboutsummaryrefslogtreecommitdiff
path: root/devtools/tasmrecover/tasm-recover
blob: 27aeb326c0d2a64b9b760c6d54fd964e27ffe5e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/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',
	'width160',
	'convertkey'
	])
generator.generate('dreamweb') #start routine