Page 2 of 3

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

Posted: Mon Aug 20, 2018 10:49 pm
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!

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

Posted: Tue Aug 21, 2018 7:06 am
by mrtinb
Works fine

Image

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

Posted: Tue Aug 21, 2018 11:15 am
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.

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

Posted: Tue Aug 21, 2018 6:52 pm
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:

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

Posted: Tue Aug 21, 2018 7:33 pm
by mrtinb
I’ll test that

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

Posted: Tue Aug 21, 2018 9:18 pm
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.

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

Posted: Tue Aug 21, 2018 9:49 pm
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 :)

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

Posted: Tue Aug 21, 2018 10:38 pm
by mrtinb
So - is it your version-1-fix that slows the code? Or is your tool chain corrupted? Interesting! :)

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

Posted: Wed Aug 22, 2018 9:32 am
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?

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

Posted: Wed Aug 22, 2018 10:31 pm
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 :)