aboutsummaryrefslogtreecommitdiff
path: root/devtools/tasmrecover/tasm-recover
blob: 54fc091f068034cda2df7bb73454f28f8b48487d (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
26
27
28
29
30
#!/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',
	'readabyte',
	'readoneblock',
	'frameoutv',
	'modifychar',
	'lockmon'
	])
generator.generate('dreamweb') #start routine