Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

early Turbo Pascal quirks (Announce)

posted by Rugxulo Homepage, Usono, 28.06.2010, 07:02

> > > To be honest, the only huge benefits to using TP55 at all (IMHO)
> > > are 8086 compatibility and really small .EXE size.
> > You meant the large EXE size :) Now I've shared some COM file generating
> > code you can hopefully re-use that to get the added benefit of asm size
> > with TP5!

BTW, I know the .EXE header wastes a bit of space, but I guess they didn't figure it mattered much. Early TP (e.g. v1 or v302) only generated .COM files and also included the whole runtime inside! (Still smaller than the C alternative.) So TP55 output is actually a fair bit smaller (several kb).

Yeah, I know, those are old and odd (direct screen writes?). No longint and only v302 has paramcount/paramstr. And the codegen is slow (even moreso under DOSBox). But hey, it's kinda funny how tiny the whole compiler + runtime + editor is. ;-)

P.S. In case anybody else is wondering (like me earlier today, going crazy trying to find out), you quit the editor with ^K^D (which, AFAICT, isn't WordStar compatible, no idea where they came up with that weird combination.)

 

Complete thread:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (2 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum