aboutsummaryrefslogtreecommitdiff
path: root/devtools/tasmrecover/tasm-recover
blob: dfcb40bfb4169ee614a962eaaa5caddb49b330ad (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
31
32
33
34
35
36
37
38
39
40
41
42
#!/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',
	'frameoutbh',
	'frameoutfx',
	'cls', 
	'printundermon',
	'worktoscreen',
	'width160',
	'convertkey',
	'readabyte',
	'readoneblock',
	'printsprites',
	'printasprite',
	'eraseoldobs',
	'clearsprites',
	'makesprite',
	'showframe',
	'walking',
	'spriteupdate',
	'dodoor',
	'liftsprite',
	'frameoutv',
	'modifychar',
	'lockmon'
	])
generator.generate('dreamweb') #start routine