🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.asm
Article #312

BIOS & pmode

#312
From: Beanpole
Date: Sun, 25 Jun 2000 00:00
10 lines
1477 bytes
Thanks guys.
I've allocated a descriptor and set its segment base address to 0000h.
I put its handle in the gs register and read gs:46Ch.
I immediately switched to real mode and called my GetClockTicks procedure.
I converted both values to ASCII and printed them to the screen.  They jibe.
I can now address the BIOS directly from pmode without switching back and
forth.
This should save some CPU cycles and a lot of typing.
Thanks again
Beanpole
Technical Details
Message-ID: <8j58f5$shl$1@bob.news.rcn.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f7d8d,4af7843714cf16e8,start
X-Google-Attributes: gidf7d8d,public
X-Google-Thread: feaef,4af7843714cf16e8,start
X-Google-Attributes: gidfeaef,public
X-Google-Thread: 114917,4af7843714cf16e8,start
X-Google-Attributes: gid114917,public
From: "Beanpole" <beanpoleDEL@sprynet.com>
Subject: BIOS & pmode
Date: 2000/06/25
Message-ID: <8j58f5$shl$1@bob.news.rcn.net>
X-Deja-AN: 638771149
Content-Transfer-Encoding: 7bit
Approved: <johnfine@erols.com>
X-Server-Date: 25 Jun 2000 10:55:10 GMT
Content-Type: text/plain; charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700
X-Mozilla-Status: 0801
X-Complaints-To: abuse@rcn.com
X-Trace: 3gk3a8JeWCSa9BZhiU3C5LLjs7+k4JmskLGzXIvLhQY=
X-Apparently-To: clax86@yahoo.com via web1701.mail.yahoo.com
Organization: MindSpring Enterprises
X-Track: 1-1: 40
Mime-Version: 1.0
NNTP-Posting-Date: 25 Jun 2000 15:28:37 GMT
Newsgroups: alt.lang.asm,borland.public.tasm,comp.lang.asm.x86