martinlindhe / dustbox-rs

DOS emulator (semi-abandoned)
https://martinlindhe.github.io/dustbox-rs/
MIT License
48 stars 7 forks source link

Implement VGA font #13

Closed martinlindhe closed 6 years ago

martinlindhe commented 6 years ago

Several of the demo-256 demos make use of the vga font which is currently not implemented. But I think they mostly use it in addition to some graphic effect, so they shouldn't necessarily give black screens.

The vga font is hard coded somewhere in the memory and documented here: http://wiki.osdev.org/VGA_Fonts

nicklaswj commented 6 years ago

But I think they mostly use it in addition to some graphic effect, so they shouldn't necessarily give black screens.

Scrolling aren't implemented either, that could however be the reason for the black screens (I think).

martinlindhe commented 6 years ago

Indeed!

nicklaswj commented 6 years ago

bob.com is text only it seems, but produces graphics that doesn't look likes it

nicklaswj commented 6 years ago

I'll look into video mode setting

martinlindhe commented 6 years ago

Initial font support in https://github.com/martinlindhe/dustbox-rs/commit/9385ba78f189725ab90e9acb55caa8baf776664b

martinlindhe commented 6 years ago

Before: before

After: after