"wall" game for the Lamba 8300 / Power 3000

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

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

Post by olofsen »

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 528 times
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

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

Post by mrtinb »

Works fine

Image
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

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

Post by mrtinb »

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
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
olofsen
Posts: 189
Joined: Wed Jan 08, 2014 12:29 pm

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

Post by olofsen »

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 526 times
Last edited by olofsen on Wed Aug 22, 2018 10:12 pm, edited 1 time in total.
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

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

Post by mrtinb »

I’ll test that
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

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

Post by mrtinb »

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
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
olofsen
Posts: 189
Joined: Wed Jan 08, 2014 12:29 pm

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

Post by olofsen »

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: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

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

Post by mrtinb »

So - is it your version-1-fix that slows the code? Or is your tool chain corrupted? Interesting! :)
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

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

Post by mrtinb »

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
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
olofsen
Posts: 189
Joined: Wed Jan 08, 2014 12:29 pm

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

Post by olofsen »

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