Home » Archimedes archive » Acorn Computing » 1993 06 Mega Disk.adf » 93_06 » Miscellany/SolidDrag/!SolidDrag/DragBasic

Miscellany/SolidDrag/!SolidDrag/DragBasic

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 » Archimedes archive » Acorn Computing » 1993 06 Mega Disk.adf » 93_06
Filename: Miscellany/SolidDrag/!SolidDrag/DragBasic
Read OK:
File size: 01A3 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM >AutoDrag
   20
   30DIM b% &100
   40$b%="TASK"
   50SYS "Wimp_Initialise",300,!b%,"Drag Test"
   60F%=0
   70
   80quit%=FALSE
   90REPEAT
  100SYS "Wimp_Poll",,b% TO reason%
  110CASE reason% OF
  120WHEN 0: IF INKEY(-10) AND F%=0 THEN PROCdrag
  130WHEN 7: F%=0
  140WHEN 17,18: IF b%!16=0 THEN quit%=TRUE
  150ENDCASE
  160UNTIL quit%
  170
  180SYS "Wimp_CloseDown"
  190END
  200
  210DEF PROCdrag
  220b%!8=640
  230b%!12=512
  240b%!16=700
  250b%!20=600
  260
  270SYS "DragASprite_Start",0,1,"!edit",b%+8
  280F%=1
  290ENDPROC

� >AutoDrag


� b% &100
($b%="TASK"
2,ș "Wimp_Initialise",300,!b%,"Drag Test"
<F%=0
F
Pquit%=�
Z�
d ș "Wimp_Poll",,b% � reason%
nȎ reason% �
x � 0: � �(-10) � F%=0 � �drag
�
� 7: F%=0
� � 17,18: � b%!16=0 � quit%=�
��
�� quit%
�
�ș "Wimp_CloseDown"
��
�
�� �drag
�b%!8=640
�
b%!12=512
�
b%!16=700
�
b%!20=600

+ș "DragASprite_Start",0,1,"!edit",b%+8
F%=1
"�
�
00000000  0d 00 0a 0f f4 20 3e 41  75 74 6f 44 72 61 67 0d  |..... >AutoDrag.|
00000010  00 14 04 0d 00 1e 0d de  20 62 25 20 26 31 30 30  |........ b% &100|
00000020  0d 00 28 0e 24 62 25 3d  22 54 41 53 4b 22 0d 00  |..(.$b%="TASK"..|
00000030  32 2c c8 99 20 22 57 69  6d 70 5f 49 6e 69 74 69  |2,.. "Wimp_Initi|
00000040  61 6c 69 73 65 22 2c 33  30 30 2c 21 62 25 2c 22  |alise",300,!b%,"|
00000050  44 72 61 67 20 54 65 73  74 22 0d 00 3c 08 46 25  |Drag Test"..<.F%|
00000060  3d 30 0d 00 46 04 0d 00  50 0b 71 75 69 74 25 3d  |=0..F...P.quit%=|
00000070  a3 0d 00 5a 05 f5 0d 00  64 20 c8 99 20 22 57 69  |...Z....d .. "Wi|
00000080  6d 70 5f 50 6f 6c 6c 22  2c 2c 62 25 20 b8 20 72  |mp_Poll",,b% . r|
00000090  65 61 73 6f 6e 25 0d 00  6e 10 c8 8e 20 72 65 61  |eason%..n... rea|
000000a0  73 6f 6e 25 20 ca 0d 00  78 20 c9 20 30 3a 20 e7  |son% ...x . 0: .|
000000b0  20 a6 28 2d 31 30 29 20  80 20 46 25 3d 30 20 8c  | .(-10) . F%=0 .|
000000c0  20 f2 64 72 61 67 0d 00  82 0d c9 20 37 3a 20 46  | .drag..... 7: F|
000000d0  25 3d 30 0d 00 8c 20 c9  20 31 37 2c 31 38 3a 20  |%=0... . 17,18: |
000000e0  e7 20 62 25 21 31 36 3d  30 20 8c 20 71 75 69 74  |. b%!16=0 . quit|
000000f0  25 3d b9 0d 00 96 05 cb  0d 00 a0 0b fd 20 71 75  |%=........... qu|
00000100  69 74 25 0d 00 aa 04 0d  00 b4 17 c8 99 20 22 57  |it%.......... "W|
00000110  69 6d 70 5f 43 6c 6f 73  65 44 6f 77 6e 22 0d 00  |imp_CloseDown"..|
00000120  be 05 e0 0d 00 c8 04 0d  00 d2 0b dd 20 f2 64 72  |............ .dr|
00000130  61 67 0d 00 dc 0c 62 25  21 38 3d 36 34 30 0d 00  |ag....b%!8=640..|
00000140  e6 0d 62 25 21 31 32 3d  35 31 32 0d 00 f0 0d 62  |..b%!12=512....b|
00000150  25 21 31 36 3d 37 30 30  0d 00 fa 0d 62 25 21 32  |%!16=700....b%!2|
00000160  30 3d 36 30 30 0d 01 04  04 0d 01 0e 2b c8 99 20  |0=600.......+.. |
00000170  22 44 72 61 67 41 53 70  72 69 74 65 5f 53 74 61  |"DragASprite_Sta|
00000180  72 74 22 2c 30 2c 31 2c  22 21 65 64 69 74 22 2c  |rt",0,1,"!edit",|
00000190  62 25 2b 38 0d 01 18 08  46 25 3d 31 0d 01 22 05  |b%+8....F%=1..".|
000001a0  e1 0d ff                                          |...|
000001a3