2 ms·
I get what Turbo Vision is (was), but what's that B800 thing? Surely you aren't talking about a Celeron processor? Seems tricky to google, also no Wiki page on
by dualogy 2y ago
I get what Turbo Vision is (was), but what's that B800 thing? Surely you aren't talking about a Celeron processor? Seems tricky to google, also no Wiki page on that. You got me curious, plz spill it! =)
- anothername12 2y agoOk I think he’s referring to 0xB800, the VGA text buffer segment in real mode.
- IWeldMelons 2y agoNo not VGA, CGA actually
- vetinari 2y agoIn real mode addressing and graphic card in text mode, your video memory started at absolute address 0xb800:0x0000. It was an two-dimensional array, where you could poke and whatever you changed here, was reflected immediately on the display. Each element of the array was two bytes: character itself and color attributes.
- IWeldMelons 2y agoI think it is also 0xb800 as it is a physical address; not ionly in real mode.
- vetinari 2y agoFor physical linear address, it would be one digit (4-bits) longer (-> 0xb8000); when the segment:offset is combined, the result is 20-bit address.
- IWeldMelons 2y agoWas not my point though.
- lelanthran 2y ago0xb800 is the address of the framebuffer for text. Simply write characters to that address, using offset `((row * width) + col)` and they'll appear on screen. In graphics mode it was, IIRC, 0xa000. I once wrote a pacman-type easter egg inside the point-of-sale system[1], because doing direct graphics straight to an address is so easy and simple. [1] Was removed after pilot and before actual release.