OS Development
Real and Protected Segmentation
One of things that lead to the downfall of my first attempt to write an operating system last summer was not fully understanding how segmentation works and that there are two different types depending on the CPUs mode. In real mode, segmentation is quite simple. A logical address consists of a segment and an offset. [...]
Posted in: Assembly, OS Development | No Comments »
Writing Text to the Screen in Real Mode
There are two methods for writing text to the screen in real mode, one involves the use of BIOS interrupts whilst the other involves writing directly to video memory. In my opinion, using the BIOS routine is a little overkill; it’s slow and not as “clean” as writing directly to the video memory. To start [...]
Tags: vga
Posted in: Assembly, OS Development | No Comments »