The number 9826 is used to specify a peek or poke operation in a READIO or WRITEIO statement. If positive, a byte operation is done; if negative, a word operation is done. These combinations are shown in the table below. L specifies the address of the byte or word. If you specify a word operation and L is odd, the even address L-1 is used. V specifies the value to store into memory. L specifies an address within the HTBasic process.
READIO(9826,L) PEEK byte
READIO(-9826,L) PEEK word
WRITEIO 9826,L;V POKE byte
WRITEIO -9826,L;V POKE word
WARNING: Use PEEK and POKE only on addresses returned by READIO(9827,I)! Using other locations can cause your system to crash, data to be lost, or damage to your computer hardware. Use of this function for any other address is unsupported and TransEra cannot be held liable for any consequences.
|