Rem Play The Game
5 I AM THINKING OF A NUMBER BETWEEN 60 LOW. AND HIGH. . 70 WHAT IS YOUR GUESS 8U GUESS INT lt RND u gt 2S 1 82 REM 84 REM GET THE PLAYER'S ANSWER 86 REN 90 L.OSUB 10U0 10U POSITION 14,28 110 IF A GUESS THEN 290 112 REM 120 IF ACQ JESS THEN TRY HIGHER 130 IF A gt GUESS THEN TRY LOWER 140 GOTO 98 280 Y8U GOT IT 218 FOR 1 1 TO 500 NEXT 1 220 GOTO 38 970 REM JOYSTICK NUMBER SELECT 980 REM DISCUSSED LAST ISSUE 990 REM 1010 POSITION X,Y A. FOR SND 8 TO 15 'SOUND 0,10O-A, 18,15-SND NEXT SND 1020 IF ....
Printing to the Screen from Machine Language on the Atari
If you use machine language you ll find this useful. There are two techniques presented here screen output and a relocating loader. If you are machine language programming on the ATARI, it can be very advantageous to know where some of the operating system subroutines can be found. I can provide you with only one at this time, but it s one of the handier ones. This is the output subroutine for the Editor device. It accepts the full ATASCII character set, printing the displayable character on...
