Page 1 of 1

QB + 16 Bit

Posted: Sat Oct 26, 2002 4:08 pm
by Guest
Hello,
i want to write and read from pc analog i/o Board a 16 bit variable , i heard its possible with PEEK and POKE ,
can someone tell me about it.
many thanks for every answer
Hans

Re: QB + 16 Bit

Posted: Mon Jun 09, 2003 4:14 pm
by frankiebaby
I do not think that it is possible wit peek and poke, they only do one byte. I think the solution is using BLOAD and BSAVE to load or save X amount of data from the segment and offset you specify.

After BSAVE-ing from the 16bit source, you can BLOAD it into a string

Re: QB + 16 Bit

Posted: Thu Jun 12, 2003 3:31 am
by Guest
If I remember correctly, Peek/Poke will only change bits of data in MEMORY.

IF this board is connected, you'll have to track down it's data segment address and then you may be able to change it directly or possibly read the bits as Frankiebaby suggested -- so long as it's data segs are in the conventional region of RAM (meaning: < 64K.)

--MiggyD