Commodore 128 Alive!

Commodore 128 => 128 programmers => C / Other => Topic started by: Stephane Richard on October 07, 2006, 11:03 PM

Title: Pascal language on the 128 ?
Post by: Stephane Richard on October 07, 2006, 11:03 PM
Basically, I lost track of things for a while back in 85, went on a different platform, so though this may seem like a stupid question ;-) I'm just wondering if there ever was a pascal compiler made for the 128?  standard USCD pascal or not, just want to know if there was one, which it was, does it still exist, where could I potentially get it, etc etc...I like languages what can I say hehe.

Thanks all :-).
Title: Pascal language on the 128 ?
Post by: Style_CHM on October 08, 2006, 12:58 AM
http://www.npsnet.com/danf/cbm/languages.html#Pascal
Title: Pascal language on the 128 ?
Post by: Stephane Richard on October 08, 2006, 01:53 AM
Ah....now there's the list I was looking for :-).  thanks Style_CHM.

Wiw, this whole page is telling me I missed a whole lot about programming on the 128 ;-).  since I can't see them per se, anyone can tell me which one they would "recommend" ?

Or, possibly, like CC65, is there a cross platform Pascal Compiler available somewhere?
Title: Pascal language on the 128 ?
Post by: Style_CHM on October 08, 2006, 11:53 AM
I dont have any recommendations, since Ive never coded on c64/128 in anything but assembler.

Considering the good things Ive heard about it, have you considered BASIC8 as an option? I doubt youll find a pascal compiler that will provide graphic/sound capabilities etc.
Title: Pascal language on the 128 ?
Post by: Blacklord on October 08, 2006, 12:10 PM
Quote from: Style_CHMI dont have any recommendations, since Ive never coded on c64/128 in anything but assembler.
Not even Basic ????
Title: Pascal language on the 128 ?
Post by: Style_CHM on October 08, 2006, 12:19 PM
maybe, for about 5 minutes :)

I think I wrote a stock market simulation in BASIC, but got tired of the slow speed very quickly.

That was the great thing about including BASIC V2 in the c64 - it was so bad it literally forced everyone to go learn assembler :)
Title: Pascal language on the 128 ?
Post by: Stephane Richard on October 08, 2006, 07:03 PM
Yes I have.  like you i've heard good things about it. I am just looking at the alternatives ;-). I'm sure i'll endup in C and Assembler soon too before too long, in the mean time, yes, basic 7.0 is slow...and it's even slower than that since there's no fast mode on my emulator ;-).

So until I'm comfortable with C/Assembler looks like, so far, basic 8 will be the way to go.  I didn't read instructions or anything yet about it.  Basic 8 is a compiler right?  not just an enhancement of BASIC 7.0 am I right?



Quote from: Style_CHMI dont have any recommendations, since Ive never coded on c64/128 in anything but assembler.

Considering the good things Ive heard about it, have you considered BASIC8 as an option? I doubt youll find a pascal compiler that will provide graphic/sound capabilities etc.
Title: Pascal language on the 128 ?
Post by: Stephane Richard on October 08, 2006, 07:08 PM
Quote from: Style_CHMmaybe, for about 5 minutes :)

I think I wrote a stock market simulation in BASIC, but got tired of the slow speed very quickly.

That was the great thing about including BASIC V2 in the c64 - it was so bad it literally forced everyone to go learn assembler :)
lol, like you, back in my C-64 days I hated basic 2.0.  Instead of learning ASM though, I went and bought simon basic and s'more basic cartridges ;-).  Go figure ;-).

I did give 64 Forth a chance.  But it's a very different mentality than BASIC and Assembler.  So it didn't stick to me too well back then. s'more was my prefered language.  one reason only, it boosted teh available RAm on my 64 from the standard 38911 bytes free to 60NNN something bytes free, almost double, I wasn't complaining ;-) hehe.

EDITED: If basic 8 is not a compiler, anyone can tell me where I can get, say, blitz 128 or some other basic "compiler" so atleast I get that speed ? :-)  

thank you.
Title: Pascal language on the 128 ?
Post by: Guest on October 09, 2006, 07:34 AM
In my past experiences with Blitz! 128, it only gives you about 90% more speed, and it's a devil to debug the code when errors happen that don't happen on the uncompiled code.  If you're using VICE, just set it to 200% speed.  THe keyboard will still respond normally and you'll feel like you're in FAST mode.
Title: Pascal language on the 128 ?
Post by: Blacklord on October 09, 2006, 06:52 PM
There were Pascal interprators for the C128 -

Kyan Pascal from Kyan Software (bought out by Apple) - "Full-featured" Pascal compiler. Includes full-screen editor, support for files, pointers, record types, sets and ordinal types. Compiles to p-code or ML.

Super Pascal from Abacus Software - Full Jensen & Wirth compiler with system programming extensions, high speed DOS, built-in assembler, overlays, 11 digit arithmetic, debugging tools, graphics routines. Compiles to 6502 machine code.

(Maybe others too)

Lance
Title: Pascal language on the 128 ?
Post by: Stephane Richard on October 10, 2006, 04:56 AM
Quote from: plbyrdIn my past experiences with Blitz! 128, it only gives you about 90% more speed, and it's a devil to debug the code when errors happen that don't happen on the uncompiled code.  If you're using VICE, just set it to 200% speed.  THe keyboard will still respond normally and you'll feel like you're in FAST mode.
ok, that then rules out Blitz 128 ;-)....now, anyone can tell me what kind of speed gains I can expect from, let's say Power C?  or anything developed in CC65?

While on the subject (I asked that somewhere else) anyone ever played with the sid chip in C willing to share an example with me? or two? :-).

Thanks.
Title: Pascal language on the 128 ?
Post by: bill.mann on October 15, 2006, 12:02 PM
Quote from: Style_CHMmaybe, for about 5 minutes :)

I think I wrote a stock market simulation in BASIC, but got tired of the slow speed very quickly.

That was the great thing about including BASIC V2 in the c64 - it was so bad it literally forced everyone to go learn assembler :)
But BASIC 7 was much nicer. I *despised* the C64's Basic & when I got my 128 I couldn't believe how good it's version was. The graphics & sound commands were so much better than an arcane mix of pokes on the C64.
EhPortal 1.34 © 2025, WebDev