4 ms·
This isn't just CP/M by far. I suggest the title be changed to "Digital Research Source Code", since that's what's inside the <title> tags.
by actually_a_dog 5y ago
This isn't just CP/M by far. I suggest the title be changed to "Digital Research Source Code", since that's what's inside the <title> tags.
- throwaway81523 5y agoIt is also pretty ancient, going back to 2002 or earlier for everything except the Basic/E program. Post title should reflect this. The source code I'd really like to see is Turbo Pascal 1.x or its CP/M predecessor, but I don't think that was ever released.
- pjmlp 5y agoHere you go, http://pascal.hansotten.com/delphi/turbo-pascal-on-cpm-msx-dos-and-ms-dos/ http://pascal.hansotten.com/delphi/turbo-pascal-on-cpm-msx-d...
- throwaway81523 5y agoMaybe I missed something but I see some Turbo Pascal related tools there, and some binaries of TP, and some code written in TP, but not anything that looks like the source code to TP itself. I don't think that was ever released. A well-commented disassembly would be interesting and could possibly be created by devotees, of course. I never actually used TP myself but it sounded great. These two articles made me interested in it: * https://prog21.dadgum.com/116.html https://prog21.dadgum.com/116.html * https://prog21.dadgum.com/47.html https://prog21.dadgum.com/47.html
- elvis70 5y agoHere 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"