so i finally achieved the entire point of adding this second teletype driver. an important consideration to make in ANY computer is that you’re going to be working with different screens, different sizes, and different types of interfaces.
My old teletype code was only really optimised for VGA bios (even now, it can only render 16-color bios colors). But now, to change displays, all I need is to:
- change the loaded driver from textmode.adv to bitmaptext.adv
- change the loaded display device to VGA_BITMAP… rather than VGA_TEXT
- change the boot program to initialise the display as 320x200
I plan on making only the 3rd option required through the boot program, the 1st and 2nd steps (should) hopefully happen automatically. And since we’re only dealing with ISA(80s)-compatible VGA cards, keeping the display device as an ISA device shouldn’t be that big of a problem (at least until we implement PCI discovery)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.