On my ongoing journey to revive the Tektronix 4404, I have begun reverse engineering various function calls. I started with select() (which does not appear to honor the timeout) along with library calls I do have to confirm the docs are wrong wrt parameters expected. ie check the assembler.
There are also quite a few commandline commands that on disassembly clearly make use of libs that have been lost - calls to pioctl(), nstat(), nprintf() etc. Intriguing…
My workflow is to disassemble the code (68000) then just read it and write a C version. Sometimes you can figure out the arguments, sometimes its tricky.
Aer there forums / resources for doing “retro reverse engineering”? Feel like I’m making it up as I go along!
Feels like there should be - I suspect a lot happens in personal emails and youtube comments and the like. Unless you can perhaps find a mailing list or forum specifically for your kind of system.
I see there’s a tekwiki with various recent contributors - you could perhaps reach out there in the talk pages, see if anyone can help, or point to help.
Perhaps also look over related projects on github or hackaday and contact the people?
Feel free to bring people here for discussion, or to post a link here to wherever discussions are happening.
Ha. re: reverse I disassemble on OS function (eg select()) and then transcribe into C. Would like to use Ghidra but I’d have to write something that converted Tek4404 exe format into coff/elf or something.
The ST-80 kernel is pretty tiny and everything else bootstraps off it written in ST-80.
Plus, ST-80 does not have a lot of networking support which is where I’ve missing lots of information.
Good shout though, I’ll check it out.