2 ms·
Here is a disassembly of TP3 for CP/M-Z80, which seems well commented (I've just checked the compiler): https://web.archive.org/web/20131119042246/http://www.ci
by elvis70 5y ago
Here is a disassembly of TP3 for CP/M-Z80, which seems well commented (I've just checked the compiler): https://web.archive.org/web/20131119042246/http://www.cirsovius.de/CPM/Projekte/Disassembler/TURBO-en.html https://web.archive.org/web/20131119042246/http://www.cirsov...
And here is a disassembly for the versions 1,2,3 apparently: https://www.memotech.franken.de/CPM80/ https://www.memotech.franken.de/CPM80/
- throwaway81523 5y agoNice! Are the early msdos versions basically the same? Added: the comments in those files are better than nothing but they don't really say what the program is doing the way the original source code hopefully would. The labels are still the ones generated by the disassembler, so not very informative. Still, it's nice that someone did this and it's a good starting point for further study by anyone sufficiently motivated. If of any interest, the source code to the BDS C compiler of the same era was released here: https://www.bdsoft.com/resources/bdsc.html https://www.bdsoft.com/resources/bdsc.html
- throwaway81523 5y agoWill add this here in case anyone comes across this thread: https://pcengines.ch/tp3.htm https://pcengines.ch/tp3.htm It discusses TP 3.0's operation, supposedly based on a disassembly. It's less interesting than it sounds (it's mostly a high level overview of how a small compiler works, rather than a real study of TP internals), but it helps. Long TP discussion thread with dead link here: https://news.ycombinator.com/item?id=10202299 https://news.ycombinator.com/item?id=10202299
- elvis70 5y agoYou might also be interested by what appears to be a perfect decompilation (leaked source code?) of the IDE of Turbo Pascal 6.0 written in itself using Turbo Vision and the internal compiler/assembler/debugger : go to http://www.exmortis.narod.ru/index_eng.html http://www.exmortis.narod.ru/index_eng.html in the "Compilers" section and search for "tpascal.zip"