Hi again, On Fri, Jan 16, 2026 at 4:47 AM Rugxulo <[email protected]> wrote: > > If you just want a classic Pascal, I'd suggest Scott Franco's Pascal > P5. (I thought about adding OpenWatcom graphics primitives to P4 > [sic].)
I forgot to mention that Steven Pemberton's book about P4 is available online. * https://homepages.cwi.nl/~steven/pascal/book/pascalimplementation.html Note that this is a subset (but a large subset) of classic Pascal, specifically PCOM (p-code compiler) and PINT (p-code assembler / loader / interpreter). This public domain code directly inspired UCSD Pascal and Java's VM. It seems to compile and work fine via FPC -Miso , but I also used p2c to translate it to ANSI C and compiled with DJGPP, EMX, OpenWatcom. (Hence my statement about being able to maybe add OW graphics support to it, in theory.) Realistically, I just wanted a more portable version. I have not devoured nor memorized this book, but it's indeed fascinating. (You might need some guidance since "classic" Pascal is very different compared to "turbo". Scott Franco's FAQ should help.) Vaguely similar examples would be Wirth's PL/0 or Oberon/0 toy compilers. And Scott Franco wrote a BASIC in classic Pascal (included in his P5). * https://www.standardpascal.org/ * https://www.standardpascal.org/PascalP.html _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
