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.
VGA VRAM Wrap
VGA VRAM Wrap
- Attachments
-
- Images.zip
- (11.53 KiB) Downloaded 329 times
-
- pcem.png (7.55 KiB) Viewed 5111 times
-
- DosBox.png (10.3 KiB) Viewed 5112 times
Re: VGA VRAM Wrap
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.
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: VGA VRAM Wrap
I suspect this varies from VGA board to VGA board. Which real board was it tested with?