BIOS Interrupt Page Number

I am creating a small bootloader for x86 as a project. At the moment, I am writing several functions for processing the screen, as this is a bit tedious. Most BIOS interrupt functions include a page number argument, and I cannot say what it is for. Wikipedia has nothing to say, I think.

Does anyone know what a page number is?

thanks

+7
source share
3 answers

There is enough video memory to allow multiple text screens side by side. Page numbers allow you to double-buffer where you draw on the screen, and then when it is ready, it changes the page that is currently displayed to a new one.

See the infamous and still priceless Ralph Brown interrupt list for more details (well, a little more):

http://www.ctyme.com/intr/rb-0087.htm

In particular, look at int 0x10 AH = 0x05, which allows you to change the current visible page.

+8
source

Just use page 0, which is the current default page.

+1
source

Did you make the bootloader? if yes, then please help me, I also want to do system programming, but I encounter some problems when calling interrupts in protected mode.

0
source

Source: https://habr.com/ru/post/910114/


All Articles