MEGA65 / mega65-core

MEGA65 FPGA core
Other
240 stars 85 forks source link

Syntax error while in SPEED 1 hangs #630

Closed dansanderson closed 1 year ago

dansanderson commented 1 year ago

Test Environment (required)

Describe the bug

  1. SPEED 1
  2. BLART (or any other invalid command)
  3. Hangs.

I can repro in either v0.9 ROM 920287 or v0.95 RC 2 ROM 920377, using either core 2f545d1 (v0.95 RC 2) or core 93d44f0 (v0.9). This is unlikely to be a regression, just something that's been around for a while.

Matrix Mode shows it is stuck near $995E for ROM 920377, and $9486 for ROM 920287. This appears to be b65.src: CheckViewScreen, "busywait for vertical blank."

Expected behavior BLART at full speed is a syntax error. It should also be a syntax error at SPEED 1.

Screenshots IMG_1071 IMG_1067 IMG_1072

dansanderson commented 1 year ago

For what it's worth, SPEED 1 then BLART does the right thing in Xemu.

dansanderson commented 1 year ago

I can reproduce this at 0.95 core master,20221012.18,93d55f0 and ROM 920377, but not at ROM 920384 with the same core. I believe this was fixed by accident due to nearby changes.