Commit Graph
11 Commits
Author SHA1 Message Date
Eugene Sandulenko 540d0260e6 DREAMWEB: Add ScummVM headers, remove SVN keywords. 2011-07-19 11:26:40 +01:00
Willem Jan Palenstijn 2551389304 DREAMWEB: Fix bug in tasmrecover causing load/save mixup
This is a regression from c1b9adb691 and (my commit) 287c23f126.

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-22 00:00:56 +02:00
Vladimir Menshakov 27890ec3e2 DREAMWEB: clear cx after rep movs/stos commands 2011-06-17 21:15:06 +04:00
Vladimir Menshakov 6fe3e63ed1 DREAMWEB: replaced generated code with c++ style stubs 2011-06-17 00:31:36 +04:00
Willem Jan Palenstijn ae67a9a958 DREAMWEB: Re-optimize unbounded code blocks
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-16 16:43:48 +02:00
Willem Jan Palenstijn 287c23f126 DREAMWEB: Try to clean up jumps to returns 2011-06-16 15:40:52 +02:00
Vladimir Menshakov d8d16e0231 DREAMWEB: removed while loops from rep+stos/movs instructions 2011-06-16 16:44:58 +04:00
Vladimir Menshakov e0efde7cf6 DREAMWEB: optimized consequtive movsb/w and stosb/w 2011-06-16 00:20:30 +04:00
Vladimir Menshakov c1b9adb691 DREAMWEB: added unused label elimination. Does not work for some labels, but the most ones are gone. 2011-06-15 23:38:44 +04:00
Vladimir Menshakov 7a47b09379 DREAMWEB: uncommented simple ret stripping 2011-06-15 22:25:16 +04:00
Vladimir 9cf2a7ba0e DREAMWEB: added tasm-recover tool 2011-06-15 17:29:44 +02:00