Generation-MSX

VPOKE,VPEEK AND ....

Posted by XX 
XX
VPOKE,VPEEK AND ....
January 06, 2005 12:27AM
HELLO,I WANT A WEBSITE WITH ENGLISH LANGUAGE TO EXPLAIN THE COMMANDS VPOKE,VPEEK,DEFUSR,USR,POKE,PEEK IN DETAILS

THANKS
Fupis
Re: VPOKE,VPEEK AND ....
January 06, 2005 02:02AM
- POKE address, number
This command allow put in a RAM address the byte you want. In MSX 1.0 BASIC address below 8000H was hiden by Basic interpreter.
Range: address 0000H to FFFFH (0 to 65535)
number 00H to FFH (0 to 255)
Syntax: for hexadecimal numbers: POKE &HF34C, &HC9
for decimal numbers: POKE 60123, 125

- PEEK (address)
This command return the value of a given address. Range and syntax are similar.

- VPOKE and VPEEK
Similar to POKE and PEEK but for VRAM (Video RAM)

- DEF USR (n) = address
Set a start point for a assembler code.

- a = USR (n)
Run the assembler code.
DISCLAIMER: DO NOT TRY THIS if you are not sure about what are you doing!

Fupis
SP, Brazil
Fupis
Re: VPOKE,VPEEK AND ....
January 06, 2005 03:00AM
For more information about POKE and PEEK and other MSX BASIC commands, write to

ayfugita [dot] cadastros [at] gmail [dot] com

Fupis,
SP, Brazil
Sorry, only registered users may post in this forum.

Click here to login