Page 1 of 1

VGA VRAM Wrap

Posted: Sat 24 Nov, 2018 5:44 pm
by Mills
Hi, Thanks again for this great emulator.

I think the VGA VRAM is not wrapping correctly on mode 13, (the one with only 64 Kb).

Well, it wraps, but It always thinks the vram is 256 Kb (mode X) and I have to scroll 4 pages down until it reaches address 0 of VRAM again.

Here you see a screenshot from Dosbox (it works the same on real PC), and a screenshot using PCem, Also include a test program.

Thanks a lot.

Re: VGA VRAM Wrap

Posted: Sun 25 Nov, 2018 9:51 am
by Mills
Well the code was tested it on a real VGA, and PCem is working OK. So that's not a bug, it just does not wrap around 64 KB but 256 Kb.

Re: VGA VRAM Wrap

Posted: Mon 26 Nov, 2018 11:43 am
by SarahWalker
I suspect this varies from VGA board to VGA board. Which real board was it tested with?