Commodore 128 Alive!

Commodore 128 => 128 programmers => C / Other => Topic started by: marquisor on July 05, 2010, 10:47 PM

Title: Turbo Pascal 3.0 CP/M features and manual
Post by: marquisor on July 05, 2010, 10:47 PM
hello fellas

is there a manual around for this?
i can't use the editor without knowing the hotkeys at least.

and what are the possibilities? gfx/sfx?

it all runs in CP/M mode so i dunno how the other hardware is addressed there.

cheers
Title: Re: Turbo Pascal 3.0 CP/M features and manual
Post by: LokalHorst on July 06, 2010, 12:53 AM
Hi marquisor,

a scan of the original TP3 manual in PDF-format, can be found here:
http://electrickery.xs4all.nl/comp/tp30/doc/info.html (http://electrickery.xs4all.nl/comp/tp30/doc/info.html)

but it doesn't contain any C128 specifics or CP/M+ (CPM3) changes.
I've patched the version 3.00a to correct some bugs related to that.
If you're interested in these, I can dig it out and link (or attach) it.
(I've later found out that there was a version 3.01a, so I might do it again, if anyone knows what has changed between those two versions)

Steve Goldsmith wrote a TP library for accessing VDC/SID & other C128 hardware, but i don't have a link at hand.
TP itself doesn't have build-in grafics or sound commands.
There was a GSX grafics extension for Amstrad computers, but as far as I know it was never ported to the C128.

Basically you access the hardware the same as outside CP/M, but if you want to use TP's 'in' and 'out' functions you'll have to patch it - it defaults to 8bit I/O addresses otherwise, or using inline ML-code instead.
example:
ld bc,0d600h ;for vdc
out (c),a

The editor uses some of the wordstar commands, if it's set up for ADM31 you can navigate with cursor keys etc. (ctrl+c returns to the main menu)
Title: Re: Turbo Pascal 3.0 CP/M features and manual
Post by: marquisor on July 06, 2010, 02:31 AM
thx for the link lokalhorst! ;)

of course a patched more bugfree version is interesting.
i found out there is some super pascal 128 for native C128 mode?! it should be faster (2MHz 6502 mode) than the Z80 stuff?! and maybe has VIC/VDC/SID includes?

i'm looking for easy programming faster than BASIC and not that complex as ASM... i was familiar with pascal back in the 90s. C/C++ i cannot handle very good yet.

Title: Re: Turbo Pascal 3.0 CP/M features and manual
Post by: airship on July 06, 2010, 04:47 AM
Check out this thread (http://www.commodore128.org/index.php?topic=2443.0).
Title: Re: Turbo Pascal 3.0 CP/M features and manual
Post by: LokalHorst on July 20, 2010, 04:00 AM
The promised updated Turbo Pascal 3.00a as 1571 disk-image-file.
(see info.txt for details)

Title: Re: Turbo Pascal 3.0 CP/M features and manual
Post by: marquisor on July 20, 2010, 05:51 AM
very nice, now it's complete, manual, bugfixed version and all.

thx to lokalhorst

as soon as i get time and on CP/M again i will try it.

10pm now...
logoff....


regards
marquisor
EhPortal 1.34 © 2025, WebDev