🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5411

Re: How to call 0x21-interrupt 0x4e/0x4f (findfirst/findnext) inside a cpp-function?

#5411
From: Andrue Cope [TeamB]
Date: Mon, 22 Aug 2005 08:39
25 lines
2163 bytes
Boba wrote:

> it makes me think that 32-bit Windows uses interrupts at least as much
> as any of the prev. ms oses.

It depends on the version of Windows. Put simply some of the interrupts
will be being used and some of them in the same way (keyboard for
instance) but from the programming POV it's completely different. WinNT
derived OSes (the proper 32-bit ones) sit on something called HAL
(Hardware Abstraction Layer) and this basically presents a fake
hardware layer for Win32. It's designed so that Microsoft (or whomever)
can create a custom HAL for their own hardware and just sit the OS
itself on top.

The 'DOS box' is actually a Windows console and when you are at the
prompt you are not in DOS, you are still in Windows. The magic bit is
that when you try to run a DOS program the console creates a VDM
(Virtual DOS Machine) to host it. Without getting too technical,
suffice to say that a VDM is basically a small PC emulator. It creates
a virtual DOS-like environment for the DOS application.

-- 
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <43098f2d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeder.wxs.nl!nntpfeed.zonnet.nl!solnet.ch!solnet.ch!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <spjdg1podr0h6mokjdbb7hulhko28ch37p@4ax.com> <4307238c@newsgroups.borland.com> <4308c149$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,62e005f4d5ce124e
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address>
Subject: Re: How to call 0x21-interrupt 0x4e/0x4f (findfirst/findnext) inside a cpp-function?
Newsgroups: borland.public.cppbuilder.nativeapi
References: <spjdg1podr0h6mokjdbb7hulhko28ch37p@4ax.com> <4307238c@newsgroups.borland.com> <4308c149$1@newsgroups.borland.com>
Date: Mon, 22 Aug 2005 09:39:32 +0100
User-Agent: XanaNews/1.17.5.9
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 217.207.223.34
Message-ID: <43098f2d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1124699949 217.207.223.34 (22 Aug 2005 01:39:09 -0700)
Lines: 25
X-Authenticated-User: acope
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeder.wxs.nl!nntpfeed.zonnet.nl!solnet.ch!solnet.ch!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail