Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ Programming ➜ General ➜ G-Pascal for C64

G-Pascal for C64

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by AussieSmitty   (12 posts)  Bio
Date Thu 11 Dec 2014 11:28 AM (UTC)
Message
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?
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 21 Dec 2014 04:18 AM (UTC)
Message
I sent one to someone a while back to have it converted to a file but I don't think I received the file.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by AussieSmitty   (12 posts)  Bio
Date Reply #2 on Tue 23 Dec 2014 03:27 AM (UTC)
Message
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.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #3 on Tue 23 Dec 2014 04:16 AM (UTC)
Message
Thanks!

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by AussieSmitty   (12 posts)  Bio
Date Reply #4 on Mon 29 Dec 2014 12:56 AM (UTC)
Message
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
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #5 on Mon 29 Dec 2014 03:57 AM (UTC)
Message
I sent you a PM which hopefully you got.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by AussieSmitty   (12 posts)  Bio
Date Reply #6 on Mon 29 Dec 2014 04:26 AM (UTC)

Amended on Mon 29 Dec 2014 04:30 AM (UTC) by AussieSmitty

Message
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
Top

Posted by AussieSmitty   (12 posts)  Bio
Date Reply #7 on Mon 29 Dec 2014 09:38 PM (UTC)
Message
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.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #8 on Mon 29 Dec 2014 10:50 PM (UTC)
Message
The file mentioned in http://www.gammon.com.au/forum/?id=11203&reply=4#reply4 did not contain those extra files, I gather?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by AussieSmitty   (12 posts)  Bio
Date Reply #9 on Mon 29 Dec 2014 11:24 PM (UTC)
Message
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
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #10 on Tue 30 Dec 2014 01:19 AM (UTC)
Message
Ok, I thought that might be it.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #11 on Thu 08 Jan 2015 12:11 AM (UTC)
Message
Seems to work OK. See: http://www.gammon.com.au/forum/?id=11203&reply=17#reply17

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #12 on Fri 09 Jan 2015 05:24 AM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


33,246 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.