Home » Personal collection » Acorn tapes » Commercial_Releases » box06_tape05b_acorn_amx_mouse.wav » DEMO_1

DEMO_1

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn tapes » Commercial_Releases » box06_tape05b_acorn_amx_mouse.wav
Filename: DEMO_1
Read OK:
File size: 01E0 bytes
Load address: FFFF0E00
Exec address: FFFF8023
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
   10MODE 4
   20*DESK
   30*WINDOW 5,20,30,5,   DEMO1
   40VDU 26,23,1,0;0;0;0;
   50REM  define pointer as arrow icon
   60*POINTER 80
   70REM  display pointer
   80*SHOWPOINTER
   90REPEAT
  100REM  erase and redraw pointer
  110*MOVEPOINTER
  120REM  loop until button pressed
  130UNTIL NOT INKEY-129
  140REM  erase pointer
  150*HIDEPOINTER
  160REM  set cursor to Mouse position
  170*UPDATE
  180REM  printe icon 32 at cursor position
  190*ICON 32
  200*SHOWPOINTER
  210REM  wait until button released
  220REPEAT
  230*MOVEPOINTER
  240UNTIL INKEY-129
  250GOTO 90

� 4
	*DESK
*WINDOW 5,20,30,5,   DEMO1
(� 26,23,1,0;0;0;0;
2#�  define pointer as arrow icon
<*POINTER 80
F�  display pointer
P*SHOWPOINTER
Z�
d�  erase and redraw pointer
n*MOVEPOINTER
x �  loop until button pressed
�
� � �-129
��  erase pointer
�*HIDEPOINTER
�#�  set cursor to Mouse position
�*UPDATE
�(�  printe icon 32 at cursor position
�*ICON 32
�*SHOWPOINTER
�!�  wait until button released
��
�*MOVEPOINTER
�� �-129
�
� �DZ@
�
00000000  0d 00 0a 07 eb 20 34 0d  00 14 09 2a 44 45 53 4b  |..... 4....*DESK|
00000010  0d 00 1e 1e 2a 57 49 4e  44 4f 57 20 35 2c 32 30  |....*WINDOW 5,20|
00000020  2c 33 30 2c 35 2c 20 20  20 44 45 4d 4f 31 0d 00  |,30,5,   DEMO1..|
00000030  28 16 ef 20 32 36 2c 32  33 2c 31 2c 30 3b 30 3b  |(.. 26,23,1,0;0;|
00000040  30 3b 30 3b 0d 00 32 23  f4 20 20 64 65 66 69 6e  |0;0;..2#.  defin|
00000050  65 20 70 6f 69 6e 74 65  72 20 61 73 20 61 72 72  |e pointer as arr|
00000060  6f 77 20 69 63 6f 6e 0d  00 3c 0f 2a 50 4f 49 4e  |ow icon..<.*POIN|
00000070  54 45 52 20 38 30 0d 00  46 16 f4 20 20 64 69 73  |TER 80..F..  dis|
00000080  70 6c 61 79 20 70 6f 69  6e 74 65 72 0d 00 50 10  |play pointer..P.|
00000090  2a 53 48 4f 57 50 4f 49  4e 54 45 52 0d 00 5a 05  |*SHOWPOINTER..Z.|
000000a0  f5 0d 00 64 1f f4 20 20  65 72 61 73 65 20 61 6e  |...d..  erase an|
000000b0  64 20 72 65 64 72 61 77  20 70 6f 69 6e 74 65 72  |d redraw pointer|
000000c0  0d 00 6e 10 2a 4d 4f 56  45 50 4f 49 4e 54 45 52  |..n.*MOVEPOINTER|
000000d0  0d 00 78 20 f4 20 20 6c  6f 6f 70 20 75 6e 74 69  |..x .  loop unti|
000000e0  6c 20 62 75 74 74 6f 6e  20 70 72 65 73 73 65 64  |l button pressed|
000000f0  0d 00 82 0d fd 20 ac 20  a6 2d 31 32 39 0d 00 8c  |..... . .-129...|
00000100  14 f4 20 20 65 72 61 73  65 20 70 6f 69 6e 74 65  |..  erase pointe|
00000110  72 0d 00 96 10 2a 48 49  44 45 50 4f 49 4e 54 45  |r....*HIDEPOINTE|
00000120  52 0d 00 a0 23 f4 20 20  73 65 74 20 63 75 72 73  |R...#.  set curs|
00000130  6f 72 20 74 6f 20 4d 6f  75 73 65 20 70 6f 73 69  |or to Mouse posi|
00000140  74 69 6f 6e 0d 00 aa 0b  2a 55 50 44 41 54 45 0d  |tion....*UPDATE.|
00000150  00 b4 28 f4 20 20 70 72  69 6e 74 65 20 69 63 6f  |..(.  printe ico|
00000160  6e 20 33 32 20 61 74 20  63 75 72 73 6f 72 20 70  |n 32 at cursor p|
00000170  6f 73 69 74 69 6f 6e 0d  00 be 0c 2a 49 43 4f 4e  |osition....*ICON|
00000180  20 33 32 0d 00 c8 10 2a  53 48 4f 57 50 4f 49 4e  | 32....*SHOWPOIN|
00000190  54 45 52 0d 00 d2 21 f4  20 20 77 61 69 74 20 75  |TER...!.  wait u|
000001a0  6e 74 69 6c 20 62 75 74  74 6f 6e 20 72 65 6c 65  |ntil button rele|
000001b0  61 73 65 64 0d 00 dc 05  f5 0d 00 e6 10 2a 4d 4f  |ased.........*MO|
000001c0  56 45 50 4f 49 4e 54 45  52 0d 00 f0 0b fd 20 a6  |VEPOINTER..... .|
000001d0  2d 31 32 39 0d 00 fa 0a  e5 20 8d 44 5a 40 0d ff  |-129..... .DZ@..|
000001e0
DEMO_1.m0
DEMO_1.m1
DEMO_1.m2
DEMO_1.m4
DEMO_1.m5