Thanks for the info. I will give it a try. I was doing some DOS function calls, inline assembly, and direct hardware access with PORT[ ] commands. I just went though and commented out everything that wouldn’t work so it would compile and now I’m finding ways to make those things work. I have the bulk of it working great, still a few minor details to work out, but it’s a LOT less work than a complete rewrite!
From: fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Sven Barth Sent: Monday, July 25, 2016 6:25 PM To: FPC-Pascal users discussions <fpc-pascal@lists.freepascal.org> Subject: Re: [fpc-pascal] Textmode IDE splitscreen? Am 25.07.2016 22:52 schrieb "James Richters" <ja...@productionautomation.net <mailto:ja...@productionautomation.net> >: > I've tried Lazarus, for some reason I can't even get my program to compile > with Lazarus, I get pages of errors. Maybe I just don't know how to get > Lazarus into Turbo Pascal Compatible mode.. In your project's settings there is somewhere among the compiler options (sorry, I don't have it on front of me right now) a combobox that allows you to select the default mode. This is normally "ObjFPC", but you want to switch that to "TP". Alternatively you can add "{$mode tp}" at the top of each of your units. Please keep in mind though that quite some DOS tricks won't work when compiled on Windows (due to virtual memory, different API, etc.). Though as long as your program does not do any strange hardware accesses you should be fine. Regards, Sven
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal