Turbo Pascal for Apple II CP/M - Graphic support?

6 posts / 0 new
Last post
Offline
Last seen: 1 week 5 days ago
Joined: Dec 21 2013 - 20:49
Posts: 51
Turbo Pascal for Apple II CP/M - Graphic support?

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.

Offline
Last seen: 1 week 1 day ago
Joined: Mar 31 2020 - 19:55
Posts: 842
I'm pretty sure that it did

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. 

Offline
Last seen: 1 day 10 hours ago
Joined: Nov 29 2020 - 19:48
Posts: 15
Turbo Pascal Manuals

You might dig around here

http://bitsavers.informatik.uni-stuttgart.de/pdf/borland/turbo_pascal/

Offline
Last seen: 1 month 1 week ago
Joined: Nov 19 2016 - 19:54
Posts: 16
I use to play a game called

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.

Offline
Last seen: 1 week 20 hours ago
Joined: Nov 7 2019 - 13:49
Posts: 113
As I remember, 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...

Offline
Last seen: 1 week 5 days ago
Joined: Dec 21 2013 - 20:49
Posts: 51
Looks like no Apple II graphics in Turbo Pascal 3.0

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

Log in or register to post comments