Home » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199510.adf » AW1095_1 » Freeware/Games/!OddBall/!RunImage

Freeware/Games/!OddBall/!RunImage

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 » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199510.adf » AW1095_1
Filename: Freeware/Games/!OddBall/!RunImage
Read OK:
File size: 0DE8 bytes
Load address: 0000
Exec address: 0000
File contents
   10
   20ON ERROR PROCerror:PROCfinish:END
   30DIM mes 256, menu &200, mblock 20
   40memreq=720*1024
   50SYS "XOS_CLI","RMEnsure UtilityModule 3.00" TO ;vsn
   60SYS "Wimp_Initialise",200,&4B534154,"OddBall",0 TO ,t_handle
   70SYS "Wimp_OpenTemplate",,"OddBall:Templates"
   80DIM info &800
   90iconsize=&800
  100DIM icons iconsize
  110SYS "Wimp_LoadTemplate",,info,icons,icons+iconsize,-1,"ProgInfo",0 TO ,,,,,,flag
  120IF flag=0 THEN ERROR 0,"Template not found"
  130SYS "Wimp_CreateWindow",,info TO w_info
  140SYS "Wimp_CloseTemplate"
  150PROCiconbar
  160dec=0:ctr=100:arm=FALSE
  170SYS "Sound_Enable",0 TO sound:sound-=1
  180music=1
  190REPEAT
  200SYS "Wimp_Poll",-(dec=0),mes TO E
  210CASE E OF
  220 WHEN 2 :SYS "Wimp_OpenWindow",,mes
  230 WHEN 3 :SYS "Wimp_CloseWindow",,mes
  240 WHEN 6 :PROCmouseclick
  250 WHEN 9 :PROCmenuclick
  260 WHEN 17,18:PROCreceive
  270 WHEN 19:PROCack
  280ENDCASE
  290ctr-=dec
  300UNTIL ctr<=0
  310PROCfinish
  320OSCLI "Exec OddBall:Code.DeskQuit"
  330END
  340
  350DEFPROCmouseclick
  360IF mes!12=-2 AND mes!16=h_bar THEN
  370 CASE mes!8 OF
  380  WHEN 2: PROCmakemenu
  390  WHEN 4: PROCplay
  400 ENDCASE
  410ENDIF
  420ENDPROC
  430
  440DEFPROCmenuclick
  450SYS "Wimp_GetPointerInfo",,mblock
  460
  470CASE mes!0 OF
  480 WHEN 0:SYS "Wimp_CreateMenu",0,w_info,!mblock-64,mblock!4
  490
  500 WHEN 1:PROCplay
  510 WHEN 2:PROCopentext
  520 WHEN 3:sound=1-sound
  530 WHEN 4:music=1-music
  540 WHEN 5:PROCfinish:END
  550ENDCASE
  560IF (mblock!8 AND 1)=1 AND !mes<>0 PROCmakemenu:REM SYS "Wimp_CreateMenu",-1,menu
  570ENDPROC
  580
  590DEFPROCplay
  600OSCLI "SetEval OddBallSound "+STR$(sound)
  610OSCLI "SetEval OddBallMusic "+STR$(music)
  620SYS "Wimp_SlotSize",-1,-1 TO ,,free
  630SYS "OS_Module",5 TO ,,rmasize
  640IF (rmasize<&28000 AND (vsn AND 1 ) = 1) THEN free=-1
  650OSCLI "SetEval OddBallReset 0"
  660reset=FALSE
  670IF free<memreq THEN OSCLI "SetEval OddBallReset 1":reset=TRUE
  680IF (reset) THEN PROCloadreset ELSE PROCload
  690ENDPROC
  700
  710DEFPROCload
  720SYS "Hourglass_On"
  730VOICES 8
  740SYS "Wimp_StartTask","OddBall:Code.Start"
  750ENDPROC
  760
  770DEFPROCloadreset
  780IF (FNquery<>1) THEN ENDPROC
  790
  800IF (vsn AND 1) = 1 THEN
  810REM RISC OS 2 Shutdown
  820 SYS "Wimp_ProcessKey",&1FC
  840ELSE
  850REM RISC OS 3 Shutdown
  860 SYS "TaskManager_Shutdown",1
  880ENDIF
  881arm=TRUE
  890ENDPROC
  900
  910DEFFNquery
  920!mes=0
  930$(mes+4)="There is not enough free memory to run OddBall.  Click OK to close down the Desktop and run the game, otherwise click cancel."
  940SYS "Wimp_ReportError",mes,19,"Query from OddBall" TO ,reply
  950=reply
  960
  970DEFPROCmakemenu
  980$menu="OddBall"
  990menu!12=&70207
 1000menu!16=208
 1010menu!20=44
 1020menu!24=0
 1030menu!28=0
 1040menu!32=w_info
 1050menu!36=1+(7<<24)
 1060$(menu+40)="Info"
 1070menu!52=0
 1080menu!56=0
 1090menu!60=1+(7<<24)
 1100$(menu+64)="Play"
 1110menu!76=0
 1120menu!80=0
 1130menu!84=1+(7<<24)
 1140$(menu+88)="Instructions"
 1150menu!100=1-sound
 1160menu!104=0
 1170menu!108=1+(7<<24)
 1180$(menu+112)="Silent Start"
 1190menu!124=music
 1200menu!128=0
 1210menu!132=1+(7<<24)
 1220$(menu+136)="Load Music"
 1230menu!148=128
 1240menu!152=0
 1250menu!156=1+(7<<24)
 1260$(menu+160)="Quit"
 1270SYS "Wimp_CreateMenu",-1,menu,!mes-64,272+44*2
 1280ENDPROC
 1290
 1300DEFPROCopentext
 1310SYS "Wimp_GetPointerInfo",,mblock
 1320!mes=256
 1330mes!12=0
 1340mes!16=5
 1350mes!20=w_info
 1360
 1370mes!28=mblock!0
 1380mes!32=mblock!4
 1390mes!36=0
 1400mes!40=&fff
 1410$(mes+44)="OddBall:!Help"
 1420SYS "Wimp_SendMessage",18,mes,0
 1430ENDPROC
 1440
 1450DEFPROCack
 1460IF mes!4=t_handle AND mes!16=5 THEN SYS "Wimp_StartTask","Run OddBall:!Help"
 1470ENDPROC
 1480
 1490DEFPROCreceive
 1500IF mes!16 <> 0 THEN ENDPROC
 1511IF arm=TRUE THEN
 1512  dec=1
 1513ELSE
 1514  PROCfinish
 1515  END
 1516ENDIF
 1530ENDPROC
 1540
 1550
 1560DEFPROCiconbar
 1570!mes=-1
 1580mes!4=0
 1590mes!8=0
 1600mes!12=68
 1610mes!16=68
 1620mes!20=&2002
 1630$(mes+24)="!oddball"
 1640SYS "Wimp_CreateIcon",,mes TO h_bar
 1650ENDPROC
 1660
 1670DEFPROCfinish
 1680SYS "Wimp_CloseDown",t_handle,&4B534154
 1690ENDPROC
 1700
 1710DEFPROCerror
 1720LOCAL ERROR
 1730ON ERROR ERROR EXT ERR, REPORT$:PROCfinish:END
 1740!mes=ERR
 1750$(mes+4)=REPORT$+" at line "+STR$ERL+CHR$0
 1760SYS "Wimp_ReportError",mes,1,"OddBall"
 1770ENDPROC
 1780


