Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!ucsd!nosc!crash!nkraft From: nkraft@crash.cts.com (Norman Kraft) Newsgroups: comp.lang.pascal Subject: Re: Writing ROMable code using Turbo Pascal (Also Turbo C and Assemb) Keywords: IBM PC Message-ID: <4423@crash.cts.com> Date: 15 Sep 90 18:26:37 GMT References: <11972@chaph.usc.edu> <1990Sep15.054458.20518@hayes.fai.alaska.edu> Organization: Crash TimeSharing, El Cajon, CA Lines: 27 In article <1990Sep15.054458.20518@hayes.fai.alaska.edu> ftpam1@acad3.fai.alaska.edu writes: >In article <11972@chaph.usc.edu>, mevawall@girtab.usc.edu (Shehzad Mevawalla) writes... >>Is it possible to write ROMable code using Turbo Pascal, Turbo C and Turbo >>Assembler? That is how can I prevent DOS and BIOS system calls in the >>executables? >> >Philip Munts N7AHL responds : > On the other hand, Turbo Pascal has OS calls liberally strewn throughout >the run-time support, and in fact generated by the compiler in-line, as well. >This makes it difficult to use Turbo Pascal on a "bare machine." In reference to ROM'ing Turbo Pascal, I recently interviewed a programmer who had done just that, even though Borland had claimed the task "impossible". I saw some of the code, though not enough to know just how he did it (He claimed that the code was proprietary to his previous employer). Anyway, he did have a ROM'ed application, in Turbo Pascal, running on a "bare" 286 board. Just thought you might like to know it can be done! -------------------------------------------------------------------------- Norman R. Kraft "Things should be as Director, Software Development simple as possible, Postal Buddy Corp., San Diego, CA but not simpler." INET nkraft@crash.cts.com - Albert Einstein UUCP {hplabs!hp-sdd ucsd nosc}!crash!nkraft --------------------------------------------------------------------------