Hi All,

I was getting a bit tired of all the manual work on cleaning up the 
disassembly, labeling, merging the rest of the comments… So I wrote a small 
Rust program to do all the work for me. I ended up having it clean up the 
layout as well, so everything is really nicely laid out in columns.  Anwaw,  
now I’ve got a fully labeled and cleanup up assembler file for the T102 os-rom: 
https://github.com/eriktier/RomT102Disassembly 
<https://github.com/eriktier/RomT102Disassembly>.
The files ‘t102rom.asm’ and ‘member.inc’ contain the rom image code. I’ve not 
yet processed all the mem-variables yet.
I want to keep it fairly ‘authentic’ so I’m limiting myself to 6 character 
labels.

Of course the next step now is to try an assemble it using the VirtualT (or 
alternative) assembler. This is where I’m currently running into some issues. 
I’ve created a project, added the files, also added a linker file that defines 
only a single .aseg (from 0000H to 7FFH). However, when I try to build it, 
nothing happens. No errors, mostly … nothing. So I’m sure I”m doing something 
terribly wrong, but I can’t figure out what. Anyway, I’m sure there will still 
be issues with the asm files themselves.

But… I’m really happy with how this is turning out so far. The code looks nice 
and clean. Once it builds there is mostly a lot of work left to test if it 
actually produces identical output and to start renaming all the ‘L<Address>H: 
labels to reasonable names and to finish the mem-variables (which is the least 
of the work).

Cheers,
   Erik


Reply via email to