"wall" game for the Lamba 8300 / Power 3000

Software and Games for the Lambda 8300 / Power 3000 Computer
olofsen
Posts: 156
Joined: Wed Jan 08, 2014 12:29 pm

Re: "wall" game for the Lamba 8300 / Power 3000

Post by olofsen » Mon Aug 20, 2018 10:49 pm

Hi Martin, does the attached program display something on your Lambda?

It was created by z88dk, by changing some things for the earlier ROM.

Stefano did amazing work when adding Lambda support!
Attachments
a.p
(2.72 KiB) Downloaded 28 times

User avatar
mrtinb
Posts: 796
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: "wall" game for the Lamba 8300 / Power 3000

Post by mrtinb » Tue Aug 21, 2018 7:06 am

Works fine

Image
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

User avatar
mrtinb
Posts: 796
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: "wall" game for the Lamba 8300 / Power 3000

Post by mrtinb » Tue Aug 21, 2018 11:15 am

Are the 2 ROMs so different that z88dk needs 2 different implementation? Or are there similar entry points to the ROM? When I looked at the ROM it looked like every routine had been moved around.
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

olofsen
Posts: 156
Joined: Wed Jan 08, 2014 12:29 pm

Re: "wall" game for the Lamba 8300 / Power 3000

Post by olofsen » Tue Aug 21, 2018 6:52 pm

You're correct, most addresses are different. The display routines are also a little bit different. Fortunately, the system variables appear to be the same. Here is a hopefully working version of the "wall" game:
Attachments
wall-lambda1.p
(6.61 KiB) Downloaded 27 times
Last edited by olofsen on Wed Aug 22, 2018 10:12 pm, edited 1 time in total.

User avatar
mrtinb
Posts: 796
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: "wall" game for the Lamba 8300 / Power 3000

Post by mrtinb » Tue Aug 21, 2018 7:33 pm

I’ll test that
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

User avatar
mrtinb
Posts: 796
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: "wall" game for the Lamba 8300 / Power 3000

Post by mrtinb » Tue Aug 21, 2018 9:18 pm

The Wall game is working on Lambda 8300 Rom Version 1. However the speed is half of the ZX81. It is almost too easy at that slow speed.
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

olofsen
Posts: 156
Joined: Wed Jan 08, 2014 12:29 pm

Re: "wall" game for the Lamba 8300 / Power 3000

Post by olofsen » Tue Aug 21, 2018 9:49 pm

The game built for the newer ROM seems to be slow too (in the emulator), and slower than the one in the first post of this topic... But the zx81 version is ok. Fascinating :)

User avatar
mrtinb
Posts: 796
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: "wall" game for the Lamba 8300 / Power 3000

Post by mrtinb » Tue Aug 21, 2018 10:38 pm

So - is it your version-1-fix that slows the code? Or is your tool chain corrupted? Interesting! :)
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

User avatar
mrtinb
Posts: 796
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: "wall" game for the Lamba 8300 / Power 3000

Post by mrtinb » Wed Aug 22, 2018 9:32 am

Maybe your findings can be shared with Stefano knows what brings the delays.

Will it be possible for z88dk to create a universal Lambda binary, so there's no need for wall-lambda-rom1.p and wall-lambda-rom2.p?
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

olofsen
Posts: 156
Joined: Wed Jan 08, 2014 12:29 pm

Re: "wall" game for the Lamba 8300 / Power 3000

Post by olofsen » Wed Aug 22, 2018 10:31 pm

Yes indeed. Perhaps the Lambda version is slower because it always uses colour. There is a speed parameter for a delay in the C code, which I changed for the updated .p file above, but perhaps the delay could go negative, it is now constant.

A universal program would have to poke the JP and CALL addresses, especially for the alternate display routine, depending on the version before starting...

Next up will be a test program for the math functions :)

Post Reply