New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pc_vga/cs4031: fix save state support #2127

merged 3 commits into from Mar 10, 2017


None yet
2 participants

moralrecordings commented Mar 10, 2017

The pc_vga driver contains a lot of registers for the current state that weren't really being saved. The three original lines are a facsimile of the raw VGA memory that gets updated in lock step with the easier-to-use attribute registers, but it is the registers which track the state and are used for all the logic. Patch makes VGA games survive a save state load.

Also, the CS4031 chipset driver has three registers for tracking the excerable A20 line bodge, and only two were being saved. Software using extended memory would frequently get the whole memory map ripped out from under it. Fixed by tracking the third register.

@rb6502 rb6502 merged commit 4c1b419 into mamedev:master Mar 10, 2017

2 checks passed

continuous-integration/tea the build was successful
continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment