aboutsummaryrefslogtreecommitdiff
path: root/devtools/tasmrecover/tasm/proc.py
AgeCommit message (Collapse)Author
2011-07-19DREAMWEB: Add ScummVM headers, remove SVN keywords.Eugene Sandulenko
2011-06-22DREAMWEB: Fix bug in tasmrecover causing load/save mixupWillem Jan Palenstijn
This is a regression from c1b9adb6912 and (my commit) 287c23f1263c. It is not safe to remove opcodes from proc.stmts since labels are sometimes referenced by their offset in the list. So, instead they are now replaced by op._nop. This fixes kLoadingorsave not being set in doload(), which was visible when going to the load game menu from the startup menu.
2011-06-17DREAMWEB: clear cx after rep movs/stos commandsVladimir Menshakov
2011-06-17DREAMWEB: replaced generated code with c++ style stubsVladimir Menshakov
2011-06-16DREAMWEB: Re-optimize unbounded code blocksWillem Jan Palenstijn
This gets rid of some unused labels. We need to be careful not be optimize too much, as that could remove the very label the unbounded block was added for.
2011-06-16DREAMWEB: Try to clean up jumps to returnsWillem Jan Palenstijn
2011-06-16DREAMWEB: removed while loops from rep+stos/movs instructionsVladimir Menshakov
2011-06-16DREAMWEB: optimized consequtive movsb/w and stosb/wVladimir Menshakov
2011-06-15DREAMWEB: added unused label elimination. Does not work for some labels, but ↵Vladimir Menshakov
the most ones are gone.
2011-06-15DREAMWEB: uncommented simple ret strippingVladimir Menshakov
2011-06-15DREAMWEB: added tasm-recover toolVladimir