| |
| — | blog:pushbx:2026:0202_late_january_work_on_traclist [2026-02-02 19:08:10 +0000 Feb Mon] (current) – created ecm |
|---|
| | ====== Late January work on TracList ====== |
| | |
| | **2026-02-01** |
| | |
| | The idea of these changes is to take an existing trace listing (.tls) file of the lDOS kernel and find corresponding offsets within the MS-DOS v7.10 kernel. As they're both based on the same code base, I expect that there will be some similarities remaining. |
| | |
| | |
| | ===== TracList ===== |
| | |
| | * [[https://hg.pushbx.org/ecm/tractest/rev/ad992ea34f66|Accept line file entry with trailing opcodes]]. (These are intended to transport the additional instructions disassembled by a U command.) |
| | * [[https://hg.pushbx.org/ecm/tractest/rev/fb5a8958a49b|Store instructions multi strings]] into an array. |
| | * [[https://hg.pushbx.org/ecm/tractest/rev/2b6d8c50df0d|Open .tls files for R/W and set binmode]]. |
| | * [[https://hg.pushbx.org/ecm/tractest/rev/20ef923226f4|Add placeholder D command]] which swaps ''Unknown!'' to ''!Unknown'' for now. |
| | * [[https://hg.pushbx.org/ecm/tractest/rev/4b7e5765280e|Add simplistic D command]]. No ordering constraints are used, and only exact matches are considered (even for immediate branches). |
| | * [[https://hg.pushbx.org/ecm/tractest/rev/48bce8173bf0|Do not continue the D command's inner loop]] after an Unknown offset is replaced. |
| | * After D command found an entry, [[https://hg.pushbx.org/ecm/tractest/rev/ee6e98ae585d|only allow subsequent entries]] to be matched next. |
| | * [[https://hg.pushbx.org/ecm/tractest/rev/612e5c20d824|Add a status page]] for D (capitalised) command. |
| | * [[https://hg.pushbx.org/ecm/tractest/rev/25a06c906838|Set the status page variable]] for the D page too. |
| | * [[https://hg.pushbx.org/ecm/tractest/rev/1337f4b4a7d4|Silence a warning on using an array entry as a string]] to split into an array, the string itself is not an array. |
| | * [[https://hg.pushbx.org/ecm/tractest/rev/c1e008d5b574|Clear the line file arrays]] before reading the line file. |
| | * [[https://hg.pushbx.org/ecm/tractest/rev/35c93e44a5db|Add the dump of instructions]] to the D status page. |
| | * [[https://hg.pushbx.org/ecm/tractest/rev/87123553499c|Expand instructions in the listed order]]. |
| | * Upon a D command, [[https://hg.pushbx.org/ecm/tractest/rev/f24d870c91ef|highlight the last edits]]. |
| | |
| | |
| | ===== tractest.c ===== |
| | |
| | * [[https://hg.pushbx.org/ecm/tractest/rev/75c1fca7e413|Add additional opcodes]] to a line file line for longer disassembly. |
| | * [[https://hg.pushbx.org/ecm/tractest/rev/c9542e85e612|Parse the ;stoptrac comment]] on the debugger's command line. |
| | * Fix, [[https://hg.pushbx.org/ecm/tractest/rev/088b49729220|reset last_insbytes_amount in reinitialiseline]]. |
| | |
| | |
| | ===== prepfill.pl ===== |
| | |
| | [[https://hg.pushbx.org/ecm/tractest/rev/58883f289a50|Initial commit]]. Prepares a trace listing (.tls) file for use with the TracList D commands, by replacing every machine code offset with the "Unknown!" keyword. |
| | |
| | {{tag>traclist tractest}} |
| | |
| | |
| | ~~DISCUSSION~~ |
| |