Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

Real programs don't eat cache.


programming / comp.lang.asm.x86 / need info about BIOS int 10h video pages

SubjectAuthor
* need info about BIOS int 10h video pagesbilsch01
`- Re: need info about BIOS int 10h video pagesJJ

1
Subject: need info about BIOS int 10h video pages
From: bilsch01
Newsgroups: comp.lang.asm.x86
Organization: A noiseless patient Spider
Date: Fri, 13 Dec 2019 08:24 UTC
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: king...@nospicedham.comcast.net (bilsch01)
Newsgroups: comp.lang.asm.x86
Subject: need info about BIOS int 10h video pages
Date: Fri, 13 Dec 2019 00:24:55 -0800
Organization: A noiseless patient Spider
Lines: 11
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <qsvhsp$sub$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="9e58b7c6c1fca8ed03a4cd0001aeeffc";
logging-data="31844"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/VJJil4fFHCBpy2bD5BtUwnhiJevBN3WY="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.2.2
Cancel-Lock: sha1:yqA2JH5KIkN0w1cu/mQ5SyEhYHY=
View all headers
Ralf Brown RBIL int 10h mentions pages:
ah=5 select active display page
ah=0xe bh=page number
RBIL Table 00010 has a column heading for display pages.

I searched around and can't find definition or details about the pages. What are they? How does one page differ from another? In particular are there address ranges associated with the pages?

TIA.   Bill S.



Subject: Re: need info about BIOS int 10h video pages
From: JJ
Newsgroups: comp.lang.asm.x86
Organization: albasani.net
Date: Fri, 13 Dec 2019 15:50 UTC
References: 1
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jj4pub...@nospicedham.vfemail.net (JJ)
Newsgroups: comp.lang.asm.x86
Subject: Re: need info about BIOS int 10h video pages
Date: Fri, 13 Dec 2019 22:50:19 +0700
Organization: albasani.net
Lines: 34
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <15l8nizpwbp3.1gumy1b2341in$.dlg@40tude.net>
References: <qsvhsp$sub$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="9e58b7c6c1fca8ed03a4cd0001aeeffc";
logging-data="24049"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+I8wEeFGOCwXt3dmxnVXwiTnJYECnxBOY="
User-Agent: 40tude_Dialog/2.0.15.84
Cancel-Lock: sha1:7+7oG8Tzbsw33wQhMcsBV/4tMro=
View all headers
On Fri, 13 Dec 2019 00:24:55 -0800, bilsch01 wrote:
Ralf Brown RBIL int 10h mentions pages:
ah=5 select active display page
ah=0xe bh=page number
RBIL Table 00010 has a column heading for display pages.

I searched around and can't find definition or details about the pages.
What are they? How does one page differ from another? In particular are
there address ranges associated with the pages?

TIA.   Bill S.

Video page is basically a division of the video memory of the current video
mode.

For example, in 80x25 color text mode 03h, the used video memory is at
B800:0000 to B800:7FFFF or at linear address 0xB8000 to 0xBFFFF, fot a total
of 32KB.

Each video page size for that video mode is 4096 bytes. Video page index 0
is at 0xB8000-0xB8FFF, index 1 is at 0xB9000-0xB9FFF, and so on and up to
the last index 7 at 0xBF000-0xBFFFF.

The 80x25 screen only uses 80x25x2 bytes or 4000 bytes or 0xFA0 bytes. So,
there's actually 96 bytes of unused memory at the end of each video page.

Video page for other video mode has the same concept, but with different
size of video page because the memory needed for a specific video mode
differs. e.g. 40x25 text would have 16 video pages. 320x200 16 color graphic
video mode would have 2 video pages, because it needs 32000 bytes. i.e. at
A0000-A7FFF and A8000-AFFFF. 640x200 16 color video mode would only have 1
video page because it needs 64000 bytes of memory. The remaining 1536 bytes
of A0000-AFFFF memory is not enough for another video page.



1
rocksolid light 0.7.2
clearneti2ptor