Page 1 of 1

Posted: Tue May 28, 2002 10:45 pm
by BackupUser
Restored from previous forum. Originally posted by Branston.

Microsofts Quickbasic 4.5 had an IN, and OUT, command. Useful as I used them to interface with an old EISA i/o interface card. Is PBs 'PeekB()' and PokeB() commands equivalent? If they are, in what format format should the be specified. i.e Hex, Binary etc., Excuse the (possibly) obvious questions.. I have looked through the forums but couldn't find anything on this topic. Thanks.

Posted: Wed May 29, 2002 7:32 am
by BackupUser
Restored from previous forum. Originally posted by Rings.

Forget IN and Out under new Window'OS's(NT,2000 and XP) .They did not work anymore.
Peek and Poke are working with User-Memory.If you want to set/get the HarwarePorts(In/Out)(For example the speaker or the LPT-Port) you can access the Ports with a external DLL and system-driver.I use the free WINIO.It works great.You can download at:
http://www.internals.com/

Its a long way to the top if you wanna .....CodeGuru

Posted: Wed May 29, 2002 8:28 am
by BackupUser
Restored from previous forum. Originally posted by Branston.

Ahhh that's exactly what I want to do! - it's been a long while since I last used QBasic. I shall certainly try that link. Very much appreciate your kind help. Thank you. :)