25 Commits
Author SHA1 Message Date
Paweł Kołodziejski ebbfd826d5 ALL: Upgrade tools licence to GPLv3+ 2022-06-26 19:14:49 +02:00
Thierry Crozat d5c8077933 JANITORIAL: Move copyright notice to a separate file 2014-01-19 18:13:09 +00:00
Thierry Crozat fe2d3c2d71 JANITORIAL: Remove now useless SVN tags 2014-01-06 22:54:34 +00:00
Michael Madsen 94f63dc22b DECOMPILER: Code cleanup
Removes _instFactory and uses class names directly
Reclassify a few opcodes in Kyra, remove now unnecessary checks

svn-id: r55001
2010-12-22 12:15:33 +00:00
Michael Madsen 4e9914f57e DECOMPILER: Objectify Instruction
*Major* restructuring in this revision.
All other disassemblers will require updates.
Documentation for all of this is coming soon.

svn-id: r54904
2010-12-14 03:14:11 +00:00
Michael Madsen 0de7303c80 DECOMPILER: Replace Parameter with Value
svn-id: r54899
2010-12-13 02:08:39 +00:00
Michael Madsen b3a79b748c DECOMPILER: Use pointers to Instructions
svn-id: r54873
2010-12-12 00:15:52 +00:00
Michael Madsen ed2572b845 DECOMPILER: Add typedef for vector of instructions
svn-id: r54848
2010-12-09 22:02:02 +00:00
Michael Madsen be73a45f7d DECOMPILER: Minor code cleanup.
svn-id: r54819
2010-12-07 22:30:28 +00:00
Michael Madsen 264136a970 DECOMPILER: Add missing Doxygen comments
svn-id: r51839
2010-08-07 20:32:00 +00:00
Michael Madsen 61209d5f62 Pass in instruction vector to disassemblers
Properly fix function detection

svn-id: r51774
2010-08-06 00:11:27 +00:00
Max Horn 87055d715a Add START_SUBOPCODE_WITH_PREFIX
svn-id: r51318
2010-07-26 15:03:31 +00:00
Michael Madsen 50760720f2 Rename OPCODE_OP macro to OPCODE_MD
svn-id: r51117
2010-07-21 22:05:16 +00:00
Michael Madsen 8d011e9663 Rename _operator in Instruction to _codegenData
svn-id: r51116
2010-07-21 22:01:31 +00:00
Michael Madsen 9d888cebc1 Rework InstType
Add storage of corresponding operator to Instruction
Refactor OPCODE macro from SimpleDisassembler

svn-id: r51021
2010-07-19 09:29:57 +00:00
Michael Madsen f408eec6e3 Add support for storing opcode number as part of Instruction
Make SimpleDisassembler automatically update this field
Add opcode number to tests
Add documentation about _opcode field

svn-id: r50767
2010-07-09 18:45:32 +00:00
Michael Madsen 84506b967c Formatting fixes
svn-id: r49955
2010-06-17 22:28:23 +00:00
Johannes Schickel 98ccfb62c1 Some readability changes in the doxygen comments.
svn-id: r49397
2010-06-02 18:17:09 +00:00
Michael Madsen f02d50aaa0 Move individual parameter reading to separate method
svn-id: r49354
2010-05-31 13:09:24 +00:00
Michael Madsen d6f0cc9b1e Fix formatting of license header
svn-id: r49304
2010-05-28 22:28:06 +00:00
Michael Madsen e8ea1c1c5f Change SimpleDisassembler to more easily allow custom opcode handling
svn-id: r49295
2010-05-28 20:15:52 +00:00
Michael Madsen e6ab9fdadd Fix formatting
svn-id: r49291
2010-05-28 11:14:58 +00:00
Michael Madsen d42c7baccc Fixed missing variable initializations and comparison warning
svn-id: r49277
2010-05-27 23:23:33 +00:00
Michael Madsen a3522ff7a5 Tests for SimpleDisassembler
Added cxxtest to project (using svn:externals)
Written test cases for SimpleDisassembler (ticket #2)
Fixed bugs found from tests
Added support for single-precision floating point values as parameters

This completes the last task for Milestone 1: Disassembly framework.
Next milestone: First disassembler (SCUMMv6)

svn-id: r49272
2010-05-27 22:10:25 +00:00
Michael Madsen 6217588546 Simple disassembler, code clean-up
Added a SimpleDisassembler class to provide a wrapper for instruction 
sets with instructions of the form "opcode params".
Cleaned up decompiler driver. Added code for engine-specific 
instantiation (just disassembler for now). Added listing of engines.
Added generic dump to file to Disassembler.
Renamed executable to avoid filename conflict on *nix.
Minor bug fixes.

svn-id: r49252
2010-05-26 22:25:43 +00:00