🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #12146

Re: Interrupts

#12146
From: Vinko
Date: Sun, 24 Nov 2002 20:47
26 lines
1693 bytes
Hi!

I'm reading/writing data from/to parallel port. If interrupts are not
disabled when reading or writing from/to port, the received or transmitted
data is not proper.

Thank you.

Saso

"John Herbster (TeamB)" <herb-sci at novus-tele.net> wrote in message
news:3de10f5c@newsgroups.borland.com...
> "Vinko" <digitalsv@email.si> wrote
> > Anyone knows how to disable/enable interrupts in win2000?
>
> In general, CPU hardware interrupts cannot be disabled by
> Win2K application code.  (I think that there are some CPU
> instructions which may have an option to delay interruption
> until the next instruction.)
>
> Why do you want to disable interrupts?  There may be a
> better way to accomplish the same result.
>
> Regards, JohnH
>
>
Technical Details
Message-ID: <3de13a8e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!news.uni-x.net!newsgroups.borland.com!not-for-mail
References: <3de106d6@newsgroups.borland.com> <3de10f5c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,9121950abf299711
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2002-11-24 13:15:31 PST
From: "Vinko" <digitalsv@email.si>
Newsgroups: borland.public.delphi.nativeapi
References: <3de106d6@newsgroups.borland.com> <3de10f5c@newsgroups.borland.com>
Subject: Re: Interrupts
Date: Sun, 24 Nov 2002 21:47:20 +0100
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
NNTP-Posting-Host: 217.72.69.129
Message-ID: <3de13a8e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1038170766 217.72.69.129 (24 Nov 2002 12:46:06 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!news.uni-x.net!newsgroups.borland.com!not-for-mail