


The DOS installer under DosBox gives you a warning about your OS not supporting long file names (see attached images).

If you get a (misleading) error message "Load error: no DPMI - Get csdpmi*b.zip" when running your compiled executable, simply copy that file to where your executable is.Īs to the WHY, and to the reason I believe this should be considered a bug rather than anything else (e.g.
#Free pascal crt unit download#
Simply copy the files to one of your "UNITS" folders of your Free Pascal directory that is also in the units search path (I picked \UNITS\GO32V2\RTL ).ītw, the compiled executable will need the "cwsdpmi.exe" file (it's comes included in dos304full.zip and is also available as separate download, see the download location of my first post) under DOSBox. That file also contains keyboard, mouse, vesamode and video units, so if you're looking for those, you might be in luck. The missing CRT.PPU / CRT.O is in the file urtlcdos.zip under units/go32v2/rtl-console/. After fiddling around a little, and for future reference for people facing the same "basic not found" problem, it seems that the default installer under DOS (DOSBox in my case) is a little overzealous when pre-selecting (or deselecting, rather) options of a default installation - I will explain why in a moment, but first a solution for people who specifically have the "CRT missing" issue (so, for people searching by topic name).
