Changelog:
r45221 | rhialto | 2024-07-13 10:09:42 +0000 (Sat, 13 Jul 2024) | 13 lines
CRTC: Make the fix for bug #2054 nicer.
- Simplify the condition (a >= b + 1) to (a > b).
- Split the if/else into 2 if statements with opposite conditions.
- Swap their order because the code in the second can make the condition
of the first true and in that case we want to execute it (that's what
the goto did).
- Also get rid of the + 1 in if (ycounter + 1 >= VTOTALADJ) since it was
wrong - we now nicely got rid of TWO annoying "+ 1"s.
There was nothing to fix for cases where the VTOTALADJ register > 0,
which is fortunately most/all of the interesting test cases.
------------------------------------------------------------------------
r45220 | rhialto | 2024-07-11 17:50:16 +0000 (Thu, 11 Jul 2024) | 2 lines
De-spacify the endline.
------------------------------------------------------------------------
r45219 | rhialto | 2024-07-11 16:21:27 +0000 (Thu, 11 Jul 2024) | 12 lines
Ugly bug fix for bug #2054.
Essentially, when the screen length is set to N text lines plus 0 scan
line (CRTC_REG_VTOTALADJ == 0), the detection of getting to the end is
done 1 scan line too late. For other values of VTOTALADJ the detection
is ok. Just the case of 0 is missed the first time around by an
apparently unfortunate order of cheking conditions.
The plan is to clean up the hack by rearranging the order of the code
into something nice and without goto.
------------------------------------------------------------------------
r45218 | rhialto | 2024-07-10 18:53:27 +0000 (Wed, 10 Jul 2024) | 2 lines
Un-indent this needlessly indented code.
------------------------------------------------------------------------
r45215 | gpz | 2024-07-09 13:55:51 +0000 (Tue, 09 Jul 2024) | 1 line
remove 'userport hummer joystick adapter' from all emulators, except DTV - this device is built into the dtv-hummer and it makes no sense to support it elsewhere
------------------------------------------------------------------------