• Please review our updated Terms and Rules here

Apple II Pascal-Where to Start?

krebizfan

Veteran Member
Joined
May 23, 2009
Messages
5,537
Location
Connecticut
I will have to try those images later. Normally, Apple Pascal (and all other UCSD Pascal variants) would start with a menu bar on top and a welcome note.

You may need to contact a Virtual II support site. Problems may be that the images downloaded got corrupted or Virtual II is not setup correctly.

Edit: Under AppleWin, the disk images work as I expected.
 
Last edited:

CP/M User

Veteran Member
Joined
May 2, 2003
Messages
2,986
Location
Back of Burke (Guday!), Australia
OK, 6502 assembly language is fun to learn, but I'm not going to be coding anything fun for quite awhile. So, might as well go back to Pascal. How do I get started doing Pascal programming on an Apple II E or earlier? I tried downloading the files off apple2info.net, but now I need a file named "System.Apple".

I can't believe programming on an older system is so complicated.

Maybe it would be easier for you to use something PC based like CC65 : - http://cc65.github.io/cc65/index.html

If you don't mind using a C based compiler?

If a programming language required multiple disks just to load it, how much of your computers memory is it using up and leaving you for your program?
Resorting to a PC based language maybe a pain in transferring that program to the computer, though would give you the advantage of writing larger stuff.
 

Oldcoder

Member
Joined
Feb 28, 2021
Messages
49
I can load the disks into an online emulator and they appear to work fine, atleast after I double unpack them first. The disk images are packed into a single .zip but the dsk files are individually gz compressed.

The emulator seems happy to boot Apple Pascal ok.

BTW how do I get the images onto real disks that I can boot a real Apple ][ Europlus from?
My Europlus does not have a serial card and I have not found a PC controller that can generate GCR disks only FM or MFM.

My 8 bit Z80 is fine as it has a 3740 floppy drive so can boot a standard UCSD ADAPTZ distribution disk.

Is there either a GCR controller for a PC or an MFM controller for the Europlus or some other way to create the physical disks.

Thanks

Peter
 

whartung

Veteran Member
Joined
Apr 23, 2020
Messages
616
You may not be aware, but the Apple Pascal disks are NOT Apple DOS disks. You can't just transfer files to and from them, they have their own OS and disk format.

So if you want to boot these on an Apple, you need full disk images to do so. I have no idea how that's done, but the point being you couldn't simply download some files and copy them to a generic Apple floppy and expect it to work.
 

HoJoPo

Veteran Member
Joined
Feb 4, 2012
Messages
777
Location
Northern Nevada
I can load the disks into an online emulator and they appear to work fine, atleast after I double unpack them first. The disk images are packed into a single .zip but the dsk files are individually gz compressed.

The emulator seems happy to boot Apple Pascal ok.

BTW how do I get the images onto real disks that I can boot a real Apple ][ Europlus from?
My Europlus does not have a serial card and I have not found a PC controller that can generate GCR disks only FM or MFM.

My 8 bit Z80 is fine as it has a 3740 floppy drive so can boot a standard UCSD ADAPTZ distribution disk.

Is there either a GCR controller for a PC or an MFM controller for the Europlus or some other way to create the physical disks.

Thanks

Peter

You can use ADTPro to make physical disks from images: https://adtpro.com/

You'll need the correct cable to connect to the computer, though you can transfer using the cassette interface and an audio cable if you don't have a serial interface on your Apple II Europlus.
 

Oldcoder

Member
Joined
Feb 28, 2021
Messages
49
You may not be aware, but the Apple Pascal disks are NOT Apple DOS disks. You can't just transfer files to and from them, they have their own OS and disk format.

So if you want to boot these on an Apple, you need full disk images to do so. I have no idea how that's done, but the point being you couldn't simply download some files and copy them to a generic Apple floppy and expect it to work.

Thanks,

Yes I am aware. My problem is going from a PC environment with MFM disks drives to GCR disks in the Apple world.

HoJoPo has suggested that ADTPro can transfer using an audio cable. I'll investigate that one further.

I have .dsk files that are block copies of the APPLE Pascal disks, they seem to work fine on the Online Apple ][ emulator.
https://virtualconsoles.com/online-emulators/apple-ii/


Peter
 

Oldcoder

Member
Joined
Feb 28, 2021
Messages
49
From what I have read I presume that the cassette is Apple's own and not Kansas City / Cuts compatible?
 

Oldcoder

Member
Joined
Feb 28, 2021
Messages
49
On a releated topic.

How much memory is available to the P-system?

Reading Jim Sather's Understanding the Apple II it would appear that the Screen either knocks out 2K from low memory (40 Char text mode) or 18K (2k for the VDU + 16K for the High Res graphics). My Z80 system has a straight 56 K ( 0000 - DFFF) of RAM for the P-system to use and that is tight on space for compiling code. Screen and HRG is i/o mapped not memory mapped.

eg what happens for TurtleGraphics programs? Does the P-system really loose 18K from the middle making the largest contiguous memory block only some 27k.

Peter
 

marksmithhfx

New Member
Joined
Sep 1, 2022
Messages
7
Location
London, UK
There are a four 5.25 disks in the Apple Pascal sets. It's possible to build a 3.5 disk containing the complete Pascal 1.3 environment.

For Pascal 1.0/1.1/1.2, you need at least the apple1: (boot) and apple0: (program) disks.

Here's a good page with a link to the manuals and disk images: http://apple2info.net/index.php?title=Apple_II_Pascal

Page 147 of the Apple 2 Pascal Language Reference guide covers a single drive startup (boot from apple1:, then swap it for apple0: ). For a two drive system, put apple1: in drive 1, apple2: in drive 2.

A great guide to Pascal on the apple 2 is available for download here: http://apple2online.com/web_documents/Apple Pascal A Hands-On Approach Manual KBS.pdf

More books here: http://apple2online.com/index.php?p=1_17_Programming-Languages
Hi, Apple2Info is no longer online. Can you recommend an alternative for manual and disk images (mostly interested in the later). Thanks
 

marksmithhfx

New Member
Joined
Sep 1, 2022
Messages
7
Location
London, UK
@marksmithhfx you can use Archive.org to access pages that have gone away:


Since you’re new here, please introduce yourself, in the appropriate topic.

- Alex
Thanks Alex. I'd forgotten about WayBack. I downloaded them, loaded them in Virtual II and booted up. Don't much about the setup yet (SO much to read LoL), but it seems to be working. BTW, I was interested in the link HoJoPo posted which he referenced as a great guide to Pascal on the Apple 2 (http://apple2online.com/web_documents/Apple Pascal A Hands-On Approach Manual KBS.pdf) Unfortunately I could not find the guide at that location, or its hidden very well on the site. However, with a little sleuthing I did locate a copy at: http://pascal.hansotten.com/uploads/ucsd/apple/ii/Apple Pascal - A Hands-on Approach.pdf

The only downside is that after the cover page all the remaining pages are rotated left 90º, which is tad tiring to read. I'm in the process or rotating them all back to normal and will post a copy or link here when I am done.

BTW, kudos to whoever wrote this forum software. I have been clicking back and forth between pages 1 and 2 in this thread and it never lost my "reply in progress", unlike some other systems I've visited.

Thanks again for the help. I will certainly go look for an appropriate forum to introduce myself.

Cheers,
Mark
 
Last edited:

ajacocks

VCF MA Committee Member
Staff member
Joined
Jan 21, 2011
Messages
803
Location
Middletown, Maryland USA
Glad I could help!

Thanks so much for fixing the manuals. That will help a ton of folks. When you are done, archive.org or bitsavers.org are good places to host the manuals, even better if both.

We really like Xenforo. There was quite a bit of trouble with the old Forum software (vBulletin), so it's really nice to have it work as smoothly as it has been.

- Alex
 

marksmithhfx

New Member
Joined
Sep 1, 2022
Messages
7
Location
London, UK
Thanks HoJoPo. That version is way better but when I went to save it both the Save As and Export as PDF options were unavailable. Do you know another way to grab a copy? Cheers

Mark
 

HoJoPo

Veteran Member
Joined
Feb 4, 2012
Messages
777
Location
Northern Nevada
Top