T E R M I N A L S
The screen in Domainatrix can be in one of 2 modes: a "text" mode and a "graphical" mode.The reason they're in quotes is that in both of them the video card is actually in a graphical mode,there's no question of CGA text,ie. B8000h any more.When a program is in "text" mode,a write() syscall causes the given text to be printed in the current font,taking its size (ie. kerning) into account.This means setting an area of memory aside for each terminal _according to its current dimensions_, because that can change according to how the current font size changes.In "graphical" mode a write() would write it to it's buffer,with it becoming actually visible when the screen is switched back to "text" mode.The "graphical" mode itself consists of the entire video memory given to the process as one of it's LDT entries. This assumes a VBE2 card,and hasn't been done yet,because we'll need a proper graphical subsystem designed,with provisions for video drivers,before we do this.All demo coders out there......game?