ScottFreeZX ported to ColecoAdam :)

Post Reply
tschak909
Well known member
Posts: 171
Joined: Sun Sep 09, 2018 5:44 pm

ScottFreeZX ported to ColecoAdam :)

Post by tschak909 »

I took @Stefano's port of scottfree and adapted it for the ColecoAdam, and bundled it with 15 of the game database files.

Am curious, I wonder if loadgame/savegame could be implemented as just a snapshot of the data segment? ;)

-- Original announement --

I have released three 160K disk images, containing 15 Scott Adams Adventures, with a port of the ScottFree interpreter for the #ColecoAdam, on bootable CP/M disks.

Disk 1:
1) Adventureland
2) Pirate's Adventure
3) Mission Impossible
4) Voodoo Castle
5) The Count
6) Strange Odyssey

Disk 2:
7) Mystery Fun House
8) Pyramid of Doom
9) Ghost Town
10) Savage Island Part 1
11) Savage Island Part 2

Disk 3:
12) Golden Voyage
13) Sorceror of Claymore Castle
14) Return to Pirate's Isle
15) Adventures of Buckaroo Banzai

All of these can be combined onto a larger disk (e.g. 720K) and the games.txt file smashed together, if you wish.

The ZIP containing the disks is here:
https://drive.google.com/file/d/12s6wEL ... sp=sharing

The Source to the whole thing is here:
https://github.com/tschak909/scott-free-adam

And of course #FujiNet users can access the disks via the adam-apps.irata.online TNFS server.

Enjoy.

-Thom
WIN_20220128_19_35_38_Pro.jpg
WIN_20220128_19_34_21_Pro.jpg
WIN_20220128_19_33_37_Pro.jpg
You do not have the required permissions to view the files attached to this post.
stefano
Well known member
Posts: 2137
Joined: Mon Jul 16, 2007 7:39 pm

Re: ScottFreeZX ported to ColecoAdam :)

Post by stefano »

I totally love it! I'm not sure but I'm afraid that the original work does not fit anymore on a Spectrum with the ZX Microdrive because of the increased size of the libraries (e.g. the initial fcntl implementation supported only read file access mode)
tschak909
Well known member
Posts: 171
Joined: Sun Sep 09, 2018 5:44 pm

Re: ScottFreeZX ported to ColecoAdam :)

Post by tschak909 »

I put the load and save implementation in. Works great.

I just need to see if these two compiler warnings are actually an issue?

Code: Select all

zcc  +cpm -subtype=adam -O3 -D__Z88DK__ -DDEBUG -c src/ScottZX.c -o build/./src/ScottZX.c.o
src/ScottZX.c:1029:24: warning: Left shifting by more than size of object, changed to zero [-Wlimited-range]
src/ScottZX.c:1513:23: warning: Left shifting by more than size of object, changed to zero [-Wlimited-range]
zcc +cpm -subtype=adam -oadventur.com -pragma-need=ansiterminal -pragma-define:ansicolumns=51 ./build/./src/ScottZX.c.o
https://github.com/tschak909/scott-free ... ZX.c#L1029
https://github.com/tschak909/scott-free ... ZX.c#L1513

-Thom
User avatar
dom
Well known member
Posts: 2072
Joined: Sun Jul 15, 2007 10:01 pm

Re: ScottFreeZX ported to ColecoAdam :)

Post by dom »

Make it 1L << LIGHTBITSOUT - I'm not sure whether we should auto-promote the RHS in this case.

At least there's a diagnostic :)
tschak909
Well known member
Posts: 171
Joined: Sun Sep 09, 2018 5:44 pm

Re: ScottFreeZX ported to ColecoAdam :)

Post by tschak909 »

Yup, that did it. Thanks.

Gonna be bold now and see if I have enough RAM underneath to put the SmartKeys display.
-Thom
Post Reply