� � �error:�finish:�
#� mes 256, menu &200, mblock 20
(memreq=720*1024
25ș "XOS_CLI","RMEnsure UtilityModule 3.00" � ;vsn
<>ș "Wimp_Initialise",200,&4B534154,"OddBall",0 � ,t_handle
F/ș "Wimp_OpenTemplate",,"OddBall:Templates"
P� info &800
Ziconsize=&800
d� icons iconsize
nRș "Wimp_LoadTemplate",,info,icons,icons+iconsize,-1,"ProgInfo",0 � ,,,,,,flag
x'� flag=0 � � 0,"Template not found"
�)ș "Wimp_CreateWindow",,info � w_info
�ș "Wimp_CloseTemplate"
��iconbar
�dec=0:ctr=100:arm=�
�(ș "Sound_Enable",0 � sound:sound-=1
�music=1
��
�#ș "Wimp_Poll",-(dec=0),mes � E
�
Ȏ E �
�# � 2 :ș "Wimp_OpenWindow",,mes
�$ � 3 :ș "Wimp_CloseWindow",,mes
� � 6 :�mouseclick
� � 9 :�menuclick
 � 17,18:�receive
 � 19:�ack
�
"ctr-=dec
,� ctr<=0
6�finish
@"� "Exec OddBall:Code.DeskQuit"
J�
T
^��mouseclick
h � mes!12=-2 � mes!16=h_bar �
r Ȏ mes!8 �
|  � 2: �makemenu
�  � 4: �play
� �
��
��
�
���menuclick
�$ș "Wimp_GetPointerInfo",,mblock
�
�Ȏ mes!0 �
�: � 0:ș "Wimp_CreateMenu",0,w_info,!mblock-64,mblock!4
�
� � 1:�play
� � 2:�opentext
 � 3:sound=1-sound
 � 4:music=1-music
 � 5:�finish:�
&�
0J� (mblock!8 � 1)=1 � !mes<>0 �makemenu:� SYS "Wimp_CreateMenu",-1,menu
:�
D
N
��play
X&� "SetEval OddBallSound "+�(sound)
b&� "SetEval OddBallMusic "+�(music)
l%ș "Wimp_SlotSize",-1,-1 � ,,free
v ș "OS_Module",5 � ,,rmasize
�1� (rmasize<&28000 � (vsn � 1 ) = 1) � free=-1
�� "SetEval OddBallReset 0"
�reset=�
�6� free<memreq � � "SetEval OddBallReset 1":reset=�
�"� (reset) � �loadreset � �load
��
�
�
��load
�ș "Hourglass_On"
�Ƞ 8
�,ș "Wimp_StartTask","OddBall:Code.Start"
��
�
��loadreset
� (�query<>1) � �

 � (vsn � 1) = 1 �
*� RISC OS 2 Shutdown
4 ș "Wimp_ProcessKey",&1FC
H�
R� RISC OS 3 Shutdown
\  ș "TaskManager_Shutdown",1
p�
q	arm=�
z�
�
�ݤquery
�
!mes=0
��$(mes+4)="There is not enough free memory to run OddBall.  Click OK to close down the Desktop and run the game, otherwise click cancel."
�>ș "Wimp_ReportError",mes,19,"Query from OddBall" � ,reply
�
=reply
�
���makemenu
�$menu="OddBall"
�menu!12=&70207
�menu!16=208
�menu!20=44
�
menu!24=0

menu!28=0
menu!32=w_info
menu!36=1+(7<<24)
$$(menu+40)="Info"
.
menu!52=0
8
menu!56=0
Bmenu!60=1+(7<<24)
L$(menu+64)="Play"
V
menu!76=0
`
menu!80=0
jmenu!84=1+(7<<24)
t$(menu+88)="Instructions"
~menu!100=1-sound
�menu!104=0
�menu!108=1+(7<<24)
�$(menu+112)="Silent Start"
�menu!124=music
�menu!128=0
�menu!132=1+(7<<24)
�$(menu+136)="Load Music"
�menu!148=128
�menu!152=0
�menu!156=1+(7<<24)
�$(menu+160)="Quit"
�1ș "Wimp_CreateMenu",-1,menu,!mes-64,272+44*2
�


��opentext
$ș "Wimp_GetPointerInfo",,mblock
(!mes=256
2mes!12=0
<mes!16=5
Fmes!20=w_info
P
Zmes!28=mblock!0
dmes!32=mblock!4
nmes!36=0
xmes!40=&fff
�$(mes+44)="OddBall:!Help"
�"ș "Wimp_SendMessage",18,mes,0
��
�
�	��ack
�I� mes!4=t_handle � mes!16=5 � ș "Wimp_StartTask","Run OddBall:!Help"
��
�
�
��receive
�� mes!16 <> 0 � �
�
� arm=� �
�  dec=1
��
�
  �finish
�  �
��
��



��iconbar
"!mes=-1
,mes!4=0
6mes!8=0
@
mes!12=68
J
mes!16=68
Tmes!20=&2002
^$(mes+24)="!oddball"
h%ș "Wimp_CreateIcon",,mes � h_bar
r�
|
���finish
�*ș "Wimp_CloseDown",t_handle,&4B534154
��
�
���error
�� �
�� � � � �, �$:�finish:�
�
!mes=�
�!$(mes+4)=�$+" at line "+Þ+�0
�)ș "Wimp_ReportError",mes,1,"OddBall"
��
�
�
00000000  0d 00 0a 04 0d 00 14 18  ee 20 85 20 f2 65 72 72  |......... . .err|
00000010  6f 72 3a f2 66 69 6e 69  73 68 3a e0 0d 00 1e 23  |or:.finish:....#|
00000020  de 20 6d 65 73 20 32 35  36 2c 20 6d 65 6e 75 20  |. mes 256, menu |
00000030  26 32 30 30 2c 20 6d 62  6c 6f 63 6b 20 32 30 0d  |&200, mblock 20.|
00000040  00 28 13 6d 65 6d 72 65  71 3d 37 32 30 2a 31 30  |.(.memreq=720*10|
00000050  32 34 0d 00 32 35 c8 99  20 22 58 4f 53 5f 43 4c  |24..25.. "XOS_CL|
00000060  49 22 2c 22 52 4d 45 6e  73 75 72 65 20 55 74 69  |I","RMEnsure Uti|
00000070  6c 69 74 79 4d 6f 64 75  6c 65 20 33 2e 30 30 22  |lityModule 3.00"|
00000080  20 b8 20 3b 76 73 6e 0d  00 3c 3e c8 99 20 22 57  | . ;vsn..<>.. "W|
00000090  69 6d 70 5f 49 6e 69 74  69 61 6c 69 73 65 22 2c  |imp_Initialise",|
000000a0  32 30 30 2c 26 34 42 35  33 34 31 35 34 2c 22 4f  |200,&4B534154,"O|
000000b0  64 64 42 61 6c 6c 22 2c  30 20 b8 20 2c 74 5f 68  |ddBall",0 . ,t_h|
000000c0  61 6e 64 6c 65 0d 00 46  2f c8 99 20 22 57 69 6d  |andle..F/.. "Wim|
000000d0  70 5f 4f 70 65 6e 54 65  6d 70 6c 61 74 65 22 2c  |p_OpenTemplate",|
000000e0  2c 22 4f 64 64 42 61 6c  6c 3a 54 65 6d 70 6c 61  |,"OddBall:Templa|
000000f0  74 65 73 22 0d 00 50 0f  de 20 69 6e 66 6f 20 26  |tes"..P.. info &|
00000100  38 30 30 0d 00 5a 11 69  63 6f 6e 73 69 7a 65 3d  |800..Z.iconsize=|
00000110  26 38 30 30 0d 00 64 14  de 20 69 63 6f 6e 73 20  |&800..d.. icons |
00000120  69 63 6f 6e 73 69 7a 65  0d 00 6e 52 c8 99 20 22  |iconsize..nR.. "|
00000130  57 69 6d 70 5f 4c 6f 61  64 54 65 6d 70 6c 61 74  |Wimp_LoadTemplat|
00000140  65 22 2c 2c 69 6e 66 6f  2c 69 63 6f 6e 73 2c 69  |e",,info,icons,i|
00000150  63 6f 6e 73 2b 69 63 6f  6e 73 69 7a 65 2c 2d 31  |cons+iconsize,-1|
00000160  2c 22 50 72 6f 67 49 6e  66 6f 22 2c 30 20 b8 20  |,"ProgInfo",0 . |
00000170  2c 2c 2c 2c 2c 2c 66 6c  61 67 0d 00 78 27 e7 20  |,,,,,,flag..x'. |
00000180  66 6c 61 67 3d 30 20 8c  20 85 20 30 2c 22 54 65  |flag=0 . . 0,"Te|
00000190  6d 70 6c 61 74 65 20 6e  6f 74 20 66 6f 75 6e 64  |mplate not found|
000001a0  22 0d 00 82 29 c8 99 20  22 57 69 6d 70 5f 43 72  |"...).. "Wimp_Cr|
000001b0  65 61 74 65 57 69 6e 64  6f 77 22 2c 2c 69 6e 66  |eateWindow",,inf|
000001c0  6f 20 b8 20 77 5f 69 6e  66 6f 0d 00 8c 1b c8 99  |o . w_info......|
000001d0  20 22 57 69 6d 70 5f 43  6c 6f 73 65 54 65 6d 70  | "Wimp_CloseTemp|
000001e0  6c 61 74 65 22 0d 00 96  0c f2 69 63 6f 6e 62 61  |late".....iconba|
000001f0  72 0d 00 a0 17 64 65 63  3d 30 3a 63 74 72 3d 31  |r....dec=0:ctr=1|
00000200  30 30 3a 61 72 6d 3d a3  0d 00 aa 28 c8 99 20 22  |00:arm=....(.. "|
00000210  53 6f 75 6e 64 5f 45 6e  61 62 6c 65 22 2c 30 20  |Sound_Enable",0 |
00000220  b8 20 73 6f 75 6e 64 3a  73 6f 75 6e 64 2d 3d 31  |. sound:sound-=1|
00000230  0d 00 b4 0b 6d 75 73 69  63 3d 31 0d 00 be 05 f5  |....music=1.....|
00000240  0d 00 c8 23 c8 99 20 22  57 69 6d 70 5f 50 6f 6c  |...#.. "Wimp_Pol|
00000250  6c 22 2c 2d 28 64 65 63  3d 30 29 2c 6d 65 73 20  |l",-(dec=0),mes |
00000260  b8 20 45 0d 00 d2 0a c8  8e 20 45 20 ca 0d 00 dc  |. E...... E ....|
00000270  23 20 c9 20 32 20 3a c8  99 20 22 57 69 6d 70 5f  |# . 2 :.. "Wimp_|
00000280  4f 70 65 6e 57 69 6e 64  6f 77 22 2c 2c 6d 65 73  |OpenWindow",,mes|
00000290  0d 00 e6 24 20 c9 20 33  20 3a c8 99 20 22 57 69  |...$ . 3 :.. "Wi|
000002a0  6d 70 5f 43 6c 6f 73 65  57 69 6e 64 6f 77 22 2c  |mp_CloseWindow",|
000002b0  2c 6d 65 73 0d 00 f0 15  20 c9 20 36 20 3a f2 6d  |,mes.... . 6 :.m|
000002c0  6f 75 73 65 63 6c 69 63  6b 0d 00 fa 14 20 c9 20  |ouseclick.... . |
000002d0  39 20 3a f2 6d 65 6e 75  63 6c 69 63 6b 0d 01 04  |9 :.menuclick...|
000002e0  15 20 c9 20 31 37 2c 31  38 3a f2 72 65 63 65 69  |. . 17,18:.recei|
000002f0  76 65 0d 01 0e 0e 20 c9  20 31 39 3a f2 61 63 6b  |ve.... . 19:.ack|
00000300  0d 01 18 05 cb 0d 01 22  0c 63 74 72 2d 3d 64 65  |.......".ctr-=de|
00000310  63 0d 01 2c 0c fd 20 63  74 72 3c 3d 30 0d 01 36  |c..,.. ctr<=0..6|
00000320  0b f2 66 69 6e 69 73 68  0d 01 40 22 ff 20 22 45  |..finish..@". "E|
00000330  78 65 63 20 4f 64 64 42  61 6c 6c 3a 43 6f 64 65  |xec OddBall:Code|
00000340  2e 44 65 73 6b 51 75 69  74 22 0d 01 4a 05 e0 0d  |.DeskQuit"..J...|
00000350  01 54 04 0d 01 5e 10 dd  f2 6d 6f 75 73 65 63 6c  |.T...^...mousecl|
00000360  69 63 6b 0d 01 68 20 e7  20 6d 65 73 21 31 32 3d  |ick..h . mes!12=|
00000370  2d 32 20 80 20 6d 65 73  21 31 36 3d 68 5f 62 61  |-2 . mes!16=h_ba|
00000380  72 20 8c 0d 01 72 0f 20  c8 8e 20 6d 65 73 21 38  |r ...r. .. mes!8|
00000390  20 ca 0d 01 7c 14 20 20  c9 20 32 3a 20 f2 6d 61  | ...|.  . 2: .ma|
000003a0  6b 65 6d 65 6e 75 0d 01  86 10 20 20 c9 20 34 3a  |kemenu....  . 4:|
000003b0  20 f2 70 6c 61 79 0d 01  90 06 20 cb 0d 01 9a 05  | .play.... .....|
000003c0  cd 0d 01 a4 05 e1 0d 01  ae 04 0d 01 b8 0f dd f2  |................|
000003d0  6d 65 6e 75 63 6c 69 63  6b 0d 01 c2 24 c8 99 20  |menuclick...$.. |
000003e0  22 57 69 6d 70 5f 47 65  74 50 6f 69 6e 74 65 72  |"Wimp_GetPointer|
000003f0  49 6e 66 6f 22 2c 2c 6d  62 6c 6f 63 6b 0d 01 cc  |Info",,mblock...|
00000400  04 0d 01 d6 0e c8 8e 20  6d 65 73 21 30 20 ca 0d  |....... mes!0 ..|
00000410  01 e0 3a 20 c9 20 30 3a  c8 99 20 22 57 69 6d 70  |..: . 0:.. "Wimp|
00000420  5f 43 72 65 61 74 65 4d  65 6e 75 22 2c 30 2c 77  |_CreateMenu",0,w|
00000430  5f 69 6e 66 6f 2c 21 6d  62 6c 6f 63 6b 2d 36 34  |_info,!mblock-64|
00000440  2c 6d 62 6c 6f 63 6b 21  34 0d 01 ea 04 0d 01 f4  |,mblock!4.......|
00000450  0e 20 c9 20 31 3a f2 70  6c 61 79 0d 01 fe 12 20  |. . 1:.play.... |
00000460  c9 20 32 3a f2 6f 70 65  6e 74 65 78 74 0d 02 08  |. 2:.opentext...|
00000470  16 20 c9 20 33 3a 73 6f  75 6e 64 3d 31 2d 73 6f  |. . 3:sound=1-so|
00000480  75 6e 64 0d 02 12 16 20  c9 20 34 3a 6d 75 73 69  |und.... . 4:musi|
00000490  63 3d 31 2d 6d 75 73 69  63 0d 02 1c 12 20 c9 20  |c=1-music.... . |
000004a0  35 3a f2 66 69 6e 69 73  68 3a e0 0d 02 26 05 cb  |5:.finish:...&..|
000004b0  0d 02 30 4a e7 20 28 6d  62 6c 6f 63 6b 21 38 20  |..0J. (mblock!8 |
000004c0  80 20 31 29 3d 31 20 80  20 21 6d 65 73 3c 3e 30  |. 1)=1 . !mes<>0|
000004d0  20 f2 6d 61 6b 65 6d 65  6e 75 3a f4 20 53 59 53  | .makemenu:. SYS|
000004e0  20 22 57 69 6d 70 5f 43  72 65 61 74 65 4d 65 6e  | "Wimp_CreateMen|
000004f0  75 22 2c 2d 31 2c 6d 65  6e 75 0d 02 3a 05 e1 0d  |u",-1,menu..:...|
00000500  02 44 04 0d 02 4e 0a dd  f2 70 6c 61 79 0d 02 58  |.D...N...play..X|
00000510  26 ff 20 22 53 65 74 45  76 61 6c 20 4f 64 64 42  |&. "SetEval OddB|
00000520  61 6c 6c 53 6f 75 6e 64  20 22 2b c3 28 73 6f 75  |allSound "+.(sou|
00000530  6e 64 29 0d 02 62 26 ff  20 22 53 65 74 45 76 61  |nd)..b&. "SetEva|
00000540  6c 20 4f 64 64 42 61 6c  6c 4d 75 73 69 63 20 22  |l OddBallMusic "|
00000550  2b c3 28 6d 75 73 69 63  29 0d 02 6c 25 c8 99 20  |+.(music)..l%.. |
00000560  22 57 69 6d 70 5f 53 6c  6f 74 53 69 7a 65 22 2c  |"Wimp_SlotSize",|
00000570  2d 31 2c 2d 31 20 b8 20  2c 2c 66 72 65 65 0d 02  |-1,-1 . ,,free..|
00000580  76 20 c8 99 20 22 4f 53  5f 4d 6f 64 75 6c 65 22  |v .. "OS_Module"|
00000590  2c 35 20 b8 20 2c 2c 72  6d 61 73 69 7a 65 0d 02  |,5 . ,,rmasize..|
000005a0  80 31 e7 20 28 72 6d 61  73 69 7a 65 3c 26 32 38  |.1. (rmasize<&28|
000005b0  30 30 30 20 80 20 28 76  73 6e 20 80 20 31 20 29  |000 . (vsn . 1 )|
000005c0  20 3d 20 31 29 20 8c 20  66 72 65 65 3d 2d 31 0d  | = 1) . free=-1.|
000005d0  02 8a 1e ff 20 22 53 65  74 45 76 61 6c 20 4f 64  |.... "SetEval Od|
000005e0  64 42 61 6c 6c 52 65 73  65 74 20 30 22 0d 02 94  |dBallReset 0"...|
000005f0  0b 72 65 73 65 74 3d a3  0d 02 9e 36 e7 20 66 72  |.reset=....6. fr|
00000600  65 65 3c 6d 65 6d 72 65  71 20 8c 20 ff 20 22 53  |ee<memreq . . "S|
00000610  65 74 45 76 61 6c 20 4f  64 64 42 61 6c 6c 52 65  |etEval OddBallRe|
00000620  73 65 74 20 31 22 3a 72  65 73 65 74 3d b9 0d 02  |set 1":reset=...|
00000630  a8 22 e7 20 28 72 65 73  65 74 29 20 8c 20 f2 6c  |.". (reset) . .l|
00000640  6f 61 64 72 65 73 65 74  20 8b 20 f2 6c 6f 61 64  |oadreset . .load|
00000650  0d 02 b2 05 e1 0d 02 bc  04 0d 02 c6 0a dd f2 6c  |...............l|
00000660  6f 61 64 0d 02 d0 15 c8  99 20 22 48 6f 75 72 67  |oad...... "Hourg|
00000670  6c 61 73 73 5f 4f 6e 22  0d 02 da 08 c8 a0 20 38  |lass_On"...... 8|
00000680  0d 02 e4 2c c8 99 20 22  57 69 6d 70 5f 53 74 61  |...,.. "Wimp_Sta|
00000690  72 74 54 61 73 6b 22 2c  22 4f 64 64 42 61 6c 6c  |rtTask","OddBall|
000006a0  3a 43 6f 64 65 2e 53 74  61 72 74 22 0d 02 ee 05  |:Code.Start"....|
000006b0  e1 0d 02 f8 04 0d 03 02  0f dd f2 6c 6f 61 64 72  |...........loadr|
000006c0  65 73 65 74 0d 03 0c 15  e7 20 28 a4 71 75 65 72  |eset..... (.quer|
000006d0  79 3c 3e 31 29 20 8c 20  e1 0d 03 16 04 0d 03 20  |y<>1) . ....... |
000006e0  15 e7 20 28 76 73 6e 20  80 20 31 29 20 3d 20 31  |.. (vsn . 1) = 1|
000006f0  20 8c 0d 03 2a 18 f4 20  52 49 53 43 20 4f 53 20  | ...*.. RISC OS |
00000700  32 20 53 68 75 74 64 6f  77 6e 0d 03 34 1e 20 c8  |2 Shutdown..4. .|
00000710  99 20 22 57 69 6d 70 5f  50 72 6f 63 65 73 73 4b  |. "Wimp_ProcessK|
00000720  65 79 22 2c 26 31 46 43  0d 03 48 05 cc 0d 03 52  |ey",&1FC..H....R|
00000730  18 f4 20 52 49 53 43 20  4f 53 20 33 20 53 68 75  |.. RISC OS 3 Shu|
00000740  74 64 6f 77 6e 0d 03 5c  20 20 c8 99 20 22 54 61  |tdown..\  .. "Ta|
00000750  73 6b 4d 61 6e 61 67 65  72 5f 53 68 75 74 64 6f  |skManager_Shutdo|
00000760  77 6e 22 2c 31 0d 03 70  05 cd 0d 03 71 09 61 72  |wn",1..p....q.ar|
00000770  6d 3d b9 0d 03 7a 05 e1  0d 03 84 04 0d 03 8e 0b  |m=...z..........|
00000780  dd a4 71 75 65 72 79 0d  03 98 0a 21 6d 65 73 3d  |..query....!mes=|
00000790  30 0d 03 a2 8c 24 28 6d  65 73 2b 34 29 3d 22 54  |0....$(mes+4)="T|
000007a0  68 65 72 65 20 69 73 20  6e 6f 74 20 65 6e 6f 75  |here is not enou|
000007b0  67 68 20 66 72 65 65 20  6d 65 6d 6f 72 79 20 74  |gh free memory t|
000007c0  6f 20 72 75 6e 20 4f 64  64 42 61 6c 6c 2e 20 20  |o run OddBall.  |
000007d0  43 6c 69 63 6b 20 4f 4b  20 74 6f 20 63 6c 6f 73  |Click OK to clos|
000007e0  65 20 64 6f 77 6e 20 74  68 65 20 44 65 73 6b 74  |e down the Deskt|
000007f0  6f 70 20 61 6e 64 20 72  75 6e 20 74 68 65 20 67  |op and run the g|
00000800  61 6d 65 2c 20 6f 74 68  65 72 77 69 73 65 20 63  |ame, otherwise c|
00000810  6c 69 63 6b 20 63 61 6e  63 65 6c 2e 22 0d 03 ac  |lick cancel."...|
00000820  3e c8 99 20 22 57 69 6d  70 5f 52 65 70 6f 72 74  |>.. "Wimp_Report|
00000830  45 72 72 6f 72 22 2c 6d  65 73 2c 31 39 2c 22 51  |Error",mes,19,"Q|
00000840  75 65 72 79 20 66 72 6f  6d 20 4f 64 64 42 61 6c  |uery from OddBal|
00000850  6c 22 20 b8 20 2c 72 65  70 6c 79 0d 03 b6 0a 3d  |l" . ,reply....=|
00000860  72 65 70 6c 79 0d 03 c0  04 0d 03 ca 0e dd f2 6d  |reply..........m|
00000870  61 6b 65 6d 65 6e 75 0d  03 d4 13 24 6d 65 6e 75  |akemenu....$menu|
00000880  3d 22 4f 64 64 42 61 6c  6c 22 0d 03 de 12 6d 65  |="OddBall"....me|
00000890  6e 75 21 31 32 3d 26 37  30 32 30 37 0d 03 e8 0f  |nu!12=&70207....|
000008a0  6d 65 6e 75 21 31 36 3d  32 30 38 0d 03 f2 0e 6d  |menu!16=208....m|
000008b0  65 6e 75 21 32 30 3d 34  34 0d 03 fc 0d 6d 65 6e  |enu!20=44....men|
000008c0  75 21 32 34 3d 30 0d 04  06 0d 6d 65 6e 75 21 32  |u!24=0....menu!2|
000008d0  38 3d 30 0d 04 10 12 6d  65 6e 75 21 33 32 3d 77  |8=0....menu!32=w|
000008e0  5f 69 6e 66 6f 0d 04 1a  15 6d 65 6e 75 21 33 36  |_info....menu!36|
000008f0  3d 31 2b 28 37 3c 3c 32  34 29 0d 04 24 15 24 28  |=1+(7<<24)..$.$(|
00000900  6d 65 6e 75 2b 34 30 29  3d 22 49 6e 66 6f 22 0d  |menu+40)="Info".|
00000910  04 2e 0d 6d 65 6e 75 21  35 32 3d 30 0d 04 38 0d  |...menu!52=0..8.|
00000920  6d 65 6e 75 21 35 36 3d  30 0d 04 42 15 6d 65 6e  |menu!56=0..B.men|
00000930  75 21 36 30 3d 31 2b 28  37 3c 3c 32 34 29 0d 04  |u!60=1+(7<<24)..|
00000940  4c 15 24 28 6d 65 6e 75  2b 36 34 29 3d 22 50 6c  |L.$(menu+64)="Pl|
00000950  61 79 22 0d 04 56 0d 6d  65 6e 75 21 37 36 3d 30  |ay"..V.menu!76=0|
00000960  0d 04 60 0d 6d 65 6e 75  21 38 30 3d 30 0d 04 6a  |..`.menu!80=0..j|
00000970  15 6d 65 6e 75 21 38 34  3d 31 2b 28 37 3c 3c 32  |.menu!84=1+(7<<2|
00000980  34 29 0d 04 74 1d 24 28  6d 65 6e 75 2b 38 38 29  |4)..t.$(menu+88)|
00000990  3d 22 49 6e 73 74 72 75  63 74 69 6f 6e 73 22 0d  |="Instructions".|
000009a0  04 7e 14 6d 65 6e 75 21  31 30 30 3d 31 2d 73 6f  |.~.menu!100=1-so|
000009b0  75 6e 64 0d 04 88 0e 6d  65 6e 75 21 31 30 34 3d  |und....menu!104=|
000009c0  30 0d 04 92 16 6d 65 6e  75 21 31 30 38 3d 31 2b  |0....menu!108=1+|
000009d0  28 37 3c 3c 32 34 29 0d  04 9c 1e 24 28 6d 65 6e  |(7<<24)....$(men|
000009e0  75 2b 31 31 32 29 3d 22  53 69 6c 65 6e 74 20 53  |u+112)="Silent S|
000009f0  74 61 72 74 22 0d 04 a6  12 6d 65 6e 75 21 31 32  |tart"....menu!12|
00000a00  34 3d 6d 75 73 69 63 0d  04 b0 0e 6d 65 6e 75 21  |4=music....menu!|
00000a10  31 32 38 3d 30 0d 04 ba  16 6d 65 6e 75 21 31 33  |128=0....menu!13|
00000a20  32 3d 31 2b 28 37 3c 3c  32 34 29 0d 04 c4 1c 24  |2=1+(7<<24)....$|
00000a30  28 6d 65 6e 75 2b 31 33  36 29 3d 22 4c 6f 61 64  |(menu+136)="Load|
00000a40  20 4d 75 73 69 63 22 0d  04 ce 10 6d 65 6e 75 21  | Music"....menu!|
00000a50  31 34 38 3d 31 32 38 0d  04 d8 0e 6d 65 6e 75 21  |148=128....menu!|
00000a60  31 35 32 3d 30 0d 04 e2  16 6d 65 6e 75 21 31 35  |152=0....menu!15|
00000a70  36 3d 31 2b 28 37 3c 3c  32 34 29 0d 04 ec 16 24  |6=1+(7<<24)....$|
00000a80  28 6d 65 6e 75 2b 31 36  30 29 3d 22 51 75 69 74  |(menu+160)="Quit|
00000a90  22 0d 04 f6 31 c8 99 20  22 57 69 6d 70 5f 43 72  |"...1.. "Wimp_Cr|
00000aa0  65 61 74 65 4d 65 6e 75  22 2c 2d 31 2c 6d 65 6e  |eateMenu",-1,men|
00000ab0  75 2c 21 6d 65 73 2d 36  34 2c 32 37 32 2b 34 34  |u,!mes-64,272+44|
00000ac0  2a 32 0d 05 00 05 e1 0d  05 0a 04 0d 05 14 0e dd  |*2..............|
00000ad0  f2 6f 70 65 6e 74 65 78  74 0d 05 1e 24 c8 99 20  |.opentext...$.. |
00000ae0  22 57 69 6d 70 5f 47 65  74 50 6f 69 6e 74 65 72  |"Wimp_GetPointer|
00000af0  49 6e 66 6f 22 2c 2c 6d  62 6c 6f 63 6b 0d 05 28  |Info",,mblock..(|
00000b00  0c 21 6d 65 73 3d 32 35  36 0d 05 32 0c 6d 65 73  |.!mes=256..2.mes|
00000b10  21 31 32 3d 30 0d 05 3c  0c 6d 65 73 21 31 36 3d  |!12=0..<.mes!16=|
00000b20  35 0d 05 46 11 6d 65 73  21 32 30 3d 77 5f 69 6e  |5..F.mes!20=w_in|
00000b30  66 6f 0d 05 50 04 0d 05  5a 13 6d 65 73 21 32 38  |fo..P...Z.mes!28|
00000b40  3d 6d 62 6c 6f 63 6b 21  30 0d 05 64 13 6d 65 73  |=mblock!0..d.mes|
00000b50  21 33 32 3d 6d 62 6c 6f  63 6b 21 34 0d 05 6e 0c  |!32=mblock!4..n.|
00000b60  6d 65 73 21 33 36 3d 30  0d 05 78 0f 6d 65 73 21  |mes!36=0..x.mes!|
00000b70  34 30 3d 26 66 66 66 0d  05 82 1d 24 28 6d 65 73  |40=&fff....$(mes|
00000b80  2b 34 34 29 3d 22 4f 64  64 42 61 6c 6c 3a 21 48  |+44)="OddBall:!H|
00000b90  65 6c 70 22 0d 05 8c 22  c8 99 20 22 57 69 6d 70  |elp"...".. "Wimp|
00000ba0  5f 53 65 6e 64 4d 65 73  73 61 67 65 22 2c 31 38  |_SendMessage",18|
00000bb0  2c 6d 65 73 2c 30 0d 05  96 05 e1 0d 05 a0 04 0d  |,mes,0..........|
00000bc0  05 aa 09 dd f2 61 63 6b  0d 05 b4 49 e7 20 6d 65  |.....ack...I. me|
00000bd0  73 21 34 3d 74 5f 68 61  6e 64 6c 65 20 80 20 6d  |s!4=t_handle . m|
00000be0  65 73 21 31 36 3d 35 20  8c 20 c8 99 20 22 57 69  |es!16=5 . .. "Wi|
00000bf0  6d 70 5f 53 74 61 72 74  54 61 73 6b 22 2c 22 52  |mp_StartTask","R|
00000c00  75 6e 20 4f 64 64 42 61  6c 6c 3a 21 48 65 6c 70  |un OddBall:!Help|
00000c10  22 0d 05 be 05 e1 0d 05  c8 04 0d 05 d2 0d dd f2  |"...............|
00000c20  72 65 63 65 69 76 65 0d  05 dc 15 e7 20 6d 65 73  |receive..... mes|
00000c30  21 31 36 20 3c 3e 20 30  20 8c 20 e1 0d 05 e7 0d  |!16 <> 0 . .....|
00000c40  e7 20 61 72 6d 3d b9 20  8c 0d 05 e8 0b 20 20 64  |. arm=. .....  d|
00000c50  65 63 3d 31 0d 05 e9 05  cc 0d 05 ea 0d 20 20 f2  |ec=1.........  .|
00000c60  66 69 6e 69 73 68 0d 05  eb 07 20 20 e0 0d 05 ec  |finish....  ....|
00000c70  05 cd 0d 05 fa 05 e1 0d  06 04 04 0d 06 0e 04 0d  |................|
00000c80  06 18 0d dd f2 69 63 6f  6e 62 61 72 0d 06 22 0b  |.....iconbar..".|
00000c90  21 6d 65 73 3d 2d 31 0d  06 2c 0b 6d 65 73 21 34  |!mes=-1..,.mes!4|
00000ca0  3d 30 0d 06 36 0b 6d 65  73 21 38 3d 30 0d 06 40  |=0..6.mes!8=0..@|
00000cb0  0d 6d 65 73 21 31 32 3d  36 38 0d 06 4a 0d 6d 65  |.mes!12=68..J.me|
00000cc0  73 21 31 36 3d 36 38 0d  06 54 10 6d 65 73 21 32  |s!16=68..T.mes!2|
00000cd0  30 3d 26 32 30 30 32 0d  06 5e 18 24 28 6d 65 73  |0=&2002..^.$(mes|
00000ce0  2b 32 34 29 3d 22 21 6f  64 64 62 61 6c 6c 22 0d  |+24)="!oddball".|
00000cf0  06 68 25 c8 99 20 22 57  69 6d 70 5f 43 72 65 61  |.h%.. "Wimp_Crea|
00000d00  74 65 49 63 6f 6e 22 2c  2c 6d 65 73 20 b8 20 68  |teIcon",,mes . h|
00000d10  5f 62 61 72 0d 06 72 05  e1 0d 06 7c 04 0d 06 86  |_bar..r....|....|
00000d20  0c dd f2 66 69 6e 69 73  68 0d 06 90 2a c8 99 20  |...finish...*.. |
00000d30  22 57 69 6d 70 5f 43 6c  6f 73 65 44 6f 77 6e 22  |"Wimp_CloseDown"|
00000d40  2c 74 5f 68 61 6e 64 6c  65 2c 26 34 42 35 33 34  |,t_handle,&4B534|
00000d50  31 35 34 0d 06 9a 05 e1  0d 06 a4 04 0d 06 ae 0b  |154.............|
00000d60  dd f2 65 72 72 6f 72 0d  06 b8 07 ea 20 85 0d 06  |..error..... ...|
00000d70  c2 1b ee 20 85 20 85 20  a2 20 9f 2c 20 f6 24 3a  |... . . . ., .$:|
00000d80  f2 66 69 6e 69 73 68 3a  e0 0d 06 cc 0a 21 6d 65  |.finish:.....!me|
00000d90  73 3d 9f 0d 06 d6 21 24  28 6d 65 73 2b 34 29 3d  |s=....!$(mes+4)=|
00000da0  f6 24 2b 22 20 61 74 20  6c 69 6e 65 20 22 2b c3  |.$+" at line "+.|
00000db0  9e 2b bd 30 0d 06 e0 29  c8 99 20 22 57 69 6d 70  |.+.0...).. "Wimp|
00000dc0  5f 52 65 70 6f 72 74 45  72 72 6f 72 22 2c 6d 65  |_ReportError",me|
00000dd0  73 2c 31 2c 22 4f 64 64  42 61 6c 6c 22 0d 06 ea  |s,1,"OddBall"...|
00000de0  05 e1 0d 06 f4 04 0d ff                           |........|
00000de8