Page 2 of 2

Re: bugs found on eo

Posted: Sun Apr 21, 2019 11:29 am
by dr beep
It looks like my game POLICE PATROL isn't accepting keyinput anymore.

I have loaded multiple versions of the game, even version in a downloadlink that I have marked OK for distribution.
games.zip
(229.15 KiB) Downloaded 306 times

Re: bugs found on eo

Posted: Sun Apr 21, 2019 11:35 am
by dr beep
Looks like all versions were corrupt somehow. Altered the code a bit.
Now working.

Re: bugs found on eo

Posted: Sat Apr 27, 2019 4:32 pm
by dr beep
Is opcode 9 wrong in emulation?

I tried same code in EightyOne and on ZX Spin.

LD HL,#FAFF
LD BC,#501
ADD HL,BC

RET Z

In EightyOne the Z-flag is not set when result is #100000 (1 goes to C-flag, but HL becomes 0, thus Z is set)
bug_EO.png

Re: bugs found on eo

Posted: Sat Apr 27, 2019 4:57 pm
by olofsen
Per design, the Z condition bit is not affected by ADD HL,BC...

Re: bugs found on eo

Posted: Sat Apr 27, 2019 5:18 pm
by dr beep
So it is a bug in ZX Spin.