🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#5405
From: Boba
Date: Sun, 21 Aug 2005 20:03
39 lines
2189 bytes
"Ed Mulroy" <dont_email_me@bitbuc.ket> wrote in message
news:4307238c@newsgroups.borland.com...
> The interrupts you speak of are 16 bit DOS items but C++ Builder is
for 32
> bit Windows and interrupts are banned from Win32 application programs.
> ...

When i try the following in the Command Prompt window (Windows 2000)

C:\WINNT>debug notepad.exe
-u
0B34:0000 0E            PUSH    CS
0B34:0001 1F            POP     DS
0B34:0002 BA0E00        MOV     DX,000E
0B34:0005 B409          MOV     AH,09
0B34:0007 CD21          INT     21
0B34:0009 B8014C        MOV     AX,4C01
0B34:000C CD21          INT     21
0B34:000E 54            PUSH    SP
0B34:000F 68            DB      68
0B34:0010 69            DB      69
0B34:0011 7320          JNB     0033
0B34:0013 7072          JO      0087
0B34:0015 6F            DB      6F
0B34:0016 67            DB      67
0B34:0017 7261          JB      007A
0B34:0019 6D            DB      6D
0B34:001A 206361        AND     [BP+DI+61],AH
0B34:001D 6E            DB      6E
0B34:001E 6E            DB      6E
0B34:001F 6F            DB      6F
-q

C:\WINNT>

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

Boba
Technical Details
Message-ID: <4308c149$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <spjdg1podr0h6mokjdbb7hulhko28ch37p@4ax.com> <4307238c@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: "Boba" <Boba@somewhere.world>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <spjdg1podr0h6mokjdbb7hulhko28ch37p@4ax.com> <4307238c@newsgroups.borland.com>
Subject: Re: How to call 0x21-interrupt 0x4e/0x4f (findfirst/findnext) inside a cpp-function?
Date: Sun, 21 Aug 2005 13:03:33 -0700
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 24.238.237.186
Message-ID: <4308c149$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1124647241 24.238.237.186 (21 Aug 2005 11:00:41 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail