G-Pascal for C64

Posted by AussieSmitty on Thu 11 Dec 2014 11:28 AM — 13 posts, 45,590 views.

#0
I was reading with interest the post from a couple of years back 'a blast from the past'. I have a working C64 and would like to do some programming using G-Pascal but have only managed to get hold of the base product code.
When available commercially the full disk contained 14 additional programs, including a DEMO, SPRITE EDITOR, CENTRONICS PRINT (I actually have a working parallel port printer), SUB HUNT example arcade game, etc.
Just wondering if anyone knows where I could get hold of either a copy of the floppy disk (yes I have a working disk drive) or the .D64 file image of this complete version?
Australia Forum Administrator #1
I sent one to someone a while back to have it converted to a file but I don't think I received the file.
#2
Good news. I found an original disk and it looks like all the files are on it. I am in the process of recovering the programs and creating a .D64 image of the whole disk. My floppy drive is having issues reading some of the files so I may not be able to get all the programs, but should be able to get most.

Once I have the complete .D64 file done, I'll send you a copy.
Australia Forum Administrator #3
Thanks!
#4
Hi Nick,

OK, I managed to create a .D64 image using a previous .D64 image that only had the G-PASCAL.PRG program on it (version 3.0 Ser# 5060). Basically, I loaded each program I could and used G-Pascal to save to the .D64 'floppy'.

Here is what I managed to add:

adventure
bitmapped text
demo
centronics print
modem64
news
number game
paint multi
paint single
runtime create
sound editor
sprite editor
sub hunt
word wrap

Note: While 'number game' loads, compiles and runs without errors, no matter what I enter as a response the the initial prompt 'Your guess?', all I get is 'Illegal input, try again', which may imply issues with the source?

There are 3 other files that I have not been able to copy across:

prime numbers - While I can load this, it wouldn't compile as the file is corrupted.

runtime object - I was able to load this file and it appears to be OK, but I was unable to use G-Pascal to save this with the regular save command. Maybe I need another way of saving this file as I don't think it's an actual G-Pascal program file?

news file_ - The underscore is to indicate the file name has a trailing space character. Again, I don't know how to load or save this file as I don't think it is a G-Pascal file. My guess is that this is a data file that loads when news.prg is compiled and run?


My goal is to get these last remaining 3 files onto the same .D64 'floppy' (as well as fix the number game). I found the source code for prime numbers and 'guess the number' game in G-Pascal news, so I could hand type these but that will take some time.

It seems the most challenging will be the 'runtime object' and 'news file ' files, as my suspicion are these are sequential files (not programs) and need to be copied in a different way (that I haven't figured out yet how to do).

Maybe the 'news file ' may not be that important, as I suspect this is just text that is found in the news letters published separately?

Anyway, Nick, let me know where to send the .D64 'floppy' file to.

Regards,
Steve
Australia Forum Administrator #5
I sent you a PM which hopefully you got.
#6
Got your PM, and have sent you the .D64 'floppy' file.

Let me know how you go, and in the meantime, enjoy the holidays.

Regards,
Steve
Amended on Mon 29 Dec 2014 04:30 AM by AussieSmitty
#7
Number Game issue solved. It was working properly, it's just I didn't know that the game involves trying to guess a 4 digit number sequence (like Master Mind game).

Now to just get Prime Numbers, Runtime Object and 'News File ' copied over successfully and we'll have a full original G-Pascal disk.
Australia Forum Administrator #8
The file mentioned in http://www.gammon.com.au/forum/?id=11203&reply=4#reply4 did not contain those extra files, I gather?
#9
Hi Nick,

The .D64 image 'G-Pascal_v3.0' provided at the link:

http://www.gammon.com.au/GPascal/G-Pascal_v3.0.d64

Only contained the g-pascal.prg program.

The one I emailed you has all the files per my previous message above.

Steve
Australia Forum Administrator #10
Ok, I thought that might be it.
Australia Forum Administrator #11
Seems to work OK. See: http://www.gammon.com.au/forum/?id=11203&reply=17#reply17
Australia Forum Administrator #12
Quote:

runtime object - I was able to load this file and it appears to be OK, but I was unable to use G-Pascal to save this with the regular save command. Maybe I need another way of saving this file as I don't think it's an actual G-Pascal program file?


See the G-Pascal News edition 1. It mentions there how to use the runtime system.