Article View: alt.comp.lang.visualbasic.ver3
Article #52Re: VB4 16-bit and parallel port
From: Theo Meester
Date: Thu, 21 Jun 2001 19:56
Date: Thu, 21 Jun 2001 19:56
25 lines
2315 bytes
2315 bytes
"Adam Greenberg" <agreenb@uab.NOSPAM.edu> schreef in bericht news:agreenb-2106010005080001@dsl-64-34-93-149.telocity.com... > Global Const IntNum = &H17 > > 'power the device by turning on data lines > InRegs.AX = &H7 > InRegs.DX = &H0 > Call vbRealModeIntX(IntNum, InRegs, OutRegs) > 'Status Request Parameters > InRegs.AX = &H2000 <------------------------------------------ &H0200 > InRegs.DX = &H0 > TriggStat = OutRegs.AX > > 'Read from the port > Call vbRealModeIntX(IntNum, InRegs, OutRegs) > TriggStat = OutRegs.AX > Text1.Text = TriggStat > And if you change the value of InRegs.AX to &H0200 as indicated above? Regards, Theo Meester.
Technical Details
Message-ID:
<LjsY6.2227$Dc7.85130@amsnews03.chello.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!newsfeed.freenet.de!amsnews01.chello.com!amsnews03.chello.com.POSTED!not-for-mailReferences:
<agreenb-2106010005080001@dsl-64-34-93-149.telocity.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10c949,bbe90fa7170f1617 X-Google-Attributes: gid10c949,public X-Google-Thread: f5f6f,bbe90fa7170f1617 X-Google-Attributes: gidf5f6f,public X-Google-Thread: 10ab99,bbe90fa7170f1617 X-Google-Attributes: gid10ab99,public X-Google-Thread: 1023e1,bbe90fa7170f1617 X-Google-Attributes: gid1023e1,public X-Google-Thread: 108062,bbe90fa7170f1617 X-Google-Attributes: gid108062,public X-Google-ArrivalTime: 2001-06-21 13:03:19 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!newsfeed.freenet.de!amsnews01.chello.com!amsnews03.chello.com.POSTED!not-for-mail From: "Theo Meester" <theomeester@direct.a2000.nl> Newsgroups: alt.comp.lang.visualbasic.ver3,alt.lang.basic,comp.lang.basic.misc,comp.lang.basic.visual.3rdparty,cz.comp.lang.basic.visual References: <agreenb-2106010005080001@dsl-64-34-93-149.telocity.com> Subject: Re: VB4 16-bit and parallel port Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Inktomi-Trace: amsink05 993153387 9896 24.132.33.213 (21 Jun 2001 19:56:27 GMT) Message-ID: <LjsY6.2227$Dc7.85130@amsnews03.chello.com> Date: Thu, 21 Jun 2001 19:56:27 GMT NNTP-Posting-Host: 212.83.64.219 X-Complaints-To: abuse@chello.com X-Trace: amsnews03.chello.com 993153387 212.83.64.219 (Thu, 21 Jun 2001 21:56:27 MET DST) NNTP-Posting-Date: Thu, 21 Jun 2001 21:56:27 MET DST Organization: chello broadband