Did Turbo Pascal for Apple II CP/M ever support Apple II graphics modes? I have been writing some simple Pascal programs with Turbo Pascal 2.0 on my Apple II Plus with MS Softcard. I would like to add some graphics, but got errors when I tried some commands like HGR, GR or Hires. My Turbo Pascal 2.o User Manual is buried in the garage in a box somewhere and I can not find anything about Apple II graphics support via a web search.
Anonymous
User login
Please support the defense of Ukraine.
Direct or via Unclutter App
Active forum topics
Recent content
Navigation
No Ads.
No Trackers.
No Social Media.
All Content Locally Hosted.
Built on Free Software.
We have complied with zero government requests for information.
I'm pretty sure that it did not. Most CP/M software was made for easy portability between systems with the same architecture, so it was predominantly a terminal style text interface across the board.
You might dig around here
http://bitsavers.informatik.uni-stuttgart.de/pdf/borland/turbo_pascal/
I use to play a game called Aliens or something similar (space invaders clone) on CP/M in the early 80s and it used text to create the illusion of graphics.
As I remember, graphics support in Turbo Pascal was introduced with TP 3.0. I've never came across any graphics library for Turbo Pascal 2.0. Maybe someone made a 3rd party library, but I've never heard of it.
However, you can access any memory location from Turbo Pascal, so a program could do whatever the hardware was capable of doing. You'd just need to do it all yourself...
I went to the link provided and took a look at the Turbo Pascal 3.0 reference manual. It states that graphics support is only for IBM PC and compatibles (not Apple II CP/M). I did find out that the Microsoft GBASIC provided on the Microsoft Softcard disk does support Apple II graphics commands (GR, HGR, HPLOT,etc). So it looks like I can give that a try. For Pascal graphics programming on the Apple II Plus I'll stick with Apple Pascal 1.1
Actually I found one library that works, Turbo 3.0 with Hires graphics support for Apple II.
There is another one, mentioned in Applewin github by Ju-Hyun Lee - Apple II CP/M Turbo Pascal Graphics Toolbox, he posted Hires screenshots there.
Link?
After considerable Googling, I found it here:
https://github.com/AppleWin/AppleWin/issues/105
Sounds like something that needs preserving.
Cheers,
Mike