aboutsummaryrefslogtreecommitdiff
path: root/devtools/tasmrecover/tasm-recover
blob: 5f7a528a5b361c7049de331fe3f949f57b66404c (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
#!/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'
	])
generator.generate('dreamweb') #start routine