IDE emulation: add support code for 32-bit PIO
finish adding 32-bit PIO emulation
add option to enable/disable 32-bit IDE PIO, and even to emulate some
mid 1990's laptop quirk where 32-bit PIO is outright ignored.
move "power of 2" macro to support header
remove another save-state variable
remove fastmem, write new 16-color VGA planar rendering code
bugfix: VGA cursor, foreground color and location.
add support for changing hpel per scanline. some early Demoscene
programs take advantage of that to make the screen shimmer or waver. Not
very many VGA chipsets allow it (only ATI chipsets as far as I know
allow this to occur), so it is disabled by default.
remove linewise option
reminder to self
test results
remove unused "changes" handlers.
update results
more
EGA/VGA emulation now emulates CGA modes the way VGA cards usually do
it: 320x200x4-color mode is handled with odd/even mode the same way
alphanumeric mode is handled and each group of 8 pixels spans bitplanes
0 and 1. 640x200x2-color mode is handled the same on VGA as the MCGA
640x480x2-color mode, where all bitmap data is written to bitplane 0,
only that the CGA version of the mode has A13 remapped for CGA
interlacing.
completed machine=vgaonly DOS VM save/restore tests in Windows 3.11 and
Windows 95. Looks like my CGA fixups allow it to work for all standard
VGA modes now, at least when machine=vgaonly.
DOS VM tests completed: machine=svga_s3
more test results
according to bloodbat, my implementation had the GUS panning register
backwards. Patch applied.
Future Crew "Second Reality" disco seizure bugfix: 16-color planar
render code needs to adjust templine by pixels (32bpp) not bytes, so
that panning renders correctly.