You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After trying your code, it didn't really work. I see what you're trying to do, so I re-thunk the approach. By using some of the built-in BIOS calls to get the state of the character generator and loading a bogus font with a quarter the cell height, the 160x100 mode can easily be set in a more compatible way. Here was my solution - hopefully you can use it for your mode set, too: https://github.com/dschmenk/LORES/blob/main/SRC/LORES.C
The text was updated successfully, but these errors were encountered:
I'm not quite sure what you mean by "modeset note complete". This code doesn't really change mode, just twiddles the scan lines per character and total scanlines. It doesn't fundamentally change the display mode (it remains text mode).
Your code wasn't fully compatible with the VGA I used. A simple BIOS call to change the character height fixed it an a way that should work across all VGAs. I also added EGA mode set to emulate the same 160x100x16 mode, too. It was much more involved. I moved the above code file to here, if you're interested: https://github.com/dschmenk/LORES/blob/main/SRC/LIB/LORES.C
After trying your code, it didn't really work. I see what you're trying to do, so I re-thunk the approach. By using some of the built-in BIOS calls to get the state of the character generator and loading a bogus font with a quarter the cell height, the 160x100 mode can easily be set in a more compatible way. Here was my solution - hopefully you can use it for your mode set, too: https://github.com/dschmenk/LORES/blob/main/SRC/LORES.C
The text was updated successfully, but these errors were encountered: