|
>>> Tips and tricks <<<
POKE 30776,2 REM INVERSE TEXT ON
POKE 30776,1 REM INVERSE TEXT OFF
POKE 30779,0 REM - DISABLE BEEP AND THE SOUND COMMAND
POKE 30779,1 REM - ENABLE THE ABOVE
POKE 30779,87 REM - KEYBOARD BEEP, ORANGE SCREEN
POKE 30779,243 REM - KEYBOARD SILENT, ORANGE SCREEN
POKE 30862,80 : POKE 30863,57 : X=USR(0) REM - CURSOR DISAPPEARS
POKE 30723,17 REM - ENTER A COMMAND AND SEE WHAT HAPPENS
POKE 28670,15 REM - RESTORES ALL HI-RES GRAPHICS FROM MODE(1)
POKE 31003,175 REM - TRON
POKE 31003,0 REM - TROFF
POKE 30723,2 REM - DISBALE THE ERROR MESSAGE
POKE 30886,X REM CONTROLS THE POSITION AT WHICH THINGS ARE PRINTED
POKE 30862,212 : POKE 30863,39 : PRINT USR(X) : REM SHOWS AMOUNT OF FREE RAM
POKE 30862,212 : POKE 30863,39 : PRINT USR(X$) : REM SHOW FREE STRING SPACE
POKE 30862,249 : POKE 30863,0 : X=USR(X) : REM RESET THE VZ 200
Using the joystick
The A=(INP(N)AND31) command is used to input from joysticks.
For the left joystick, N must equal 43 to input from the joystick and fire button. N must equal 39 to input from the arm button. To input the same from the right joystick, N must be equal to 46 and 45 respectively.
The values returned to the variable A are as follows:
| Value | Directors or buttons |
| 26 | left & up |
| 25 | left & down |
| 22 | right & up |
| 21 | right & down |
| 30 | up |
| 29 | down |
| 27 | left |
| 23 | right |
| 15 | fire |
| 15 | arm |