sarah-walker-pcem / pcem

PCem
http://pcem-emulator.co.uk
GNU General Public License v2.0
1.51k stars 207 forks source link

CGA bug : prohibition game #13

Closed Altheos closed 3 years ago

Altheos commented 3 years ago

Describe the bug There's a rendering error using CGA graphic card and the game Prohibition (Infogrames). This game is using a CGA trick to do smooth scroll but screen is corrupted using Pcem. Screen corruption is easily observable on start screen.

To Reproduce Steps to reproduce the behavior:

  1. Run prohi
  2. Launch game choosing "Other" as video adapter and slow or high as speed
  3. Launch game using spacebar then see error

Expected behavior smooth scroll and no glitches

Screenshots Prohibiton CGA

Emulator configuration

Host machine

sarah-walker-pcem commented 3 years ago

Accesses CRTC at ports 3d0/3d1 instead of 3d4/3d5. Works on real hardware due to incomplete address decode.

I'm guessing this won't work on every CGA clone.

sarah-walker-pcem commented 3 years ago

Fixed in c82cd20.

Altheos commented 3 years ago

Thanks for the fix.