stella icon indicating copy to clipboard operation
stella copied to clipboard

Missing PF collisions during HMOVE blanks

Open thrust26 opened this issue 4 years ago • 3 comments

The missile is positioned at 8 and moved to 0 and back to 8 during HMOVE. The leftmost pixel of PF0 is enabled. So there should be a collision happening as it does on real hardware.

The attached test program shows the bug.

TestCXM1.zip

thrust26 avatar Nov 23 '19 20:11 thrust26

No other emulator I tested (Stellerator, z26, Javatari, MAME) gets this right either.

sa666666 avatar Nov 24 '19 01:11 sa666666

No big surprise. There are four things which must come together:

  1. HMOVE blanks
  2. playfield inside these blanks
  3. an object close to the right of the blanks
  4. a collision check between playfield and the object.

I only found this by accident, because the missiles in my new Robot City game didn't work on my Vader. And only because I needed some tricky code to display the fuel bar at the bottom.

thrust26 avatar Nov 24 '19 11:11 thrust26

Forgot to add; also confirmed on my light sixer and Jr.

sa666666 avatar Nov 24 '19 14:11 sa666666