🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #859

Re: Peek and Poke in Visual Basic 1.0 ???

#859
From: J. D. McDonald
Date: Wed, 06 Jan 1993 00:23
26 lines
1668 bytes
In article <aXcXwB1w165w@salzo.Cary.NC.US> charvel@salzo.Cary.NC.US (Jeff Cogswell) writes:

>galenr@hpgrla.gr.hp.com (Galen Raben) writes:

>> In comp.windows.ms.programmer, harti@mikro.ee.tu-berlin.de (Stefan Hartmann (
>> 
>> >I have just bought Visual Basic 1.0 standard edition and wanted
>> >to program a special hardware board inside the PC with it....
>> >  **stuff deleted **
>> 
>> Stefan,
>> It is possible, but not for the faint-of-heart.  On CompuServe (and probably
>> a good number of ftp sites as well) in the MSBASIC forum VB library the file 
>> is called "inout.zip".  The reason MS doesn't include this functionality in
>> VB 1.0 or 2.0 is that it is EXCEPTIONALLY EASY to corrupt the Windows 
>> environment by directly writing to hardware - definitely not for the average
>> software hacker (therefore MS limited their liability).

>Always be careful when using peek & poke; [they remap locations in
protected mode]

Yes, but is what he wants "peek and poke" or "in and out". In and out
do NOT change locations in protected mode. I use them all the time;
no problem. (But not using vbasic).

Doug McDonald
Technical Details
Message-ID: <mcdonald.652@aries.scs.uiuc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!crux.scs.uiuc.edu!mcdonald
References: <54540003@hpgrla.gr.hp.com> <aXcXwB1w165w@salzo.Cary.NC.US>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.tools
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!crux.scs.uiuc.edu!mcdonald
From: mcdonald@aries.scs.uiuc.edu (J. D. McDonald)
Subject: Re: Peek and Poke in Visual Basic 1.0 ???
References: <54540003@hpgrla.gr.hp.com> <aXcXwB1w165w@salzo.Cary.NC.US>
Message-ID: <mcdonald.652@aries.scs.uiuc.edu>
Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
Organization: UIUC SCS
Date: Wed, 6 Jan 1993 00:23:37 GMT
Lines: 26