I wrote an AST-based C-to-Pascal translator so I didn't have to do all the headers manually, and I was able to use it to translate things like Microsoft's MAPI headers, which were COM. As part of this app, I had to talk to several low-level telecomms boards by Dialogic, which of course only had C headers. While I did plenty of GUI stuff, my biggest project was a non-GUI teleconferencing solution that consisted of a web application that orchestrated calls using several distributed backends (or microservices as we would call them today), with RPC using Microsoft DCOM Delphi had very good COM support. I was using Borland's Pascal tools as late as 1999-2000, the last iteration being Delphi 4.0.
#Turbo pascal emulator code
Short develop-compile-debug cycle, great native performance, support for inline assembly (our image code had lots of this), and easy calling into C libs. Turbo Pascal was really ideal for writing games in. (This was before 3D acceleration, so no Direct3D, which wouldn't really have been feasible.) We were all Pascal programmers at the time, and didn't even consider using C or C++. We had to write our own bindings for DirectDraw and DirectSound, since there were no C header files we could use directly. Not sure how many games have been developed with Turbo can't be that many.
![turbo pascal emulator turbo pascal emulator](https://i.ytimg.com/vi/oMvEuZaEEq4/maxresdefault.jpg)
No matter what editor I am using (Sublime/Atom/VS Code etc.), that behaviour is ingrained in my psyche, and even if I make a single line change in my source code, I reflexively cursor OFF that line or press before I hit 'save'.īack in 1997 I was a developer on a commercial Windows game, written in Turbo Pascal (or technically, Borland Pascal). My editor was I believe one of the first ones I had seen which let you use cursor keys to move around the screen, and it let you edit a mammoth 255 lines of DOS batch code(!) :)īut it had ONE crucial bug that I never fixed - if you edited a line, you had to cursor off it or press at the end of the line for it to commit your changes from the change buffer to the in memory copy of the file, so if you saved the batch file without doing this, your last changes would not get saved.
#Turbo pascal emulator full
(Not so) Interesting side story: The menu system I talk about in my post above - I actually wrote a full screen editor for it, because I was sick of using EDLIN to edit batch files etc. It is so cool to hear everyone else's stories about their first programming jobs in Turbo Pascal.