Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199609.adf » Regulars » MikeC/!FM_Radio/FM
MikeC/!FM_Radio/FM
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_AcornUser_199609.adf » Regulars |
Filename: | MikeC/!FM_Radio/FM |
Read OK: | ✔ |
File size: | 393E bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM>Develop.!FM$.FM$ 20REM Version 1.0 By Mike Cook 30REM All rights reserved 40ON ERROR PROCerrorbox 50 60DIM taskid%4,intmess% 20:$taskid%="TASK" 70intmess%!0=1:intmess%!4=2:intmess%!8=3:intmess%!12=&502:intmess%!16=0 80SYS "Wimp_Initialise",300,!taskid%,"FM_Monitor",intmess% TO version%,taskhand% 90DIM q% &300,qc% 80, Wn% &512,temp% 256,buffers% 512,menu% 128,Mmenu% 256,SW% 512,cb% 18 100DIM Wmenu% 512,Smenu% 256,Imenu% 256, TextWarn% 100, ww% 256 110DIM Rat% 256, CODE% 256, G4% 8, G5% 1024, PrePLL%(10) 120DIM S7%(9), SPoint%(21),IX%(21),IY%(21),IX1%(21),IY1%(21) 130SPr%=4000 140DIM Upress$(12),SP% SPr% 150SYS "Wimp_OpenTemplate",,"<FM$Dir>.Templates" 160ON ERROR SYS "Wimp_CloseTemplate":PROCerrorbox 170SYS "Wimp_LoadTemplate",,q%,temp%,temp%+256,-1,"Info",0 180SYS "Wimp_CreateWindow",,q% TO info% 190 200SYS "Wimp_LoadTemplate",,Wn%+4,SW%,SW%+512,-1,"Pallette",0 210Wn%!28=-1 220FOR A%=0 TO 21 230SPoint%(A%)=!(Wn%+4+88+20+32*A%) 240IX%(A%)=!(Wn%+4+88+32*A%):IY%(A%)=!(Wn%+4+88+4+32*A%) 250IX1%(A%)=!(Wn%+4+88+8+32*A%):IY1%(A%)=!(Wn%+4+88+12+32*A%) 260NEXT 270 280SYS "Wimp_CreateWindow",,Wn%+4 TO monW% 290Wn%!0=monW%:Wn%!28=-1 300 310SYS "Wimp_LoadTemplate",,q%,ww%,ww%+256,-1,"Warning",0 320q%!108=TextWarn%:q%!112=-1:q%!116=300 330XQ%=q%!8-q%!0:YQ%=q%!12-q%!4 340SYS "Wimp_CreateWindow",,q% TO warningW% 350SYS "Wimp_CloseTemplate" 360ref%=0 370cpL%=0:cpR%=0 380smpicon%=FNicon 390wopen%=FALSE:warnOn%=FALSE 400InWin%=FALSE 410LX%=-1:LY%=-1 420cr%=3:cb%=8 430LED=FALSE 440Record%=FALSE 450Pause%=FALSE 460NextTime%=TIME 470DragOn%=FALSE 480Freq=102.125 490Auto%=FALSE 500Clicked%=0:MemPrime%=FALSE 510PROC_RadInit 520fn$="" 530Srate=1.0 540Preset%=1 550Finput%=OPENOUT"parallel:" 560 570ON ERROR PROCerrorbox 580 590PROCsetupmenu 600PROC_Convert 610Station%=0 620Scan%=FALSE 630 640FM%=TRUE 650 660REPEAT 670 SYS "Wimp_Poll",0,q% TO A% 680 CASE A% OF 690 WHEN 0:PROC_Null 700 WHEN 1:PROC_doWindow 710 WHEN 2:SYS"OS_ReadModeVariable",-1,3 TO ,,Ncolours%: SYS "Wimp_OpenWindow",,q%:PROC_TT 720 WHEN 3:PROC_close 730 WHEN 4:InWin%=FALSE:LX%=-1:LY%=-1 740 WHEN 5:InWin%=TRUE 750 WHEN 6:PROC_do_click(q%) 760 WHEN 7:PROC_PutDown(q%) 770 WHEN 8:PROC_KeyPress 780 WHEN 9:PROC_SORT_Menu 790 WHEN 17,18:PROCreceive(q%) 800 ENDCASE 810 UNTIL FALSE 820 830END 840 850DEF PROC_Null 860LOCAL A%,B%,C% 870IF Scan% THEN PROC_Scan: PROC_Disp:ENDPROC 880IF wopen% AND FM% THEN 890 IF NextTime%<TIME THEN 900 IF Auto%=TRUE THEN 910 NextTime%=TIME+2:PROC_AutoClick(Clicked%) 920 ELSE 930 NextTime%=TIME +Srate*100 940 A%=Station% 950 PROC_RX 960 IF A%<>Station% THEN 970 IF Station%=0 THEN $SPoint%(2)="radiooff"ELSE $SPoint%(2)="radioon" 980 SYS"Wimp_ForceRedraw",monW%,IX%(2),IY%(2),IX1%(2),IY1%(2) 990 ENDIF 1000 ENDIF 1010 ENDIF 1020 ELSE 1030ENDIF 1040ENDPROC 1050 1060DEF PROC_Disp 1070LOCAL A%,B%,C% 1080SYS"Wimp_ForceRedraw",monW%,0,-118,340,0 1090SYS"Wimp_ForceRedraw",monW%,94,-340,808,-250 1100ENDPROC 1110 1120DEF FN_spath(n$) 1130WHILE INSTR(n$,".") 1140n$=RIGHT$(n$,LEN(n$)-1) 1150ENDWHILE 1160IF LEN(n$)>10 THEN n$=RIGHT$(n$,10) 1170=n$ 1180 1190DEF PROC_GetName 1200LOCAL T%,A%,F$ 1210F$="":fn$="" 1220q%!0=saveW%:q%!4=1 1230SYS "Wimp_GetIconState",,q% 1240T%=q%!28 1250T%-=1 1260REPEAT 1270T%+=1 1280F$=F$+CHR$(?T%) 1290UNTIL ?T%=0 1300fn$=MID$(F$,1,LEN(F$)-1) 1310ENDPROC 1320 1330DEF PROC_GetRate 1340LOCAL T%,A%,R$ 1350q%!0=rateW%:q%!4=1 1360SYS "Wimp_GetIconState",,q% 1370T%=q%!28 1380T%-=1 1390REPEAT 1400T%+=1 1410R$=R$+CHR$(?T%) 1420UNTIL ?T%=0 1430Srate=VAL(R$) 1440ENDPROC 1450 1460DEF PROC_SORT_Menu 1470IF IconMenu% THEN 1480 IF !q%=1 THEN PROCdie 1490 ELSE 1500 IF !q%=2 THEN PROCdie 1510 IF !q%=1 THEN PROC_SScan 1520ENDIF 1530 1540ENDPROC 1550 1560DEF PROC_close 1570IF q%!0=monW% THEN SYS"Wimp_GetWindowInfo",,Wn%:wopen%=FALSE 1580IF q%!0=warningW% THEN warnOn%=FALSE 1590SYS "Wimp_CloseWindow",,q% 1600ENDPROC 1610 1620DEF PROC_do_click(q%) 1630i%=q%!16 1640 1650CASE q%!12 OF 1660WHEN warningW%: q%!0=warningW% :PROC_close 1670WHEN -2: REM Look first at Icon Bar Click 1680 IF q%!16=smpicon% THEN 1690 IF q%!8=2 THEN SYS"Wimp_CreateMenu",,menu%,q%!0-74,180:IconMenu%=TRUE 1700 IF q%!8=4 THEN PROC_Open 1710 ENDIF 1720 1730WHEN monW%: 1740 IF q%!8=4 THEN PROC_MonClick 1750 IF q%!8=2 THEN SYS"Wimp_CreateMenu",,Mmenu%,q%!0-96,q%!4:IconMenu%=FALSE 1760 1770ENDCASE 1780ENDPROC 1790 1800DEF PROC_AutoClick(i%) 1810LOCAL x%,y%,b% 1820 MOUSE x%,y%,b% 1830 IF b%<>4 THEN 1840 Auto%=FALSE 1850 $SPoint%(i%)=Upress$(i%) 1860 SYS"Wimp_ForceRedraw",monW%,IX%(i%),IY%(i%),IX1%(i%),IY1%(i%) 1870 Clicked%=0 1880 ELSE 1890CASE i% OF 1900WHEN 5: PROC_VolUp 1910WHEN 6: PROC_VolDown 1920WHEN 7: PROC_TuneUp(-4) 1930WHEN 8: PROC_TuneUp(4) 1940WHEN 9: PROC_TuneUp(1) 1950WHEN 10: PROC_TuneUp(-1) 1960 1970ENDCASE 1980 1990 ENDIF 2000ENDPROC 2010 2020DEF PROC_MonClick 2030LOCAL D%,V%,B% 2040REM Do the action for a window click 2050 2060CASE i% OF 2070WHEN 1: IF Mute%=0 THEN $SPoint%(1)="Nmute" ELSE $SPoint%(1)="mute" 2080 Mute%=Mute% EOR &8 2090 PROC_TuneUp(0) 2100 ENDIF 2110WHEN 5: PROC_VolUp:Auto%=TRUE:Clicked%=i%:$SPoint%(5)="pup" 2120WHEN 6: PROC_VolDown:Auto%=TRUE:Clicked%=i%:$SPoint%(6)="pdown" 2130WHEN 7: PROC_TuneUp(-4):Auto%=TRUE:Clicked%=i%:$SPoint%(7)="ptdown" 2140WHEN 8: PROC_TuneUp(4):Auto%=TRUE:Clicked%=i%:$SPoint%(8)="ptup" 2150WHEN 9: PROC_TuneUp(1):Auto%=TRUE:Clicked%=i%:$SPoint%(9)="pstup" 2160WHEN 10: PROC_TuneUp(-1):Auto%=TRUE:Clicked%=i%:$SPoint%(10)="pstdown" 2170WHEN 11: MemPrime%=NOT(MemPrime%) 2180 IF MemPrime%=TRUE THEN $SPoint%(11)="mema" ELSE $SPoint%(11)="mem" 2190 ENDCASE 2200 IF i%<12 OR i%>21 THEN GOTO 2260 2210 SYS"Wimp_ForceRedraw",monW%,IX%(Preset%+11),IY%(Preset%+11),IX1%(Preset%+11),IY1%(Preset%+11) 2220 Preset%=i%-11 2230 SYS"Wimp_ForceRedraw",monW%,IX%(i%),IY%(i%),IX1%(i%),IY1%(i%) 2240IF MemPrime%=TRUE THEN PROC_PreStore ELSE PLL%=PrePLL%(Preset%):Freq%=88000 +(PLL%-&A10F6C)*25:PROC_TuneUp(0) 2250MemPrime%=FALSE 2260IF i%>0 AND i%<12 SYS"Wimp_ForceRedraw",monW%,IX%(i%),IY%(i%),IX1%(i%),IY1%(i%) 2270 2280 MOUSE D%,V%,B% 2290 PROC_Trans(monW%) 2310 IF B%=4 AND i%<0 AND ((V%-yo%) < -120) THEN 2320 B%=(D%-xo%-85)*1.1237 2330 PLL%=&A10F6C+B% 2340 Freq%=88000+B%*25 2350 2360 PROC_TuneUp(0) 2370ENDIF 2380ENDPROC 2390 2400DEF PROC_PreStore 2410LOCAL F%,A% 2420$SPoint%(11)="mem" 2430PrePLL%(Preset%)=PLL% 2440SYS"Wimp_ForceRedraw",monW%,IX%(11),IY%(11),IX1%(11),IY1%(11) 2450F%=OPENOUT("<FM$DIR>.Presets") 2460FOR A%=1 TO 10 2470PRINT#F%,PrePLL%(A%) 2480NEXT 2490CLOSE #F% 2500ENDPROC 2510 2520DEF PROC_Open 2530SYS"OS_ReadModeVariable",-1,3 TO ,,Ncolours% 2540REM OPEN UP WINDOW HERE 2550IF wopen% THEN 2560q%!0=monW% 2570SYS"Wimp_GetWindowState",,q% 2580 IF q%!28<>-1 THEN q%!28=-1: SYS "Wimp_OpenWindow",,q% 2590ELSE 2600SYS "Wimp_OpenWindow",,Wn% 2610wopen%=TRUE 2620ENDIF 2630ENDPROC 2640 2650DEF PROC_doWindow 2660 LOCAL A%,I%,L% 2670 2680 PROC_Trans(monW%) 2690 SYS "Wimp_RedrawWindow",,q% TO flag% 2700 WHILE flag% 2710 2720 PROC_Dmpw 2730 SYS "Wimp_GetRectangle",,q% TO flag% 2740 ENDWHILE 2750 2760 ENDPROC 2770 2780DEF FNpointSq 2790LOCAL X%,Y%,B%,R% 2800PROC_Trans(monW%) 2810MOUSE X%,Y%,B% 2820R%=0 2830IF (X%<(xo%+30) AND Y%<(yo%+30) ) THEN R%=1 2840IF (X%>(xo%+246*xs%) AND Y%<(yo%+30) ) THEN R%=2 2850=R% 2860 2870REM Draw window 2880DEF PROC_Dmpw 2890LOCAL A%,B%,V% 2900PROC_Trans(monW%) 2910 SYS"Wimp_SetColour",7 2920 RECTANGLEFILL xo%+10,yo%+10,330,104 2930 SYS"Wimp_SetColour",0 2940 RECTANGLE xo%+10,yo%+10,330,104 2950 2960 Freq$=STR$(Freq%) 2970 IF Freq% < 100000 THEN Freq$="0"+Freq$ 2980 WHILE LEN(Freq$)<6 2990 Freq$=Freq$+"0" 3000 ENDWHILE 3010 FOR A%=1 TO 6 3020 PROC_7seg(A%,MID$(Freq$,A%,1)) 3030 NEXT 3040 RECTANGLEFILL xo%+85+(Freq%-88000)/28.49,yo%-150,10,16 3050 SYS"OS_SpriteOp",52+256,SP%,"bar",xo%+88,yo%-130,&10,0,Stt% 3060 SYS"Wimp_SetColour",7 3070 RECTANGLEFILL xo%+540,yo%+18,240,64 3080 IF Preset%<>0 THEN 3090 IF Preset%>5 THEN A%=Preset%-5:B%=10 ELSE A%=Preset%:B%=65 3100 SYS"Wimp_SetColour",11:RECTANGLEFILL xo%+484+56*A%,yo%+B%,20,20 3110 ENDIF 3120ENDPROC 3130 3140DEF PROC_7seg(N%,V$) 3150LOCAL X%,Y%,P% 3160X%=xo%-74+N%*60:Y%=yo%+30 3170SYS"Wimp_SetColour",10 3180 P%=S7%(VAL(V$)) 3190 IF (VAL(V$)<>0 AND N%=1) OR N%<>1 THEN 3200REM IF N%>3 THEN X%=X%-60 3210IF N%=4 THEN RECTANGLEFILL xo%+154,Y%,6,6 3220 IF (P% AND &1) RECTANGLEFILL X%+6,Y%+60,30,6 3230 IF (P% AND &2) THEN RECTANGLEFILL X%+36,Y%+36,6,24 3240 IF (P% AND &4) THEN RECTANGLEFILL X%+36,Y%+6,6,24 3250 IF (P% AND &8) THEN RECTANGLEFILL X%+6,Y%,30,6 3260 IF (P% AND &10) RECTANGLEFILL X%,Y%+6,6,24 3270 IF (P% AND &20) RECTANGLEFILL X%,Y%+36,6,24 3280 IF (P% AND &40) RECTANGLEFILL X%+6,Y%+30,30,6 3290ENDIF 3300ENDPROC 3310 3320DEF PROC_UpP 3330LOCAL T%,A%,E% 3340PROC_Trans(monW%) 3350 q%!0=monW%:q%!4=0:q%!8=-118:q%!12=680:q%!16=0 3360 SYS"Wimp_UpdateWindow",,q% TO More% 3370 WHILE More% 3380 PROC_Dmpw 3390 SYS"Wimp_GetRectangle",,q% TO More% 3400 ENDWHILE 3410 3420ENDPROC 3430 3440DEF PROC_UpdatePt 3450PROC_Trans(monW%) 3460 q%!0=monW%:q%!4=0:q%!8=-400:q%!12=680:q%!16=0 3470 SYS"Wimp_UpdateWindow",,q% TO More% 3480 3490 WHILE More% 3500 3510 3520 SYS"Wimp_GetRectangle",,q% TO More% 3530 ENDWHILE 3540ENDPROC 3550 3560DEF FN_Wr 3570LOCAL TY%,R% 3580 TY%=Y%-yo% 3590 R%=3 3600 IF TY%>=40 AND TY%<=80 THEN R%=0 3610 IF TY%>=120 AND TY%<=160 THEN R%=1 3620 IF TY%>=200 AND TY%<=240 THEN R%=2 3630=R% 3640DEF FN_Wb 3650LOCAL B% 3660B%=7-INT((X%-xo%)/40-1) 3670IF B%>7 OR B%<0 THEN B%=8 3680=B% 3690 3700 3710DEF PROC_Trans(wh%) 3720!q%=wh% 3730SYS "Wimp_GetWindowState",,q% 3740xo%=q%!4-q%!20+8:yo%=q%!16-q%!24-118 3750XO%=q%!4:YO%=q%!16 3760ENDPROC 3770 3780DEF PROC_Convert 3790LOCAL A% 3800FOR A%=0 TO 9 3810READ S7%(A%) 3820NEXT 3830DATA &3F,&06,&5B,&4F,&66,&6D,&7D,&07,&7F,&6F 3840FOR A%=0 TO 12 3850READ Upress$(A%) 3860NEXT 3870DATA 0,1,2,3,4,up,down,tdown,tup,stup,stdown,11,12 3880REM Set up Bar Sprites 3890SP%!0=SPr% 3900SP%!8=16 3910SYS"OS_SpriteOp",9+256,SP% 3920SYS"OS_SpriteOp",11+256,SP%,"<FM$Dir>.Stations" 3930G4%?0=0:G4%?1=3:G4%?2=0:G4%?3=1 3940FOR A%=0 TO 1024 STEP 4 3950G5%?A%=0 3960G5%?(A%+1)=A% 3970G5%?(A%+2)=A% 3980G5%?(A%+3)=A% 3990NEXT 4000PROC_TT 4010ENDPROC 4020DEF PROC_TT 4030Stt%=0 4040SYS"OS_ReadModeVariable",-1,3 TO ,,Ncolours% 4050IF Ncolours%=3 THEN Stt%=G4% ELSE SYS"ColourTrans_SelectTable",SP%,"bar",-1,-1,G5%,0:Stt%=G5% 4060REM IF Ncolours%=15 OR Ncolours% >255 OR Ncolours%=1 THEN Stt%=0 4070 4080ENDPROC 4090DEFPROCsetupmenu 4100LOCAL m% 4110 4120$menu%="FM" 4130menu%?12=7 4140menu%?13=2 4150menu%?14=7 4160menu%?15=0 4170menu%!16=128 4180menu%!20=40 4190menu%!24=0 4200m%=menu%+28 4210m%!0=0 4220m%!4=info% 4230m%!8=(7<<24)OR %10001 4240$(m%+12)="Info" 4250 4260m%+=24 4270m%!0=&80 4280m%!4=0 4290m%!8=(7<<24)OR %10001 4300$(m%+12)="Quit" 4310 4320$Mmenu%="FM" 4330Mmenu%?12=7 4340Mmenu%?13=2 4350Mmenu%?14=7 4360Mmenu%?15=0 4370Mmenu%!16=128 4380Mmenu%!20=40 4390Mmenu%!24=0 4400m%=Mmenu%+28 4410m%!0=0 4420m%!4=info% 4430m%!8=(7<<24)OR %10001 4440$(m%+12)="Info" 4450 4460m%+=24 4470m%!0=0 4480m%!4=0 4490m%!8=(7<<24)OR %10001 4500$(m%+12)="Scan" 4510 4520m%+=24 4530m%!0=&80 4540m%!4=0 4550m%!8=(7<<24)OR %10001 4560$(m%+12)="Quit" 4570 4580ENDPROC 4590 4600DEF PROCreceive(q%) 4610LOCAL A% 4620A%=q%!16 4630CASE A% OF 4640WHEN 0:PROCdie 4650WHEN 2:IF q%!12=saveref% THEN 4660 secureF%=q%!36 4670 fn$=FNsget(q%+44):PROC_Save 4680 q%!12=saveref%:q%!16=3:q%!0=256:q%!40=&044 4690 q%!20=messh%:q%!24=messi%:q%!28=messx%:q%!32=messy% 4700 SYS "Wimp_SendMessage",17,q%,messh%,messi% 4710 ENDIF 4720 4730WHEN &502: CASE TRUE OF 4740 WHEN q%!32=-2 AND q%!36=smpicon%:mes$="This is the FM Monitor icon." 4750 OTHERWISE:mes$="" 4760 ENDCASE 4770 IF mes$<>"" THEN 4780 q%!12=q%!8 4790 $(q%+20)=mes$+CHR$0 4800 q%!0=(20+LENmes$+4)AND NOT 3 4810 q%!16=&503 4820 SYS "Wimp_SendMessage",18,q%,q%!4 4830ENDCASE 4840ENDPROC 4850 4860DEF PROC_Dack 4870sendth%=q%!4 4880myref%=q%!8 4890SYS "Wimp_GetPointerInfo",,q%+8 4900q%!28=q%!8 4910q%!32=q%!12 4920q%!0=(44+LENn$+4)AND NOT 3 4930q%!12=myref% 4940q%!16=4 4950q%!36=-1 4960q%!40=&FF9 4970$(q%+44)=n$+CHR$0 4980SYS "Wimp_SendMessage",17,q%,sendth% 4990ENDIF 5000ENDPROC 5010 5020DEFFNsget(x%) 5030LOCAL x$ 5040WHILE ?x% x$+=CHR$(?x%):x%+=1:ENDWHILE 5050=x$ 5060 5070DEFFNicon 5080q%!0=-1 5090q%!4=0 5100q%!8=10 : REM Y DIRECTION 5110q%!12=70 : REM X DIRECTION 5120q%!16=96 5130q%!20=&2002 5140$(q%+24)="!FM_Radio" 5150SYS "Wimp_CreateIcon",,q% TO icon% 5160=icon% 5170 5180DEF PROC_setupW(t$) 5190!q%=warningW%:q%!4=200:q%!8=200:q%!12=200+XQ%:q%!16=200+YQ%:q%!20=0:q%!24=0:q%!28=-1 5200$TextWarn%=t$ 5210TextWarn%?LEN(t$)=0 5220VDU 7 5230warnOn%=TRUE 5240SYS "Wimp_OpenWindow",,q% 5250ENDPROC 5260 5270DEF PROCerrorbox 5280SYS "Wimp_DragBox",,-1 5290!buffers%=ERR:$(buffers%+4)=REPORT$+" at line "+STR$ERL+CHR$0 5300SYS "Wimp_ReportError",buffers%,1,"FM" 5310PROCdie 5320ENDPROC 5330 5340DEFPROCdie 5350SYS "Wimp_CloseDown",taskhand%,!taskid% 5360CLOSE#Finput% 5370END 5380ENDPROC 5390 5400DEF PROCdragicon(mousex%,mousey%,handle%,icon%) 5410LOCAL bx%,by%,ix0%,iy0%,ix1%,iy1% 5420PROCgetw(handle%) 5430PROCgeti(handle%,icon%) 5440!q%=handle%:q%!4=5 5450q%!8=bx%+ix0%:q%!12=by%+iy0%:q%!16=bx%+ix1%:q%!20=by%+iy1% 5460q%!24=q%!8-mousex%:q%!28=q%!12-mousey% 5470SYS "Wimp_DragBox",,q% 5480SFLAG%=TRUE 5490ENDPROC 5500 5510DEF PROCgetw(handle%) 5520!q%=handle%:SYS "Wimp_GetWindowState",,q%:PROCinfo(q%+4) 5530ENDPROC 5540DEF PROCgeti(h%,i%) 5550!q%=h%:q%!4=i%:SYS "Wimp_GetIconState",,q% 5560ix0%=q%!8:iy0%=q%!12:ix1%=q%!16:iy1%=q%!20 5570iflags%=q%!24:idata%=q%+28 5580ENDPROC 5590 5600DEF PROCinfo(p%) 5610LOCAL x0%,y0% 5620x0%=!p%:y0%=p%!4:x1%=p%!8:y1%=p%!12 5630scx%=p%!16:scy%=p%!20:bhandle%=p%!24:flags%=p%!28 5640bx%=x0%-scx%:by%=y1%-scy% 5650ENDPROC 5660 5670DEF PROC_Save 5680LOCAL ch%,pp% 5690F%=OPENOUT(fn$) 5700OSCLI("SETTYPE "+fn$+" FFF") 5710CLOSE#F% 5720PROC_PutName(fn$) 5730ENDPROC 5740 5750DEF PROC_PutName(p$) 5760LOCAL T% 5770q%!0=saveW%:q%!4=1 5780SYS "Wimp_GetIconState",,q% 5790T%=q%!28 5800$T%=p$ 5810!(T%+LEN(p$))=0 5820ENDPROC 5830 5840DEF PROC_PutRate(p$) 5850LOCAL T% 5860q%!0=rateW%:q%!4=1 5870SYS "Wimp_GetIconState",,q% 5880T%=q%!28 5890$T%=p$ 5900!(T%+LEN(p$))=0 5910ENDPROC 5920 5930DEF PROC_PutDown(q%) 5940IF DragOn% THEN 5950REM SYS "Wimp_GetPointerInfo",,q% 5960PROC_GetName 5970SYS "Wimp_GetPointerInfo",,q% 5980messh%=q%!12:messi%=q%!16:messx%=q%!0:messy%=q%!4 5990IF INSTR( fn$,":") THEN fn$=FN_spath(fn$) 6000$(q%+44)=fn$ 6010?(q%+44+LEN(fn$))=0 6020q%!20=q%!12:q%!28=q%!0:q%!32=q%!4:q%!36=1024:q%!40=&044 6030q%!0=56:q%!12=0:q%!16=1 6040SYS "Wimp_SendMessage",17,q%,messh%,messi% 6050saveref%=q%!8 6060SYS "Wimp_CreateMenu",,-1 6070DragOn%=FALSE 6080ENDIF 6090ENDPROC 6100 6110DEF PROC_KeyPress 6120CASE q%!0 OF 6130WHEN saveW%: i%=2:PROC_DoSave 6140WHEN rateW%: PROC_GetRate 6150 IF Srate<0.3 THEN Srate=0.3:VDU 7 6160 PROC_PutRate(STR$(Srate)) 6170 SYS "Wimp_CloseWindow",,Rat% 6180 SYS "Wimp_CreateMenu",,-1 6190ENDCASE 6200ENDPROC 6210 6220DEF PROC_RadInit 6230LOCAL F% 6240Mask%=NOT(&20) 6250SYS&42EC1,2,0,Mask% 6260 6270F%=OPENIN("<FM$Dir>.Presets") 6280FOR A%=1 TO 10 6290INPUT#F%,PrePLL%(A%) 6300NEXT 6310CLOSE #F% 6320 6330PLL%=PrePLL%(1) 6340Freq%=88000 + (PLL%-&A10F6C)*25 6350Spll%=PLL% 6360Mute%=8 6370Station%=0 6380Scan%=FALSE 6390PROC_TuneUp(0) 6400PROC_Delay(100) 6410PROC_TuneUp(0) 6420ENDPROC 6430 6440DEF PROC_TuneUp(N%) 6450PLL%=PLL%+N% 6460Freq%=Freq%+N%*25 6470IF Freq%>108000 THEN Freq%=108000:PLL%=&A1128B 6480IF Freq%<88000 THEN Freq%=88000:PLL%=&A10F6C 6490PROC_ReTune 6500PROC_Disp 6510ENDPROC 6520 6530DEF PROC_ReTune 6540LOCAL A%,B%,C%,S%,M% 6550B%=PLL% 6560FOR A%=1 TO 24 6570C%=B% AND 1 6580S%=&C1 OR (C%<<2) OR Mute% 6590PROC_SB(S%) 6600S%=S% OR &2 6610PROC_SB(S%) 6620B%=B%>>1 6630NEXT 6640PROC_SB(&C0 OR Mute%) 6650PROC_SB(&D0 OR Mute%) 6660PROC_SB(&C0 OR Mute%) 6670ENDPROC 6680 6690DEF PROC_VolUp 6700PROC_SB(&80 OR Mute%) 6710PROC_Delay(1) 6720PROC_SB(&C0 OR Mute%) 6730ENDPROC 6740 6750DEF PROC_VolDown 6760PROC_SB(&40 OR Mute%) 6770PROC_Delay(1) 6780PROC_SB(&C0 OR Mute%) 6790ENDPROC 6800 6810DEF PROC_Delay(n%) 6820LOCAL T% 6830T%=TIME + n% 6840REPEAT 6850UNTIL TIME>T% 6860ENDPROC 6870 6880DEF PROC_SB(N%) 6890LOCAL B% 6900B%=N% OR &20 6910N%=N% AND &DF 6920SYS&42EC1,1,B% 6930SYS&42EC1,1,N% 6940SYS&42EC1,1,B% 6950ENDPROC 6960 6970DEF PROC_RX 6980SYS&42EC1,0 TO ,,Station% 6990Station%=Station%>>7 7000ENDPROC 7010 7020DEF PROC_SScan 7030LOCAL A% 7040Spll%=PLL% 7050Sfreq%=Freq% 7060Freq%=88000 7070PLL%=&A10F6C 7080Scan%=TRUE 7090A%=SP%!8 7100BarP%=A%+SP%+SP%!(32+A%) 7110FOR A%=0 TO 1077 7120BarP%?A%=&33 7130NEXT 7140SS%=0:SSt%=0 7150PROC_TuneUp(0) 7160PROC_Delay(100) 7170Station%=0 7180ENDPROC 7190 7200DEF PROC_Scan 7210LOCAL A%,B%,C%,W% 7220PLL%+=1 7230Freq%+=25 7240SS%+=1 7250SSt%=SS%*0.2224 7260IF Station%=1 THEN 7270C%=8 << (4*(PLL% AND 1)) 7280B%=BarP%+SSt% 7290FOR A%=0 TO 6 7300W%=A%*178+A%*2 7310B%?W%=B%?W% OR C% 7320NEXT 7330ENDIF 7340PROC_TuneUp(0) 7350PROC_RX 7360IF PLL%=&A1128C THEN 7370PLL%=Spll% 7380Freq%=Sfreq% 7390Scan%=FALSE 7400PROC_TuneUp(0) 7410SYS"OS_SpriteOp",12+256,SP%,"<FM$Dir>.Stations" 7420ENDIF 7430SYS"Wimp_ForceRedraw",monW%,94,-340,808,-200 7440ENDPROC
�>Develop.!FM$.FM$ � Version 1.0 By Mike Cook � All rights reserved (� � �errorbox 2 <*� taskid%4,intmess% 20:$taskid%="TASK" FIintmess%!0=1:intmess%!4=2:intmess%!8=3:intmess%!12=&502:intmess%!16=0 PPș "Wimp_Initialise",300,!taskid%,"FM_Monitor",intmess% � version%,taskhand% ZY� q% &300,qc% 80, Wn% &512,temp% 256,buffers% 512,menu% 128,Mmenu% 256,SW% 512,cb% 18 d>� Wmenu% 512,Smenu% 256,Imenu% 256, TextWarn% 100, ww% 256 n7� Rat% 256, CODE% 256, G4% 8, G5% 1024, PrePLL%(10) x;� S7%(9), SPoint%(21),IX%(21),IY%(21),IX1%(21),IY1%(21) � SPr%=4000 �� Upress$(12),SP% SPr% �0ș "Wimp_OpenTemplate",,"<FM$Dir>.Templates" �)� � ș "Wimp_CloseTemplate":�errorbox �:ș "Wimp_LoadTemplate",,q%,temp%,temp%+256,-1,"Info",0 �&ș "Wimp_CreateWindow",,q% � info% � �=ș "Wimp_LoadTemplate",,Wn%+4,SW%,SW%+512,-1,"Pallette",0 � Wn%!28=-1 �� A%=0 � 21 �$SPoint%(A%)=!(Wn%+4+88+20+32*A%) �9IX%(A%)=!(Wn%+4+88+32*A%):IY%(A%)=!(Wn%+4+88+4+32*A%) �>IX1%(A%)=!(Wn%+4+88+8+32*A%):IY1%(A%)=!(Wn%+4+88+12+32*A%) � )ș "Wimp_CreateWindow",,Wn%+4 � monW% "Wn%!0=monW%:Wn%!28=-1 , 69ș "Wimp_LoadTemplate",,q%,ww%,ww%+256,-1,"Warning",0 @)q%!108=TextWarn%:q%!112=-1:q%!116=300 J XQ%=q%!8-q%!0:YQ%=q%!12-q%!4 T*ș "Wimp_CreateWindow",,q% � warningW% ^ș "Wimp_CloseTemplate" h ref%=0 rcpL%=0:cpR%=0 |smpicon%=�icon �wopen%=�:warnOn%=� �InWin%=� �LX%=-1:LY%=-1 �cr%=3:cb%=8 � LED=� � Record%=� �Pause%=� �NextTime%=� � DragOn%=� �Freq=102.125 �Auto%=� �Clicked%=0:MemPrime%=� � �_RadInit fn$="" Srate=1.0 Preset%=1 &Finput%=�"parallel:" 0 :� � �errorbox D N�setupmenu X �_Convert bStation%=0 lScan%=� v � FM%=� � �� � ș "Wimp_Poll",0,q% � A% � Ȏ A% � � � 0:�_Null � � 1:�_doWindow �T � 2:ș"OS_ReadModeVariable",-1,3 � ,,Ncolours%: ș "Wimp_OpenWindow",,q%:�_TT � � 3:�_close �! � 4:InWin%=�:LX%=-1:LY%=-1 � � 5:InWin%=� � � 6:�_do_click(q%) � � 7:�_PutDown(q%) � 8:�_KeyPress � 9:�_SORT_Menu � 17,18:�receive(q%) � * � � 4 >� H R� �_Null \� A%,B%,C% f� Scan% � �_Scan: �_Disp:� p� wopen% � FM% � z � NextTime%<� � � � Auto%=� � �* NextTime%=�+2:�_AutoClick(Clicked%) � � � NextTime%=� +Srate*100 � A%=Station% � �_RX � � A%<>Station% � �C � Station%=0 � $SPoint%(2)="radiooff"� $SPoint%(2)="radioon" �G ș"Wimp_ForceRedraw",monW%,IX%(2),IY%(2),IX1%(2),IY1%(2) � � � � � � � � � � $� �_Disp .� A%,B%,C% 8+ș"Wimp_ForceRedraw",monW%,0,-118,340,0 B/ș"Wimp_ForceRedraw",monW%,94,-340,808,-250 L� V `� �_spath(n$) jȕ �n$,".") tn$=�n$,�(n$)-1) ~� �� �(n$)>10 � n$=�n$,10) �=n$ � �� �_GetName �� T%,A%,F$ �F$="":fn$="" �q%!0=saveW%:q%!4=1 �ș "Wimp_GetIconState",,q% �T%=q%!28 � T%-=1 �� � T%+=1 F$=F$+�(?T%) � ?T%=0 fn$=�F$,1,�(F$)-1) � ( 2� �_GetRate <� T%,A%,R$ Fq%!0=rateW%:q%!4=1 Pș "Wimp_GetIconState",,q% ZT%=q%!28 d T%-=1 n� x T%+=1 �R$=R$+�(?T%) �� ?T%=0 �Srate=�(R$) �� � �� �_SORT_Menu �� IconMenu% � � � !q%=1 � �die � � � � !q%=2 � �die � � !q%=1 � �_SScan �� � � � �_close "7� q%!0=monW% � ș"Wimp_GetWindowInfo",,Wn%:wopen%=� , � q%!0=warningW% � warnOn%=� 6ș "Wimp_CloseWindow",,q% @� J T� �_do_click(q%) ^i%=q%!16 h rȎ q%!12 � |(� warningW%: q%!0=warningW% :�_close �(� -2: � Look first at Icon Bar Click � � q%!16=smpicon% � �I � q%!8=2 � ș"Wimp_CreateMenu",,menu%,q%!0-74,180:IconMenu%=� � � q%!8=4 � �_Open � � � �� monW%: �' � q%!8=4 � �_MonClick �Q � q%!8=2 � ș"Wimp_CreateMenu",,Mmenu%,q%!0-96,q%!4:IconMenu%=� � �� �� � � �_AutoClick(i%) � x%,y%,b% ȗ x%,y%,b% & � b%<>4 � 0 Auto%=� : $SPoint%(i%)=Upress$(i%) DB ș"Wimp_ForceRedraw",monW%,IX%(i%),IY%(i%),IX1%(i%),IY1%(i%) N Clicked%=0 X � bȎ i% � l� 5: �_VolUp v� 6: �_VolDown �� 7: �_TuneUp(-4) �� 8: �_TuneUp(4) �� 9: �_TuneUp(1) �� 10: �_TuneUp(-1) � �� � � � �� � �� �_MonClick �� D%,V%,B% �&� Do the action for a window click Ȏ i% � >� 1: � Mute%=0 � $SPoint%(1)="Nmute" � $SPoint%(1)="mute" Mute%=Mute% � &8 * �_TuneUp(0) 4 � >8� 5: �_VolUp:Auto%=�:Clicked%=i%:$SPoint%(5)="pup" H<� 6: �_VolDown:Auto%=�:Clicked%=i%:$SPoint%(6)="pdown" R@� 7: �_TuneUp(-4):Auto%=�:Clicked%=i%:$SPoint%(7)="ptdown" \=� 8: �_TuneUp(4):Auto%=�:Clicked%=i%:$SPoint%(8)="ptup" f>� 9: �_TuneUp(1):Auto%=�:Clicked%=i%:$SPoint%(9)="pstup" pB� 10: �_TuneUp(-1):Auto%=�:Clicked%=i%:$SPoint%(10)="pstdown" z!� 11: MemPrime%=�(MemPrime%) �F � MemPrime%=� � $SPoint%(11)="mema" � $SPoint%(11)="mem" � � � � i%<12 � i%>21 � � �dTH �a ș"Wimp_ForceRedraw",monW%,IX%(Preset%+11),IY%(Preset%+11),IX1%(Preset%+11),IY1%(Preset%+11) � Preset%=i%-11 �B ș"Wimp_ForceRedraw",monW%,IX%(i%),IY%(i%),IX1%(i%),IY1%(i%) �a� MemPrime%=� � �_PreStore � PLL%=PrePLL%(Preset%):Freq%=88000 +(PLL%-&A10F6C)*25:�_TuneUp(0) �MemPrime%=� �P� i%>0 � i%<12 ș"Wimp_ForceRedraw",monW%,IX%(i%),IY%(i%),IX1%(i%),IY1%(i%) � � ȗ D%,V%,B% � �_Trans(monW%) ( � B%=4 � i%<0 � ((V%-yo%) < -120) � B%=(D%-xo%-85)*1.1237 PLL%=&A10F6C+B% $ Freq%=88000+B%*25 . 8 �_TuneUp(0) B� L� V `� �_PreStore j� F%,A% t$SPoint%(11)="mem" ~PrePLL%(Preset%)=PLL% �@ș"Wimp_ForceRedraw",monW%,IX%(11),IY%(11),IX1%(11),IY1%(11) �F%=�("<FM$DIR>.Presets") �� A%=1 � 10 ��#F%,PrePLL%(A%) �� � � #F% �� � �� �_Open �.ș"OS_ReadModeVariable",-1,3 � ,,Ncolours% �� OPEN UP WINDOW HERE �� wopen% � q%!0=monW% ș"Wimp_GetWindowState",,q% 6 � q%!28<>-1 � q%!28=-1: ș "Wimp_OpenWindow",,q% � (ș "Wimp_OpenWindow",,Wn% 2wopen%=� <� F� P Z� �_doWindow d � A%,I%,L% n x �_Trans(monW%) �) ș "Wimp_RedrawWindow",,q% � flag% � ȕ flag% � � �_Dmpw �+ ș "Wimp_GetRectangle",,q% � flag% � � � � � � �� �pointSq �� X%,Y%,B%,R% ��_Trans(monW%) �ȗ X%,Y%,B% R%=0 )� (X%<(xo%+30) � Y%<(yo%+30) ) � R%=1 .� (X%>(xo%+246*xs%) � Y%<(yo%+30) ) � R%=2 "=R% , 6� Draw window @� �_Dmpw J� A%,B%,V% T�_Trans(monW%) ^ ș"Wimp_SetColour",7 h ȓȐ xo%+10,yo%+10,330,104 r ș"Wimp_SetColour",0 | ȓ xo%+10,yo%+10,330,104 � � Freq$=�(Freq%) �' � Freq% < 100000 � Freq$="0"+Freq$ � ȕ �(Freq$)<6 � Freq$=Freq$+"0" � � � � A%=1 � 6 � �_7seg(A%,�Freq$,A%,1)) � � �2 ȓȐ xo%+85+(Freq%-88000)/28.49,yo%-150,10,16 �? ș"OS_SpriteOp",52+256,SP%,"bar",xo%+88,yo%-130,&10,0,Stt% � ș"Wimp_SetColour",7 � ȓȐ xo%+540,yo%+18,240,64 � Preset%<>0 � 8 � Preset%>5 � A%=Preset%-5:B%=10 � A%=Preset%:B%=65 : ș"Wimp_SetColour",11:ȓȐ xo%+484+56*A%,yo%+B%,20,20 & � 0� : D� �_7seg(N%,V$) N� X%,Y%,P% XX%=xo%-74+N%*60:Y%=yo%+30 bș"Wimp_SetColour",10 l P%=S7%(�(V$)) v" � (�(V$)<>0 � N%=1) � N%<>1 � �� IF N%>3 THEN X%=X%-60 � � N%=4 � ȓȐ xo%+154,Y%,6,6 �% � (P% � &1) ȓȐ X%+6,Y%+60,30,6 �( � (P% � &2) � ȓȐ X%+36,Y%+36,6,24 �' � (P% � &4) � ȓȐ X%+36,Y%+6,6,24 �$ � (P% � &8) � ȓȐ X%+6,Y%,30,6 �# � (P% � &10) ȓȐ X%,Y%+6,6,24 �$ � (P% � &20) ȓȐ X%,Y%+36,6,24 �& � (P% � &40) ȓȐ X%+6,Y%+30,30,6 �� �� � �� �_UpP � T%,A%,E% �_Trans(monW%) 3 q%!0=monW%:q%!4=0:q%!8=-118:q%!12=680:q%!16=0 ' ș"Wimp_UpdateWindow",,q% � More% * ȕ More% 4 �_Dmpw >' ș"Wimp_GetRectangle",,q% � More% H � R \� f p� �_UpdatePt z�_Trans(monW%) �3 q%!0=monW%:q%!4=0:q%!8=-400:q%!12=680:q%!16=0 �' ș"Wimp_UpdateWindow",,q% � More% � � ȕ More% � � �' ș"Wimp_GetRectangle",,q% � More% � � �� � � � �_Wr �� TY%,R% � TY%=Y%-yo% R%=3 � TY%>=40 � TY%<=80 � R%=0 ! � TY%>=120 � TY%<=160 � R%=1 $! � TY%>=200 � TY%<=240 � R%=2 .=R% 8 � �_Wb B� B% LB%=7-�((X%-xo%)/40-1) V� B%>7 � B%<0 � B%=8 `=B% j t ~� �_Trans(wh%) �!q%=wh% � ș "Wimp_GetWindowState",,q% �(xo%=q%!4-q%!20+8:yo%=q%!16-q%!24-118 �XO%=q%!4:YO%=q%!16 �� � �� �_Convert �� A% �� A%=0 � 9 � � S7%(A%) �� �-� &3F,&06,&5B,&4F,&66,&6D,&7D,&07,&7F,&6F � A%=0 � 12 � Upress$(A%) � 3� 0,1,2,3,4,up,down,tdown,tup,stup,stdown,11,12 (� Set up Bar Sprites 2SP%!0=SPr% <SP%!8=16 Fș"OS_SpriteOp",9+256,SP% P2ș"OS_SpriteOp",11+256,SP%,"<FM$Dir>.Stations" Z#G4%?0=0:G4%?1=3:G4%?2=0:G4%?3=1 d� A%=0 � 1024 � 4 nG5%?A%=0 xG5%?(A%+1)=A% �G5%?(A%+2)=A% �G5%?(A%+3)=A% �� ��_TT �� � � �_TT � Stt%=0 �.ș"OS_ReadModeVariable",-1,3 � ,,Ncolours% �Y� Ncolours%=3 � Stt%=G4% � ș"ColourTrans_SelectTable",SP%,"bar",-1,-1,G5%,0:Stt%=G5% �B� IF Ncolours%=15 OR Ncolours% >255 OR Ncolours%=1 THEN Stt%=0 � �� ���setupmenu � m% $menu%="FM" "menu%?12=7 ,menu%?13=2 6menu%?14=7 @menu%?15=0 Jmenu%!16=128 Tmenu%!20=40 ^menu%!24=0 hm%=menu%+28 r m%!0=0 |m%!4=info% �m%!8=(7<<24)� %10001 �$(m%+12)="Info" � � m%+=24 �m%!0=&80 � m%!4=0 �m%!8=(7<<24)� %10001 �$(m%+12)="Quit" � �$Mmenu%="FM" �Mmenu%?12=7 �Mmenu%?13=2 �Mmenu%?14=7 Mmenu%?15=0 Mmenu%!16=128 Mmenu%!20=40 &Mmenu%!24=0 0m%=Mmenu%+28 : m%!0=0 Dm%!4=info% Nm%!8=(7<<24)� %10001 X$(m%+12)="Info" b l m%+=24 v m%!0=0 � m%!4=0 �m%!8=(7<<24)� %10001 �$(m%+12)="Scan" � � m%+=24 �m%!0=&80 � m%!4=0 �m%!8=(7<<24)� %10001 �$(m%+12)="Quit" � �� � �� �receive(q%) � A% A%=q%!16 Ȏ A% � � 0:�die *� 2:� q%!12=saveref% � 4 secureF%=q%!36 >% fn$=�sget(q%+44):�_Save H8 q%!12=saveref%:q%!16=3:q%!0=256:q%!40=&044 RA q%!20=messh%:q%!24=messi%:q%!28=messx%:q%!32=messy% \7 ș "Wimp_SendMessage",17,q%,messh%,messi% f � p z� &502: Ȏ � � �P � q%!32=-2 � q%!36=smpicon%:mes$="This is the FM Monitor icon." � :mes$="" � � � � mes$<>"" � � q%!12=q%!8 � $(q%+20)=mes$+�0 � q%!0=(20+�mes$+4)� � 3 � q%!16=&503 �( ș "Wimp_SendMessage",18,q%,q%!4 �� �� � �� �_Dack sendth%=q%!4 myref%=q%!8 "ș "Wimp_GetPointerInfo",,q%+8 $q%!28=q%!8 .q%!32=q%!12 8q%!0=(44+�n$+4)� � 3 Bq%!12=myref% Lq%!16=4 Vq%!36=-1 `q%!40=&FF9 j$(q%+44)=n$+�0 t'ș "Wimp_SendMessage",17,q%,sendth% ~� �� � �ݤsget(x%) �� x$ �ȕ ?x% x$+=�(?x%):x%+=1:� �=x$ � � ݤicon �q%!0=-1 � q%!4=0 �q%!8=10 : � Y DIRECTION �q%!12=70 : � X DIRECTION q%!16=96 q%!20=&2002 $(q%+24)="!FM_Radio" $ș "Wimp_CreateIcon",,q% � icon% ( =icon% 2 <� �_setupW(t$) FX!q%=warningW%:q%!4=200:q%!8=200:q%!12=200+XQ%:q%!16=200+YQ%:q%!20=0:q%!24=0:q%!28=-1 P$TextWarn%=t$ ZTextWarn%?�(t$)=0 d� 7 n warnOn%=� xș "Wimp_OpenWindow",,q% �� � �� �errorbox �ș "Wimp_DragBox",,-1 �2!buffers%=�:$(buffers%+4)=�$+" at line "+Þ+�0 �)ș "Wimp_ReportError",buffers%,1,"FM" ��die �� � � ��die �*ș "Wimp_CloseDown",taskhand%,!taskid% � �#Finput% �� � .� �dragicon(mousex%,mousey%,handle%,icon%) "!� bx%,by%,ix0%,iy0%,ix1%,iy1% ,�getw(handle%) 6�geti(handle%,icon%) @!q%=handle%:q%!4=5 J>q%!8=bx%+ix0%:q%!12=by%+iy0%:q%!16=bx%+ix1%:q%!20=by%+iy1% T*q%!24=q%!8-mousex%:q%!28=q%!12-mousey% ^ș "Wimp_DragBox",,q% hSFLAG%=� r� | �� �getw(handle%) �8!q%=handle%:ș "Wimp_GetWindowState",,q%:�info(q%+4) �� �� �geti(h%,i%) �-!q%=h%:q%!4=i%:ș "Wimp_GetIconState",,q% �.ix0%=q%!8:iy0%=q%!12:ix1%=q%!16:iy1%=q%!20 �iflags%=q%!24:idata%=q%+28 �� � �� �info(p%) � � x0%,y0% �'x0%=!p%:y0%=p%!4:x1%=p%!8:y1%=p%!12 �5scx%=p%!16:scy%=p%!20:bhandle%=p%!24:flags%=p%!28 bx%=x0%-scx%:by%=y1%-scy% � &� �_Save 0 � ch%,pp% : F%=�(fn$) D�("SETTYPE "+fn$+" FFF") N�#F% X�_PutName(fn$) b� l v� �_PutName(p$) �� T% �q%!0=saveW%:q%!4=1 �ș "Wimp_GetIconState",,q% �T%=q%!28 � $T%=p$ �!(T%+�(p$))=0 �� � �� �_PutRate(p$) �� T% �q%!0=rateW%:q%!4=1 �ș "Wimp_GetIconState",,q% �T%=q%!28 $T%=p$ !(T%+�(p$))=0 � *� �_PutDown(q%) 4� DragOn% � >#� SYS "Wimp_GetPointerInfo",,q% H �_GetName R ș "Wimp_GetPointerInfo",,q% \5messh%=q%!12:messi%=q%!16:messx%=q%!0:messy%=q%!4 f#� � fn$,":") � fn$=�_spath(fn$) p$(q%+44)=fn$ z?(q%+44+�(fn$))=0 �;q%!20=q%!12:q%!28=q%!0:q%!32=q%!4:q%!36=1024:q%!40=&044 �q%!0=56:q%!12=0:q%!16=1 �-ș "Wimp_SendMessage",17,q%,messh%,messi% �saveref%=q%!8 �ș "Wimp_CreateMenu",,-1 � DragOn%=� �� �� � �� �_KeyPress � Ȏ q%!0 � �� saveW%: i%=2:�_DoSave �� rateW%: �_GetRate , � Srate<0.3 � Srate=0.3:� 7 $ �_PutRate(�(Srate)) , ș "Wimp_CloseWindow",,Rat% $) ș "Wimp_CreateMenu",,-1 .� 8� B L� �_RadInit V� F% `Mask%=�(&20) jș&42EC1,2,0,Mask% t ~F%=�("<FM$Dir>.Presets") �� A%=1 � 10 ��#F%,PrePLL%(A%) �� � � #F% � �PLL%=PrePLL%(1) �#Freq%=88000 + (PLL%-&A10F6C)*25 �Spll%=PLL% �Mute%=8 �Station%=0 �Scan%=� ��_TuneUp(0) �_Delay(100) �_TuneUp(0) � (� �_TuneUp(N%) 2PLL%=PLL%+N% <Freq%=Freq%+N%*25 F.� Freq%>108000 � Freq%=108000:PLL%=&A1128B P,� Freq%<88000 � Freq%=88000:PLL%=&A10F6C Z�_ReTune d �_Disp n� x �� �_ReTune �� A%,B%,C%,S%,M% �B%=PLL% �� A%=1 � 24 � C%=B% � 1 �S%=&C1 � (C%<<2) � Mute% ��_SB(S%) �S%=S% � &2 ��_SB(S%) �B%=B%>>1 �� ��_SB(&C0 � Mute%) ��_SB(&D0 � Mute%) �_SB(&C0 � Mute%) � " � �_VolUp ,�_SB(&80 � Mute%) 6�_Delay(1) @�_SB(&C0 � Mute%) J� T ^� �_VolDown h�_SB(&40 � Mute%) r�_Delay(1) |�_SB(&C0 � Mute%) �� � �� �_Delay(n%) �� T% � T%=� + n% �� � � �>T% �� � �� �_SB(N%) �� B% �B%=N% � &20 �N%=N% � &DF ș&42EC1,1,B% ș&42EC1,1,N% ș&42EC1,1,B% &� 0 : � �_RX Dș&42EC1,0 � ,,Station% NStation%=Station%>>7 X� b l � �_SScan v� A% �Spll%=PLL% �Sfreq%=Freq% �Freq%=88000 �PLL%=&A10F6C �Scan%=� �A%=SP%!8 �BarP%=A%+SP%+SP%!(32+A%) �� A%=0 � 1077 �BarP%?A%=&33 �� �SS%=0:SSt%=0 ��_TuneUp(0) ��_Delay(100) Station%=0 � � �_Scan *� A%,B%,C%,W% 4PLL%+=1 > Freq%+=25 H SS%+=1 RSSt%=SS%*0.2224 \� Station%=1 � fC%=8 << (4*(PLL% � 1)) pB%=BarP%+SSt% z� A%=0 � 6 �W%=A%*178+A%*2 �B%?W%=B%?W% � C% �� �� ��_TuneUp(0) ��_RX �� PLL%=&A1128C � �PLL%=Spll% �Freq%=Sfreq% �Scan%=� ��_TuneUp(0) �2ș"OS_SpriteOp",12+256,SP%,"<FM$Dir>.Stations" �� /ș"Wimp_ForceRedraw",monW%,94,-340,808,-200 � �
00000000 0d 00 0a 16 f4 3e 44 65 76 65 6c 6f 70 2e 21 46 |.....>Develop.!F| 00000010 4d 24 2e 46 4d 24 0d 00 14 1e f4 20 56 65 72 73 |M$.FM$..... Vers| 00000020 69 6f 6e 20 31 2e 30 20 42 79 20 4d 69 6b 65 20 |ion 1.0 By Mike | 00000030 43 6f 6f 6b 0d 00 1e 19 f4 20 41 6c 6c 20 72 69 |Cook..... All ri| 00000040 67 68 74 73 20 72 65 73 65 72 76 65 64 0d 00 28 |ghts reserved..(| 00000050 11 ee 20 85 20 f2 65 72 72 6f 72 62 6f 78 0d 00 |.. . .errorbox..| 00000060 32 04 0d 00 3c 2a de 20 74 61 73 6b 69 64 25 34 |2...<*. taskid%4| 00000070 2c 69 6e 74 6d 65 73 73 25 20 32 30 3a 24 74 61 |,intmess% 20:$ta| 00000080 73 6b 69 64 25 3d 22 54 41 53 4b 22 0d 00 46 49 |skid%="TASK"..FI| 00000090 69 6e 74 6d 65 73 73 25 21 30 3d 31 3a 69 6e 74 |intmess%!0=1:int| 000000a0 6d 65 73 73 25 21 34 3d 32 3a 69 6e 74 6d 65 73 |mess%!4=2:intmes| 000000b0 73 25 21 38 3d 33 3a 69 6e 74 6d 65 73 73 25 21 |s%!8=3:intmess%!| 000000c0 31 32 3d 26 35 30 32 3a 69 6e 74 6d 65 73 73 25 |12=&502:intmess%| 000000d0 21 31 36 3d 30 0d 00 50 50 c8 99 20 22 57 69 6d |!16=0..PP.. "Wim| 000000e0 70 5f 49 6e 69 74 69 61 6c 69 73 65 22 2c 33 30 |p_Initialise",30| 000000f0 30 2c 21 74 61 73 6b 69 64 25 2c 22 46 4d 5f 4d |0,!taskid%,"FM_M| 00000100 6f 6e 69 74 6f 72 22 2c 69 6e 74 6d 65 73 73 25 |onitor",intmess%| 00000110 20 b8 20 76 65 72 73 69 6f 6e 25 2c 74 61 73 6b | . version%,task| 00000120 68 61 6e 64 25 0d 00 5a 59 de 20 71 25 20 26 33 |hand%..ZY. q% &3| 00000130 30 30 2c 71 63 25 20 38 30 2c 20 57 6e 25 20 26 |00,qc% 80, Wn% &| 00000140 35 31 32 2c 74 65 6d 70 25 20 32 35 36 2c 62 75 |512,temp% 256,bu| 00000150 66 66 65 72 73 25 20 35 31 32 2c 6d 65 6e 75 25 |ffers% 512,menu%| 00000160 20 31 32 38 2c 4d 6d 65 6e 75 25 20 32 35 36 2c | 128,Mmenu% 256,| 00000170 53 57 25 20 35 31 32 2c 63 62 25 20 31 38 0d 00 |SW% 512,cb% 18..| 00000180 64 3e de 20 57 6d 65 6e 75 25 20 35 31 32 2c 53 |d>. Wmenu% 512,S| 00000190 6d 65 6e 75 25 20 32 35 36 2c 49 6d 65 6e 75 25 |menu% 256,Imenu%| 000001a0 20 32 35 36 2c 20 54 65 78 74 57 61 72 6e 25 20 | 256, TextWarn% | 000001b0 31 30 30 2c 20 77 77 25 20 32 35 36 0d 00 6e 37 |100, ww% 256..n7| 000001c0 de 20 52 61 74 25 20 32 35 36 2c 20 43 4f 44 45 |. Rat% 256, CODE| 000001d0 25 20 32 35 36 2c 20 47 34 25 20 38 2c 20 47 35 |% 256, G4% 8, G5| 000001e0 25 20 31 30 32 34 2c 20 50 72 65 50 4c 4c 25 28 |% 1024, PrePLL%(| 000001f0 31 30 29 0d 00 78 3b de 20 53 37 25 28 39 29 2c |10)..x;. S7%(9),| 00000200 20 53 50 6f 69 6e 74 25 28 32 31 29 2c 49 58 25 | SPoint%(21),IX%| 00000210 28 32 31 29 2c 49 59 25 28 32 31 29 2c 49 58 31 |(21),IY%(21),IX1| 00000220 25 28 32 31 29 2c 49 59 31 25 28 32 31 29 0d 00 |%(21),IY1%(21)..| 00000230 82 0d 53 50 72 25 3d 34 30 30 30 0d 00 8c 1a de |..SPr%=4000.....| 00000240 20 55 70 72 65 73 73 24 28 31 32 29 2c 53 50 25 | Upress$(12),SP%| 00000250 20 53 50 72 25 0d 00 96 30 c8 99 20 22 57 69 6d | SPr%...0.. "Wim| 00000260 70 5f 4f 70 65 6e 54 65 6d 70 6c 61 74 65 22 2c |p_OpenTemplate",| 00000270 2c 22 3c 46 4d 24 44 69 72 3e 2e 54 65 6d 70 6c |,"<FM$Dir>.Templ| 00000280 61 74 65 73 22 0d 00 a0 29 ee 20 85 20 c8 99 20 |ates"...). . .. | 00000290 22 57 69 6d 70 5f 43 6c 6f 73 65 54 65 6d 70 6c |"Wimp_CloseTempl| 000002a0 61 74 65 22 3a f2 65 72 72 6f 72 62 6f 78 0d 00 |ate":.errorbox..| 000002b0 aa 3a c8 99 20 22 57 69 6d 70 5f 4c 6f 61 64 54 |.:.. "Wimp_LoadT| 000002c0 65 6d 70 6c 61 74 65 22 2c 2c 71 25 2c 74 65 6d |emplate",,q%,tem| 000002d0 70 25 2c 74 65 6d 70 25 2b 32 35 36 2c 2d 31 2c |p%,temp%+256,-1,| 000002e0 22 49 6e 66 6f 22 2c 30 0d 00 b4 26 c8 99 20 22 |"Info",0...&.. "| 000002f0 57 69 6d 70 5f 43 72 65 61 74 65 57 69 6e 64 6f |Wimp_CreateWindo| 00000300 77 22 2c 2c 71 25 20 b8 20 69 6e 66 6f 25 0d 00 |w",,q% . info%..| 00000310 be 04 0d 00 c8 3d c8 99 20 22 57 69 6d 70 5f 4c |.....=.. "Wimp_L| 00000320 6f 61 64 54 65 6d 70 6c 61 74 65 22 2c 2c 57 6e |oadTemplate",,Wn| 00000330 25 2b 34 2c 53 57 25 2c 53 57 25 2b 35 31 32 2c |%+4,SW%,SW%+512,| 00000340 2d 31 2c 22 50 61 6c 6c 65 74 74 65 22 2c 30 0d |-1,"Pallette",0.| 00000350 00 d2 0d 57 6e 25 21 32 38 3d 2d 31 0d 00 dc 0f |...Wn%!28=-1....| 00000360 e3 20 41 25 3d 30 20 b8 20 32 31 0d 00 e6 24 53 |. A%=0 . 21...$S| 00000370 50 6f 69 6e 74 25 28 41 25 29 3d 21 28 57 6e 25 |Point%(A%)=!(Wn%| 00000380 2b 34 2b 38 38 2b 32 30 2b 33 32 2a 41 25 29 0d |+4+88+20+32*A%).| 00000390 00 f0 39 49 58 25 28 41 25 29 3d 21 28 57 6e 25 |..9IX%(A%)=!(Wn%| 000003a0 2b 34 2b 38 38 2b 33 32 2a 41 25 29 3a 49 59 25 |+4+88+32*A%):IY%| 000003b0 28 41 25 29 3d 21 28 57 6e 25 2b 34 2b 38 38 2b |(A%)=!(Wn%+4+88+| 000003c0 34 2b 33 32 2a 41 25 29 0d 00 fa 3e 49 58 31 25 |4+32*A%)...>IX1%| 000003d0 28 41 25 29 3d 21 28 57 6e 25 2b 34 2b 38 38 2b |(A%)=!(Wn%+4+88+| 000003e0 38 2b 33 32 2a 41 25 29 3a 49 59 31 25 28 41 25 |8+32*A%):IY1%(A%| 000003f0 29 3d 21 28 57 6e 25 2b 34 2b 38 38 2b 31 32 2b |)=!(Wn%+4+88+12+| 00000400 33 32 2a 41 25 29 0d 01 04 05 ed 0d 01 0e 04 0d |32*A%)..........| 00000410 01 18 29 c8 99 20 22 57 69 6d 70 5f 43 72 65 61 |..).. "Wimp_Crea| 00000420 74 65 57 69 6e 64 6f 77 22 2c 2c 57 6e 25 2b 34 |teWindow",,Wn%+4| 00000430 20 b8 20 6d 6f 6e 57 25 0d 01 22 19 57 6e 25 21 | . monW%..".Wn%!| 00000440 30 3d 6d 6f 6e 57 25 3a 57 6e 25 21 32 38 3d 2d |0=monW%:Wn%!28=-| 00000450 31 0d 01 2c 04 0d 01 36 39 c8 99 20 22 57 69 6d |1..,...69.. "Wim| 00000460 70 5f 4c 6f 61 64 54 65 6d 70 6c 61 74 65 22 2c |p_LoadTemplate",| 00000470 2c 71 25 2c 77 77 25 2c 77 77 25 2b 32 35 36 2c |,q%,ww%,ww%+256,| 00000480 2d 31 2c 22 57 61 72 6e 69 6e 67 22 2c 30 0d 01 |-1,"Warning",0..| 00000490 40 29 71 25 21 31 30 38 3d 54 65 78 74 57 61 72 |@)q%!108=TextWar| 000004a0 6e 25 3a 71 25 21 31 31 32 3d 2d 31 3a 71 25 21 |n%:q%!112=-1:q%!| 000004b0 31 31 36 3d 33 30 30 0d 01 4a 20 58 51 25 3d 71 |116=300..J XQ%=q| 000004c0 25 21 38 2d 71 25 21 30 3a 59 51 25 3d 71 25 21 |%!8-q%!0:YQ%=q%!| 000004d0 31 32 2d 71 25 21 34 0d 01 54 2a c8 99 20 22 57 |12-q%!4..T*.. "W| 000004e0 69 6d 70 5f 43 72 65 61 74 65 57 69 6e 64 6f 77 |imp_CreateWindow| 000004f0 22 2c 2c 71 25 20 b8 20 77 61 72 6e 69 6e 67 57 |",,q% . warningW| 00000500 25 0d 01 5e 1b c8 99 20 22 57 69 6d 70 5f 43 6c |%..^... "Wimp_Cl| 00000510 6f 73 65 54 65 6d 70 6c 61 74 65 22 0d 01 68 0a |oseTemplate"..h.| 00000520 72 65 66 25 3d 30 0d 01 72 11 63 70 4c 25 3d 30 |ref%=0..r.cpL%=0| 00000530 3a 63 70 52 25 3d 30 0d 01 7c 12 73 6d 70 69 63 |:cpR%=0..|.smpic| 00000540 6f 6e 25 3d a4 69 63 6f 6e 0d 01 86 16 77 6f 70 |on%=.icon....wop| 00000550 65 6e 25 3d a3 3a 77 61 72 6e 4f 6e 25 3d a3 0d |en%=.:warnOn%=..| 00000560 01 90 0c 49 6e 57 69 6e 25 3d a3 0d 01 9a 11 4c |...InWin%=.....L| 00000570 58 25 3d 2d 31 3a 4c 59 25 3d 2d 31 0d 01 a4 0f |X%=-1:LY%=-1....| 00000580 63 72 25 3d 33 3a 63 62 25 3d 38 0d 01 ae 09 4c |cr%=3:cb%=8....L| 00000590 45 44 3d a3 0d 01 b8 0d 52 65 63 6f 72 64 25 3d |ED=.....Record%=| 000005a0 a3 0d 01 c2 0c 50 61 75 73 65 25 3d a3 0d 01 cc |.....Pause%=....| 000005b0 0f 4e 65 78 74 54 69 6d 65 25 3d 91 0d 01 d6 0d |.NextTime%=.....| 000005c0 44 72 61 67 4f 6e 25 3d a3 0d 01 e0 10 46 72 65 |DragOn%=.....Fre| 000005d0 71 3d 31 30 32 2e 31 32 35 0d 01 ea 0b 41 75 74 |q=102.125....Aut| 000005e0 6f 25 3d a3 0d 01 f4 1a 43 6c 69 63 6b 65 64 25 |o%=.....Clicked%| 000005f0 3d 30 3a 4d 65 6d 50 72 69 6d 65 25 3d a3 0d 01 |=0:MemPrime%=...| 00000600 fe 0d f2 5f 52 61 64 49 6e 69 74 0d 02 08 0a 66 |..._RadInit....f| 00000610 6e 24 3d 22 22 0d 02 12 0d 53 72 61 74 65 3d 31 |n$=""....Srate=1| 00000620 2e 30 0d 02 1c 0d 50 72 65 73 65 74 25 3d 31 0d |.0....Preset%=1.| 00000630 02 26 18 46 69 6e 70 75 74 25 3d ae 22 70 61 72 |.&.Finput%=."par| 00000640 61 6c 6c 65 6c 3a 22 0d 02 30 04 0d 02 3a 11 ee |allel:"..0...:..| 00000650 20 85 20 f2 65 72 72 6f 72 62 6f 78 0d 02 44 04 | . .errorbox..D.| 00000660 0d 02 4e 0e f2 73 65 74 75 70 6d 65 6e 75 0d 02 |..N..setupmenu..| 00000670 58 0d f2 5f 43 6f 6e 76 65 72 74 0d 02 62 0e 53 |X.._Convert..b.S| 00000680 74 61 74 69 6f 6e 25 3d 30 0d 02 6c 0b 53 63 61 |tation%=0..l.Sca| 00000690 6e 25 3d a3 0d 02 76 04 0d 02 80 09 46 4d 25 3d |n%=...v.....FM%=| 000006a0 b9 0d 02 8a 04 0d 02 94 05 f5 0d 02 9e 1d 20 c8 |.............. .| 000006b0 99 20 22 57 69 6d 70 5f 50 6f 6c 6c 22 2c 30 2c |. "Wimp_Poll",0,| 000006c0 71 25 20 b8 20 41 25 0d 02 a8 0d 20 20 c8 8e 20 |q% . A%.... .. | 000006d0 41 25 20 ca 0d 02 b2 11 20 20 20 c9 20 30 3a f2 |A% ..... . 0:.| 000006e0 5f 4e 75 6c 6c 0d 02 bc 15 20 20 20 c9 20 31 3a |_Null.... . 1:| 000006f0 f2 5f 64 6f 57 69 6e 64 6f 77 0d 02 c6 54 20 20 |._doWindow...T | 00000700 20 c9 20 32 3a c8 99 22 4f 53 5f 52 65 61 64 4d | . 2:.."OS_ReadM| 00000710 6f 64 65 56 61 72 69 61 62 6c 65 22 2c 2d 31 2c |odeVariable",-1,| 00000720 33 20 b8 20 2c 2c 4e 63 6f 6c 6f 75 72 73 25 3a |3 . ,,Ncolours%:| 00000730 20 c8 99 20 22 57 69 6d 70 5f 4f 70 65 6e 57 69 | .. "Wimp_OpenWi| 00000740 6e 64 6f 77 22 2c 2c 71 25 3a f2 5f 54 54 0d 02 |ndow",,q%:._TT..| 00000750 d0 12 20 20 20 c9 20 33 3a f2 5f 63 6c 6f 73 65 |.. . 3:._close| 00000760 0d 02 da 21 20 20 20 c9 20 34 3a 49 6e 57 69 6e |...! . 4:InWin| 00000770 25 3d a3 3a 4c 58 25 3d 2d 31 3a 4c 59 25 3d 2d |%=.:LX%=-1:LY%=-| 00000780 31 0d 02 e4 13 20 20 20 c9 20 35 3a 49 6e 57 69 |1.... . 5:InWi| 00000790 6e 25 3d b9 0d 02 ee 19 20 20 20 c9 20 36 3a f2 |n%=..... . 6:.| 000007a0 5f 64 6f 5f 63 6c 69 63 6b 28 71 25 29 0d 02 f8 |_do_click(q%)...| 000007b0 18 20 20 20 c9 20 37 3a f2 5f 50 75 74 44 6f 77 |. . 7:._PutDow| 000007c0 6e 28 71 25 29 0d 03 02 15 20 20 20 c9 20 38 3a |n(q%).... . 8:| 000007d0 f2 5f 4b 65 79 50 72 65 73 73 0d 03 0c 16 20 20 |._KeyPress.... | 000007e0 20 c9 20 39 3a f2 5f 53 4f 52 54 5f 4d 65 6e 75 | . 9:._SORT_Menu| 000007f0 0d 03 16 1b 20 20 20 c9 20 31 37 2c 31 38 3a f2 |.... . 17,18:.| 00000800 72 65 63 65 69 76 65 28 71 25 29 0d 03 20 08 20 |receive(q%).. . | 00000810 20 20 cb 0d 03 2a 08 20 fd 20 a3 0d 03 34 04 0d | ...*. . ...4..| 00000820 03 3e 05 e0 0d 03 48 04 0d 03 52 0c dd 20 f2 5f |.>....H...R.. ._| 00000830 4e 75 6c 6c 0d 03 5c 0e ea 20 41 25 2c 42 25 2c |Null..\.. A%,B%,| 00000840 43 25 0d 03 66 1e e7 20 53 63 61 6e 25 20 8c 20 |C%..f.. Scan% . | 00000850 f2 5f 53 63 61 6e 3a 20 f2 5f 44 69 73 70 3a e1 |._Scan: ._Disp:.| 00000860 0d 03 70 14 e7 20 77 6f 70 65 6e 25 20 80 20 46 |..p.. wopen% . F| 00000870 4d 25 20 8c 0d 03 7a 15 20 20 e7 20 4e 65 78 74 |M% ...z. . Next| 00000880 54 69 6d 65 25 3c 91 20 8c 0d 03 84 12 20 20 20 |Time%<. ..... | 00000890 e7 20 41 75 74 6f 25 3d b9 20 8c 0d 03 8e 2a 20 |. Auto%=. ....* | 000008a0 20 20 4e 65 78 74 54 69 6d 65 25 3d 91 2b 32 3a | NextTime%=.+2:| 000008b0 f2 5f 41 75 74 6f 43 6c 69 63 6b 28 43 6c 69 63 |._AutoClick(Clic| 000008c0 6b 65 64 25 29 0d 03 98 08 20 20 20 cc 0d 03 a2 |ked%).... ....| 000008d0 1e 20 20 20 20 4e 65 78 74 54 69 6d 65 25 3d 91 |. NextTime%=.| 000008e0 20 2b 53 72 61 74 65 2a 31 30 30 0d 03 ac 12 20 | +Srate*100.... | 000008f0 20 20 41 25 3d 53 74 61 74 69 6f 6e 25 0d 03 b6 | A%=Station%...| 00000900 0b 20 20 20 f2 5f 52 58 0d 03 c0 17 20 20 20 e7 |. ._RX.... .| 00000910 20 41 25 3c 3e 53 74 61 74 69 6f 6e 25 20 8c 0d | A%<>Station% ..| 00000920 03 ca 43 20 20 20 e7 20 53 74 61 74 69 6f 6e 25 |..C . Station%| 00000930 3d 30 20 8c 20 24 53 50 6f 69 6e 74 25 28 32 29 |=0 . $SPoint%(2)| 00000940 3d 22 72 61 64 69 6f 6f 66 66 22 8b 20 24 53 50 |="radiooff". $SP| 00000950 6f 69 6e 74 25 28 32 29 3d 22 72 61 64 69 6f 6f |oint%(2)="radioo| 00000960 6e 22 0d 03 d4 47 20 20 20 20 20 20 20 20 20 20 |n"...G | 00000970 20 c8 99 22 57 69 6d 70 5f 46 6f 72 63 65 52 65 | .."Wimp_ForceRe| 00000980 64 72 61 77 22 2c 6d 6f 6e 57 25 2c 49 58 25 28 |draw",monW%,IX%(| 00000990 32 29 2c 49 59 25 28 32 29 2c 49 58 31 25 28 32 |2),IY%(2),IX1%(2| 000009a0 29 2c 49 59 31 25 28 32 29 0d 03 de 08 20 20 20 |),IY1%(2).... | 000009b0 cd 0d 03 e8 07 20 20 cd 0d 03 f2 07 20 20 cd 0d |..... ..... ..| 000009c0 03 fc 06 20 cc 0d 04 06 05 cd 0d 04 10 05 e1 0d |... ............| 000009d0 04 1a 04 0d 04 24 0c dd 20 f2 5f 44 69 73 70 0d |.....$.. ._Disp.| 000009e0 04 2e 0e ea 20 41 25 2c 42 25 2c 43 25 0d 04 38 |.... A%,B%,C%..8| 000009f0 2b c8 99 22 57 69 6d 70 5f 46 6f 72 63 65 52 65 |+.."Wimp_ForceRe| 00000a00 64 72 61 77 22 2c 6d 6f 6e 57 25 2c 30 2c 2d 31 |draw",monW%,0,-1| 00000a10 31 38 2c 33 34 30 2c 30 0d 04 42 2f c8 99 22 57 |18,340,0..B/.."W| 00000a20 69 6d 70 5f 46 6f 72 63 65 52 65 64 72 61 77 22 |imp_ForceRedraw"| 00000a30 2c 6d 6f 6e 57 25 2c 39 34 2c 2d 33 34 30 2c 38 |,monW%,94,-340,8| 00000a40 30 38 2c 2d 32 35 30 0d 04 4c 05 e1 0d 04 56 04 |08,-250..L....V.| 00000a50 0d 04 60 11 dd 20 a4 5f 73 70 61 74 68 28 6e 24 |..`.. ._spath(n$| 00000a60 29 0d 04 6a 0f c8 95 20 a7 6e 24 2c 22 2e 22 29 |)..j... .n$,".")| 00000a70 0d 04 74 13 6e 24 3d c2 6e 24 2c a9 28 6e 24 29 |..t.n$=.n$,.(n$)| 00000a80 2d 31 29 0d 04 7e 05 ce 0d 04 88 1b e7 20 a9 28 |-1)..~....... .(| 00000a90 6e 24 29 3e 31 30 20 8c 20 6e 24 3d c2 6e 24 2c |n$)>10 . n$=.n$,| 00000aa0 31 30 29 0d 04 92 07 3d 6e 24 0d 04 9c 04 0d 04 |10)....=n$......| 00000ab0 a6 0f dd 20 f2 5f 47 65 74 4e 61 6d 65 0d 04 b0 |... ._GetName...| 00000ac0 0e ea 20 54 25 2c 41 25 2c 46 24 0d 04 ba 10 46 |.. T%,A%,F$....F| 00000ad0 24 3d 22 22 3a 66 6e 24 3d 22 22 0d 04 c4 16 71 |$="":fn$=""....q| 00000ae0 25 21 30 3d 73 61 76 65 57 25 3a 71 25 21 34 3d |%!0=saveW%:q%!4=| 00000af0 31 0d 04 ce 1e c8 99 20 22 57 69 6d 70 5f 47 65 |1...... "Wimp_Ge| 00000b00 74 49 63 6f 6e 53 74 61 74 65 22 2c 2c 71 25 0d |tIconState",,q%.| 00000b10 04 d8 0c 54 25 3d 71 25 21 32 38 0d 04 e2 09 54 |...T%=q%!28....T| 00000b20 25 2d 3d 31 0d 04 ec 05 f5 0d 04 f6 09 54 25 2b |%-=1.........T%+| 00000b30 3d 31 0d 05 00 10 46 24 3d 46 24 2b bd 28 3f 54 |=1....F$=F$+.(?T| 00000b40 25 29 0d 05 0a 0b fd 20 3f 54 25 3d 30 0d 05 14 |%)..... ?T%=0...| 00000b50 16 66 6e 24 3d c1 46 24 2c 31 2c a9 28 46 24 29 |.fn$=.F$,1,.(F$)| 00000b60 2d 31 29 0d 05 1e 05 e1 0d 05 28 04 0d 05 32 0f |-1).......(...2.| 00000b70 dd 20 f2 5f 47 65 74 52 61 74 65 0d 05 3c 0e ea |. ._GetRate..<..| 00000b80 20 54 25 2c 41 25 2c 52 24 0d 05 46 16 71 25 21 | T%,A%,R$..F.q%!| 00000b90 30 3d 72 61 74 65 57 25 3a 71 25 21 34 3d 31 0d |0=rateW%:q%!4=1.| 00000ba0 05 50 1e c8 99 20 22 57 69 6d 70 5f 47 65 74 49 |.P... "Wimp_GetI| 00000bb0 63 6f 6e 53 74 61 74 65 22 2c 2c 71 25 0d 05 5a |conState",,q%..Z| 00000bc0 0c 54 25 3d 71 25 21 32 38 0d 05 64 09 54 25 2d |.T%=q%!28..d.T%-| 00000bd0 3d 31 0d 05 6e 05 f5 0d 05 78 09 54 25 2b 3d 31 |=1..n....x.T%+=1| 00000be0 0d 05 82 10 52 24 3d 52 24 2b bd 28 3f 54 25 29 |....R$=R$+.(?T%)| 00000bf0 0d 05 8c 0b fd 20 3f 54 25 3d 30 0d 05 96 0f 53 |..... ?T%=0....S| 00000c00 72 61 74 65 3d bb 28 52 24 29 0d 05 a0 05 e1 0d |rate=.(R$)......| 00000c10 05 aa 04 0d 05 b4 11 dd 20 f2 5f 53 4f 52 54 5f |........ ._SORT_| 00000c20 4d 65 6e 75 0d 05 be 11 e7 20 49 63 6f 6e 4d 65 |Menu..... IconMe| 00000c30 6e 75 25 20 8c 0d 05 c8 13 20 e7 20 21 71 25 3d |nu% ..... . !q%=| 00000c40 31 20 8c 20 f2 64 69 65 0d 05 d2 06 20 cc 0d 05 |1 . .die.... ...| 00000c50 dc 13 20 e7 20 21 71 25 3d 32 20 8c 20 f2 64 69 |.. . !q%=2 . .di| 00000c60 65 0d 05 e6 16 20 e7 20 21 71 25 3d 31 20 8c 20 |e.... . !q%=1 . | 00000c70 f2 5f 53 53 63 61 6e 0d 05 f0 05 cd 0d 05 fa 04 |._SScan.........| 00000c80 0d 06 04 05 e1 0d 06 0e 04 0d 06 18 0d dd 20 f2 |.............. .| 00000c90 5f 63 6c 6f 73 65 0d 06 22 37 e7 20 71 25 21 30 |_close.."7. q%!0| 00000ca0 3d 6d 6f 6e 57 25 20 8c 20 c8 99 22 57 69 6d 70 |=monW% . .."Wimp| 00000cb0 5f 47 65 74 57 69 6e 64 6f 77 49 6e 66 6f 22 2c |_GetWindowInfo",| 00000cc0 2c 57 6e 25 3a 77 6f 70 65 6e 25 3d a3 0d 06 2c |,Wn%:wopen%=...,| 00000cd0 20 e7 20 71 25 21 30 3d 77 61 72 6e 69 6e 67 57 | . q%!0=warningW| 00000ce0 25 20 8c 20 77 61 72 6e 4f 6e 25 3d a3 0d 06 36 |% . warnOn%=...6| 00000cf0 1d c8 99 20 22 57 69 6d 70 5f 43 6c 6f 73 65 57 |... "Wimp_CloseW| 00000d00 69 6e 64 6f 77 22 2c 2c 71 25 0d 06 40 05 e1 0d |indow",,q%..@...| 00000d10 06 4a 04 0d 06 54 14 dd 20 f2 5f 64 6f 5f 63 6c |.J...T.. ._do_cl| 00000d20 69 63 6b 28 71 25 29 0d 06 5e 0c 69 25 3d 71 25 |ick(q%)..^.i%=q%| 00000d30 21 31 36 0d 06 68 05 20 0d 06 72 0e c8 8e 20 71 |!16..h. ..r... q| 00000d40 25 21 31 32 20 ca 0d 06 7c 28 c9 20 77 61 72 6e |%!12 ...|(. warn| 00000d50 69 6e 67 57 25 3a 20 71 25 21 30 3d 77 61 72 6e |ingW%: q%!0=warn| 00000d60 69 6e 67 57 25 20 3a f2 5f 63 6c 6f 73 65 0d 06 |ingW% :._close..| 00000d70 86 28 c9 20 2d 32 3a 20 f4 20 4c 6f 6f 6b 20 66 |.(. -2: . Look f| 00000d80 69 72 73 74 20 61 74 20 49 63 6f 6e 20 42 61 72 |irst at Icon Bar| 00000d90 20 43 6c 69 63 6b 0d 06 90 1e 20 20 20 20 20 20 | Click.... | 00000da0 20 20 e7 20 71 25 21 31 36 3d 73 6d 70 69 63 6f | . q%!16=smpico| 00000db0 6e 25 20 8c 0d 06 9a 49 20 20 20 20 20 20 20 20 |n% ....I | 00000dc0 e7 20 71 25 21 38 3d 32 20 8c 20 c8 99 22 57 69 |. q%!8=2 . .."Wi| 00000dd0 6d 70 5f 43 72 65 61 74 65 4d 65 6e 75 22 2c 2c |mp_CreateMenu",,| 00000de0 6d 65 6e 75 25 2c 71 25 21 30 2d 37 34 2c 31 38 |menu%,q%!0-74,18| 00000df0 30 3a 49 63 6f 6e 4d 65 6e 75 25 3d b9 0d 06 a4 |0:IconMenu%=....| 00000e00 1d 20 20 20 20 20 20 20 20 e7 20 71 25 21 38 3d |. . q%!8=| 00000e10 34 20 8c 20 f2 5f 4f 70 65 6e 0d 06 ae 0d 20 20 |4 . ._Open.... | 00000e20 20 20 20 20 20 20 cd 0d 06 b8 04 0d 06 c2 0e c9 | ..........| 00000e30 20 6d 6f 6e 57 25 3a 20 20 0d 06 cc 27 20 20 20 | monW%: ...' | 00000e40 20 20 20 20 20 20 20 20 20 20 20 e7 20 71 25 21 | . q%!| 00000e50 38 3d 34 20 8c 20 f2 5f 4d 6f 6e 43 6c 69 63 6b |8=4 . ._MonClick| 00000e60 0d 06 d6 51 20 20 20 20 20 20 20 20 20 20 20 20 |...Q | 00000e70 20 20 e7 20 71 25 21 38 3d 32 20 8c 20 c8 99 22 | . q%!8=2 . .."| 00000e80 57 69 6d 70 5f 43 72 65 61 74 65 4d 65 6e 75 22 |Wimp_CreateMenu"| 00000e90 2c 2c 4d 6d 65 6e 75 25 2c 71 25 21 30 2d 39 36 |,,Mmenu%,q%!0-96| 00000ea0 2c 71 25 21 34 3a 49 63 6f 6e 4d 65 6e 75 25 3d |,q%!4:IconMenu%=| 00000eb0 a3 0d 06 e0 11 20 20 20 20 20 20 20 20 20 20 20 |..... | 00000ec0 20 20 0d 06 ea 05 cb 0d 06 f4 05 e1 0d 06 fe 04 | ..............| 00000ed0 0d 07 08 15 dd 20 f2 5f 41 75 74 6f 43 6c 69 63 |..... ._AutoClic| 00000ee0 6b 28 69 25 29 0d 07 12 0e ea 20 78 25 2c 79 25 |k(i%)..... x%,y%| 00000ef0 2c 62 25 0d 07 1c 10 20 c8 97 20 78 25 2c 79 25 |,b%.... .. x%,y%| 00000f00 2c 62 25 0d 07 26 0e 20 e7 20 62 25 3c 3e 34 20 |,b%..&. . b%<>4 | 00000f10 8c 0d 07 30 0d 20 20 41 75 74 6f 25 3d a3 0d 07 |...0. Auto%=...| 00000f20 3a 1e 20 20 24 53 50 6f 69 6e 74 25 28 69 25 29 |:. $SPoint%(i%)| 00000f30 3d 55 70 72 65 73 73 24 28 69 25 29 0d 07 44 42 |=Upress$(i%)..DB| 00000f40 20 20 c8 99 22 57 69 6d 70 5f 46 6f 72 63 65 52 | .."Wimp_ForceR| 00000f50 65 64 72 61 77 22 2c 6d 6f 6e 57 25 2c 49 58 25 |edraw",monW%,IX%| 00000f60 28 69 25 29 2c 49 59 25 28 69 25 29 2c 49 58 31 |(i%),IY%(i%),IX1| 00000f70 25 28 69 25 29 2c 49 59 31 25 28 69 25 29 0d 07 |%(i%),IY1%(i%)..| 00000f80 4e 10 20 20 43 6c 69 63 6b 65 64 25 3d 30 0d 07 |N. Clicked%=0..| 00000f90 58 06 20 cc 0d 07 62 0b c8 8e 20 69 25 20 ca 0d |X. ...b... i% ..| 00000fa0 07 6c 12 c9 20 35 3a 20 20 20 f2 5f 56 6f 6c 55 |.l.. 5: ._VolU| 00000fb0 70 0d 07 76 14 c9 20 36 3a 20 20 20 f2 5f 56 6f |p..v.. 6: ._Vo| 00000fc0 6c 44 6f 77 6e 0d 07 80 17 c9 20 37 3a 20 20 20 |lDown..... 7: | 00000fd0 f2 5f 54 75 6e 65 55 70 28 2d 34 29 0d 07 8a 16 |._TuneUp(-4)....| 00000fe0 c9 20 38 3a 20 20 20 f2 5f 54 75 6e 65 55 70 28 |. 8: ._TuneUp(| 00000ff0 34 29 0d 07 94 16 c9 20 39 3a 20 20 20 f2 5f 54 |4)..... 9: ._T| 00001000 75 6e 65 55 70 28 31 29 0d 07 9e 17 c9 20 31 30 |uneUp(1)..... 10| 00001010 3a 20 20 f2 5f 54 75 6e 65 55 70 28 2d 31 29 0d |: ._TuneUp(-1).| 00001020 07 a8 04 0d 07 b2 05 cb 0d 07 bc 05 20 0d 07 c6 |............ ...| 00001030 07 20 20 cd 0d 07 d0 05 e1 0d 07 da 04 0d 07 e4 |. .............| 00001040 10 dd 20 f2 5f 4d 6f 6e 43 6c 69 63 6b 0d 07 ee |.. ._MonClick...| 00001050 0e ea 20 44 25 2c 56 25 2c 42 25 0d 07 f8 26 f4 |.. D%,V%,B%...&.| 00001060 20 44 6f 20 74 68 65 20 61 63 74 69 6f 6e 20 66 | Do the action f| 00001070 6f 72 20 61 20 77 69 6e 64 6f 77 20 63 6c 69 63 |or a window clic| 00001080 6b 0d 08 02 04 0d 08 0c 0b c8 8e 20 69 25 20 ca |k.......... i% .| 00001090 0d 08 16 3e c9 20 31 3a 20 20 e7 20 4d 75 74 65 |...>. 1: . Mute| 000010a0 25 3d 30 20 8c 20 24 53 50 6f 69 6e 74 25 28 31 |%=0 . $SPoint%(1| 000010b0 29 3d 22 4e 6d 75 74 65 22 20 8b 20 24 53 50 6f |)="Nmute" . $SPo| 000010c0 69 6e 74 25 28 31 29 3d 22 6d 75 74 65 22 0d 08 |int%(1)="mute"..| 000010d0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 75 | Mu| 000010e0 74 65 25 3d 4d 75 74 65 25 20 82 20 26 38 0d 08 |te%=Mute% . &8..| 000010f0 2a 1b 20 20 20 20 20 20 20 20 20 20 20 20 f2 5f |*. ._| 00001100 54 75 6e 65 55 70 28 30 29 0d 08 34 10 20 20 20 |TuneUp(0)..4. | 00001110 20 20 20 20 20 20 20 20 cd 0d 08 3e 38 c9 20 35 | ...>8. 5| 00001120 3a 20 20 20 f2 5f 56 6f 6c 55 70 3a 41 75 74 6f |: ._VolUp:Auto| 00001130 25 3d b9 3a 43 6c 69 63 6b 65 64 25 3d 69 25 3a |%=.:Clicked%=i%:| 00001140 24 53 50 6f 69 6e 74 25 28 35 29 3d 22 70 75 70 |$SPoint%(5)="pup| 00001150 22 0d 08 48 3c c9 20 36 3a 20 20 20 f2 5f 56 6f |"..H<. 6: ._Vo| 00001160 6c 44 6f 77 6e 3a 41 75 74 6f 25 3d b9 3a 43 6c |lDown:Auto%=.:Cl| 00001170 69 63 6b 65 64 25 3d 69 25 3a 24 53 50 6f 69 6e |icked%=i%:$SPoin| 00001180 74 25 28 36 29 3d 22 70 64 6f 77 6e 22 0d 08 52 |t%(6)="pdown"..R| 00001190 40 c9 20 37 3a 20 20 20 f2 5f 54 75 6e 65 55 70 |@. 7: ._TuneUp| 000011a0 28 2d 34 29 3a 41 75 74 6f 25 3d b9 3a 43 6c 69 |(-4):Auto%=.:Cli| 000011b0 63 6b 65 64 25 3d 69 25 3a 24 53 50 6f 69 6e 74 |cked%=i%:$SPoint| 000011c0 25 28 37 29 3d 22 70 74 64 6f 77 6e 22 0d 08 5c |%(7)="ptdown"..\| 000011d0 3d c9 20 38 3a 20 20 20 f2 5f 54 75 6e 65 55 70 |=. 8: ._TuneUp| 000011e0 28 34 29 3a 41 75 74 6f 25 3d b9 3a 43 6c 69 63 |(4):Auto%=.:Clic| 000011f0 6b 65 64 25 3d 69 25 3a 24 53 50 6f 69 6e 74 25 |ked%=i%:$SPoint%| 00001200 28 38 29 3d 22 70 74 75 70 22 0d 08 66 3e c9 20 |(8)="ptup"..f>. | 00001210 39 3a 20 20 20 f2 5f 54 75 6e 65 55 70 28 31 29 |9: ._TuneUp(1)| 00001220 3a 41 75 74 6f 25 3d b9 3a 43 6c 69 63 6b 65 64 |:Auto%=.:Clicked| 00001230 25 3d 69 25 3a 24 53 50 6f 69 6e 74 25 28 39 29 |%=i%:$SPoint%(9)| 00001240 3d 22 70 73 74 75 70 22 0d 08 70 42 c9 20 31 30 |="pstup"..pB. 10| 00001250 3a 20 20 f2 5f 54 75 6e 65 55 70 28 2d 31 29 3a |: ._TuneUp(-1):| 00001260 41 75 74 6f 25 3d b9 3a 43 6c 69 63 6b 65 64 25 |Auto%=.:Clicked%| 00001270 3d 69 25 3a 24 53 50 6f 69 6e 74 25 28 31 30 29 |=i%:$SPoint%(10)| 00001280 3d 22 70 73 74 64 6f 77 6e 22 0d 08 7a 21 c9 20 |="pstdown"..z!. | 00001290 31 31 3a 20 20 4d 65 6d 50 72 69 6d 65 25 3d ac |11: MemPrime%=.| 000012a0 28 4d 65 6d 50 72 69 6d 65 25 29 0d 08 84 46 20 |(MemPrime%)...F | 000012b0 20 20 20 20 20 20 20 20 20 e7 20 4d 65 6d 50 72 | . MemPr| 000012c0 69 6d 65 25 3d b9 20 8c 20 24 53 50 6f 69 6e 74 |ime%=. . $SPoint| 000012d0 25 28 31 31 29 3d 22 6d 65 6d 61 22 20 8b 20 24 |%(11)="mema" . $| 000012e0 53 50 6f 69 6e 74 25 28 31 31 29 3d 22 6d 65 6d |SPoint%(11)="mem| 000012f0 22 0d 08 8e 06 20 cb 0d 08 98 1d 20 e7 20 69 25 |".... ..... . i%| 00001300 3c 31 32 20 84 20 69 25 3e 32 31 20 8c 20 e5 20 |<12 . i%>21 . . | 00001310 8d 64 54 48 0d 08 a2 61 20 c8 99 22 57 69 6d 70 |.dTH...a .."Wimp| 00001320 5f 46 6f 72 63 65 52 65 64 72 61 77 22 2c 6d 6f |_ForceRedraw",mo| 00001330 6e 57 25 2c 49 58 25 28 50 72 65 73 65 74 25 2b |nW%,IX%(Preset%+| 00001340 31 31 29 2c 49 59 25 28 50 72 65 73 65 74 25 2b |11),IY%(Preset%+| 00001350 31 31 29 2c 49 58 31 25 28 50 72 65 73 65 74 25 |11),IX1%(Preset%| 00001360 2b 31 31 29 2c 49 59 31 25 28 50 72 65 73 65 74 |+11),IY1%(Preset| 00001370 25 2b 31 31 29 0d 08 ac 12 20 50 72 65 73 65 74 |%+11).... Preset| 00001380 25 3d 69 25 2d 31 31 0d 08 b6 42 20 20 c8 99 22 |%=i%-11...B .."| 00001390 57 69 6d 70 5f 46 6f 72 63 65 52 65 64 72 61 77 |Wimp_ForceRedraw| 000013a0 22 2c 6d 6f 6e 57 25 2c 49 58 25 28 69 25 29 2c |",monW%,IX%(i%),| 000013b0 49 59 25 28 69 25 29 2c 49 58 31 25 28 69 25 29 |IY%(i%),IX1%(i%)| 000013c0 2c 49 59 31 25 28 69 25 29 0d 08 c0 61 e7 20 4d |,IY1%(i%)...a. M| 000013d0 65 6d 50 72 69 6d 65 25 3d b9 20 8c 20 f2 5f 50 |emPrime%=. . ._P| 000013e0 72 65 53 74 6f 72 65 20 8b 20 50 4c 4c 25 3d 50 |reStore . PLL%=P| 000013f0 72 65 50 4c 4c 25 28 50 72 65 73 65 74 25 29 3a |rePLL%(Preset%):| 00001400 46 72 65 71 25 3d 38 38 30 30 30 20 2b 28 50 4c |Freq%=88000 +(PL| 00001410 4c 25 2d 26 41 31 30 46 36 43 29 2a 32 35 3a f2 |L%-&A10F6C)*25:.| 00001420 5f 54 75 6e 65 55 70 28 30 29 0d 08 ca 0f 4d 65 |_TuneUp(0)....Me| 00001430 6d 50 72 69 6d 65 25 3d a3 0d 08 d4 50 e7 20 69 |mPrime%=....P. i| 00001440 25 3e 30 20 80 20 69 25 3c 31 32 20 20 c8 99 22 |%>0 . i%<12 .."| 00001450 57 69 6d 70 5f 46 6f 72 63 65 52 65 64 72 61 77 |Wimp_ForceRedraw| 00001460 22 2c 6d 6f 6e 57 25 2c 49 58 25 28 69 25 29 2c |",monW%,IX%(i%),| 00001470 49 59 25 28 69 25 29 2c 49 58 31 25 28 69 25 29 |IY%(i%),IX1%(i%)| 00001480 2c 49 59 31 25 28 69 25 29 0d 08 de 04 0d 08 e8 |,IY1%(i%).......| 00001490 10 20 c8 97 20 44 25 2c 56 25 2c 42 25 0d 08 f2 |. .. D%,V%,B%...| 000014a0 13 20 f2 5f 54 72 61 6e 73 28 6d 6f 6e 57 25 29 |. ._Trans(monW%)| 000014b0 0d 09 06 28 20 e7 20 42 25 3d 34 20 80 20 69 25 |...( . B%=4 . i%| 000014c0 3c 30 20 80 20 28 28 56 25 2d 79 6f 25 29 20 3c |<0 . ((V%-yo%) <| 000014d0 20 2d 31 32 30 29 20 8c 0d 09 10 1b 20 20 42 25 | -120) ..... B%| 000014e0 3d 28 44 25 2d 78 6f 25 2d 38 35 29 2a 31 2e 31 |=(D%-xo%-85)*1.1| 000014f0 32 33 37 0d 09 1a 15 20 20 50 4c 4c 25 3d 26 41 |237.... PLL%=&A| 00001500 31 30 46 36 43 2b 42 25 0d 09 24 17 20 20 46 72 |10F6C+B%..$. Fr| 00001510 65 71 25 3d 38 38 30 30 30 2b 42 25 2a 32 35 0d |eq%=88000+B%*25.| 00001520 09 2e 04 0d 09 38 11 20 20 f2 5f 54 75 6e 65 55 |.....8. ._TuneU| 00001530 70 28 30 29 0d 09 42 05 cd 0d 09 4c 05 e1 0d 09 |p(0)..B....L....| 00001540 56 04 0d 09 60 10 dd 20 f2 5f 50 72 65 53 74 6f |V...`.. ._PreSto| 00001550 72 65 0d 09 6a 0b ea 20 46 25 2c 41 25 0d 09 74 |re..j.. F%,A%..t| 00001560 16 24 53 50 6f 69 6e 74 25 28 31 31 29 3d 22 6d |.$SPoint%(11)="m| 00001570 65 6d 22 0d 09 7e 19 50 72 65 50 4c 4c 25 28 50 |em"..~.PrePLL%(P| 00001580 72 65 73 65 74 25 29 3d 50 4c 4c 25 0d 09 88 40 |reset%)=PLL%...@| 00001590 c8 99 22 57 69 6d 70 5f 46 6f 72 63 65 52 65 64 |.."Wimp_ForceRed| 000015a0 72 61 77 22 2c 6d 6f 6e 57 25 2c 49 58 25 28 31 |raw",monW%,IX%(1| 000015b0 31 29 2c 49 59 25 28 31 31 29 2c 49 58 31 25 28 |1),IY%(11),IX1%(| 000015c0 31 31 29 2c 49 59 31 25 28 31 31 29 0d 09 92 1c |11),IY1%(11)....| 000015d0 46 25 3d ae 28 22 3c 46 4d 24 44 49 52 3e 2e 50 |F%=.("<FM$DIR>.P| 000015e0 72 65 73 65 74 73 22 29 0d 09 9c 0f e3 20 41 25 |resets")..... A%| 000015f0 3d 31 20 b8 20 31 30 0d 09 a6 14 f1 23 46 25 2c |=1 . 10.....#F%,| 00001600 50 72 65 50 4c 4c 25 28 41 25 29 0d 09 b0 05 ed |PrePLL%(A%).....| 00001610 0d 09 ba 09 d9 20 23 46 25 0d 09 c4 05 e1 0d 09 |..... #F%.......| 00001620 ce 04 0d 09 d8 0c dd 20 f2 5f 4f 70 65 6e 0d 09 |....... ._Open..| 00001630 e2 2e c8 99 22 4f 53 5f 52 65 61 64 4d 6f 64 65 |...."OS_ReadMode| 00001640 56 61 72 69 61 62 6c 65 22 2c 2d 31 2c 33 20 b8 |Variable",-1,3 .| 00001650 20 2c 2c 4e 63 6f 6c 6f 75 72 73 25 0d 09 ec 19 | ,,Ncolours%....| 00001660 f4 20 4f 50 45 4e 20 55 50 20 57 49 4e 44 4f 57 |. OPEN UP WINDOW| 00001670 20 48 45 52 45 0d 09 f6 0e e7 20 77 6f 70 65 6e | HERE..... wopen| 00001680 25 20 8c 0d 0a 00 0e 71 25 21 30 3d 6d 6f 6e 57 |% .....q%!0=monW| 00001690 25 0d 0a 0a 1f c8 99 22 57 69 6d 70 5f 47 65 74 |%......"Wimp_Get| 000016a0 57 69 6e 64 6f 77 53 74 61 74 65 22 2c 2c 71 25 |WindowState",,q%| 000016b0 0d 0a 14 36 20 20 e7 20 71 25 21 32 38 3c 3e 2d |...6 . q%!28<>-| 000016c0 31 20 8c 20 71 25 21 32 38 3d 2d 31 3a 20 c8 99 |1 . q%!28=-1: ..| 000016d0 20 22 57 69 6d 70 5f 4f 70 65 6e 57 69 6e 64 6f | "Wimp_OpenWindo| 000016e0 77 22 2c 2c 71 25 0d 0a 1e 05 cc 0d 0a 28 1d c8 |w",,q%.......(..| 000016f0 99 20 22 57 69 6d 70 5f 4f 70 65 6e 57 69 6e 64 |. "Wimp_OpenWind| 00001700 6f 77 22 2c 2c 57 6e 25 0d 0a 32 0c 77 6f 70 65 |ow",,Wn%..2.wope| 00001710 6e 25 3d b9 0d 0a 3c 05 cd 0d 0a 46 05 e1 0d 0a |n%=...<....F....| 00001720 50 04 0d 0a 5a 10 dd 20 f2 5f 64 6f 57 69 6e 64 |P...Z.. ._doWind| 00001730 6f 77 0d 0a 64 10 20 20 ea 20 41 25 2c 49 25 2c |ow..d. . A%,I%,| 00001740 4c 25 0d 0a 6e 04 0d 0a 78 15 20 20 20 f2 5f 54 |L%..n...x. ._T| 00001750 72 61 6e 73 28 6d 6f 6e 57 25 29 0d 0a 82 29 20 |rans(monW%)...) | 00001760 20 20 c8 99 20 22 57 69 6d 70 5f 52 65 64 72 61 | .. "Wimp_Redra| 00001770 77 57 69 6e 64 6f 77 22 2c 2c 71 25 20 b8 20 66 |wWindow",,q% . f| 00001780 6c 61 67 25 0d 0a 8c 11 20 20 20 20 20 c8 95 20 |lag%.... .. | 00001790 66 6c 61 67 25 0d 0a 96 04 0d 0a a0 0f 20 20 20 |flag%........ | 000017a0 20 20 f2 5f 44 6d 70 77 0d 0a aa 2b 20 20 20 20 | ._Dmpw...+ | 000017b0 20 c8 99 20 22 57 69 6d 70 5f 47 65 74 52 65 63 | .. "Wimp_GetRec| 000017c0 74 61 6e 67 6c 65 22 2c 2c 71 25 20 b8 20 66 6c |tangle",,q% . fl| 000017d0 61 67 25 0d 0a b4 0a 20 20 20 20 20 ce 0d 0a be |ag%.... ....| 000017e0 06 20 20 0d 0a c8 07 20 20 e1 0d 0a d2 04 0d 0a |. .... .......| 000017f0 dc 0e dd 20 a4 70 6f 69 6e 74 53 71 0d 0a e6 11 |... .pointSq....| 00001800 ea 20 58 25 2c 59 25 2c 42 25 2c 52 25 0d 0a f0 |. X%,Y%,B%,R%...| 00001810 12 f2 5f 54 72 61 6e 73 28 6d 6f 6e 57 25 29 0d |.._Trans(monW%).| 00001820 0a fa 0f c8 97 20 58 25 2c 59 25 2c 42 25 0d 0b |..... X%,Y%,B%..| 00001830 04 08 52 25 3d 30 0d 0b 0e 29 e7 20 28 58 25 3c |..R%=0...). (X%<| 00001840 28 78 6f 25 2b 33 30 29 20 80 20 59 25 3c 28 79 |(xo%+30) . Y%<(y| 00001850 6f 25 2b 33 30 29 20 29 20 8c 20 52 25 3d 31 0d |o%+30) ) . R%=1.| 00001860 0b 18 2e e7 20 28 58 25 3e 28 78 6f 25 2b 32 34 |.... (X%>(xo%+24| 00001870 36 2a 78 73 25 29 20 80 20 59 25 3c 28 79 6f 25 |6*xs%) . Y%<(yo%| 00001880 2b 33 30 29 20 29 20 8c 20 52 25 3d 32 0d 0b 22 |+30) ) . R%=2.."| 00001890 07 3d 52 25 0d 0b 2c 04 0d 0b 36 11 f4 20 44 72 |.=R%..,...6.. Dr| 000018a0 61 77 20 77 69 6e 64 6f 77 0d 0b 40 0c dd 20 f2 |aw window..@.. .| 000018b0 5f 44 6d 70 77 0d 0b 4a 0e ea 20 41 25 2c 42 25 |_Dmpw..J.. A%,B%| 000018c0 2c 56 25 0d 0b 54 12 f2 5f 54 72 61 6e 73 28 6d |,V%..T.._Trans(m| 000018d0 6f 6e 57 25 29 0d 0b 5e 19 20 c8 99 22 57 69 6d |onW%)..^. .."Wim| 000018e0 70 5f 53 65 74 43 6f 6c 6f 75 72 22 2c 37 0d 0b |p_SetColour",7..| 000018f0 68 1f 20 c8 93 c8 90 20 78 6f 25 2b 31 30 2c 79 |h. .... xo%+10,y| 00001900 6f 25 2b 31 30 2c 33 33 30 2c 31 30 34 0d 0b 72 |o%+10,330,104..r| 00001910 19 20 c8 99 22 57 69 6d 70 5f 53 65 74 43 6f 6c |. .."Wimp_SetCol| 00001920 6f 75 72 22 2c 30 0d 0b 7c 1d 20 c8 93 20 78 6f |our",0..|. .. xo| 00001930 25 2b 31 30 2c 79 6f 25 2b 31 30 2c 33 33 30 2c |%+10,yo%+10,330,| 00001940 31 30 34 0d 0b 86 05 20 0d 0b 90 13 20 46 72 65 |104.... .... Fre| 00001950 71 24 3d c3 28 46 72 65 71 25 29 0d 0b 9a 27 20 |q$=.(Freq%)...' | 00001960 e7 20 46 72 65 71 25 20 3c 20 31 30 30 30 30 30 |. Freq% < 100000| 00001970 20 8c 20 46 72 65 71 24 3d 22 30 22 2b 46 72 65 | . Freq$="0"+Fre| 00001980 71 24 0d 0b a4 12 20 c8 95 20 a9 28 46 72 65 71 |q$.... .. .(Freq| 00001990 24 29 3c 36 0d 0b ae 15 20 20 46 72 65 71 24 3d |$)<6.... Freq$=| 000019a0 46 72 65 71 24 2b 22 30 22 0d 0b b8 07 20 20 ce |Freq$+"0".... .| 000019b0 0d 0b c2 0f 20 e3 20 41 25 3d 31 20 b8 20 36 0d |.... . A%=1 . 6.| 000019c0 0b cc 1c 20 f2 5f 37 73 65 67 28 41 25 2c c1 46 |... ._7seg(A%,.F| 000019d0 72 65 71 24 2c 41 25 2c 31 29 29 0d 0b d6 06 20 |req$,A%,1)).... | 000019e0 ed 0d 0b e0 32 20 c8 93 c8 90 20 78 6f 25 2b 38 |....2 .... xo%+8| 000019f0 35 2b 28 46 72 65 71 25 2d 38 38 30 30 30 29 2f |5+(Freq%-88000)/| 00001a00 32 38 2e 34 39 2c 79 6f 25 2d 31 35 30 2c 31 30 |28.49,yo%-150,10| 00001a10 2c 31 36 0d 0b ea 3f 20 c8 99 22 4f 53 5f 53 70 |,16...? .."OS_Sp| 00001a20 72 69 74 65 4f 70 22 2c 35 32 2b 32 35 36 2c 53 |riteOp",52+256,S| 00001a30 50 25 2c 22 62 61 72 22 2c 78 6f 25 2b 38 38 2c |P%,"bar",xo%+88,| 00001a40 79 6f 25 2d 31 33 30 2c 26 31 30 2c 30 2c 53 74 |yo%-130,&10,0,St| 00001a50 74 25 0d 0b f4 19 20 c8 99 22 57 69 6d 70 5f 53 |t%.... .."Wimp_S| 00001a60 65 74 43 6f 6c 6f 75 72 22 2c 37 0d 0b fe 1f 20 |etColour",7.... | 00001a70 c8 93 c8 90 20 78 6f 25 2b 35 34 30 2c 79 6f 25 |.... xo%+540,yo%| 00001a80 2b 31 38 2c 32 34 30 2c 36 34 0d 0c 08 14 20 e7 |+18,240,64.... .| 00001a90 20 50 72 65 73 65 74 25 3c 3e 30 20 8c 20 0d 0c | Preset%<>0 . ..| 00001aa0 12 38 20 e7 20 50 72 65 73 65 74 25 3e 35 20 8c |.8 . Preset%>5 .| 00001ab0 20 41 25 3d 50 72 65 73 65 74 25 2d 35 3a 42 25 | A%=Preset%-5:B%| 00001ac0 3d 31 30 20 8b 20 41 25 3d 50 72 65 73 65 74 25 |=10 . A%=Preset%| 00001ad0 3a 42 25 3d 36 35 0d 0c 1c 3a 20 c8 99 22 57 69 |:B%=65...: .."Wi| 00001ae0 6d 70 5f 53 65 74 43 6f 6c 6f 75 72 22 2c 31 31 |mp_SetColour",11| 00001af0 3a c8 93 c8 90 20 78 6f 25 2b 34 38 34 2b 35 36 |:.... xo%+484+56| 00001b00 2a 41 25 2c 79 6f 25 2b 42 25 2c 32 30 2c 32 30 |*A%,yo%+B%,20,20| 00001b10 0d 0c 26 06 20 cd 0d 0c 30 05 e1 0d 0c 3a 04 0d |..&. ...0....:..| 00001b20 0c 44 13 dd 20 f2 5f 37 73 65 67 28 4e 25 2c 56 |.D.. ._7seg(N%,V| 00001b30 24 29 0d 0c 4e 0e ea 20 58 25 2c 59 25 2c 50 25 |$)..N.. X%,Y%,P%| 00001b40 0d 0c 58 1d 58 25 3d 78 6f 25 2d 37 34 2b 4e 25 |..X.X%=xo%-74+N%| 00001b50 2a 36 30 3a 59 25 3d 79 6f 25 2b 33 30 0d 0c 62 |*60:Y%=yo%+30..b| 00001b60 19 c8 99 22 57 69 6d 70 5f 53 65 74 43 6f 6c 6f |..."Wimp_SetColo| 00001b70 75 72 22 2c 31 30 0d 0c 6c 12 20 50 25 3d 53 37 |ur",10..l. P%=S7| 00001b80 25 28 bb 28 56 24 29 29 0d 0c 76 22 20 e7 20 28 |%(.(V$))..v" . (| 00001b90 bb 28 56 24 29 3c 3e 30 20 80 20 4e 25 3d 31 29 |.(V$)<>0 . N%=1)| 00001ba0 20 84 20 4e 25 3c 3e 31 20 8c 0d 0c 80 1b f4 20 | . N%<>1 ...... | 00001bb0 49 46 20 4e 25 3e 33 20 54 48 45 4e 20 58 25 3d |IF N%>3 THEN X%=| 00001bc0 58 25 2d 36 30 0d 0c 8a 20 e7 20 4e 25 3d 34 20 |X%-60... . N%=4 | 00001bd0 8c 20 c8 93 c8 90 20 78 6f 25 2b 31 35 34 2c 59 |. .... xo%+154,Y| 00001be0 25 2c 36 2c 36 0d 0c 94 25 20 e7 20 28 50 25 20 |%,6,6...% . (P% | 00001bf0 80 20 26 31 29 20 c8 93 c8 90 20 58 25 2b 36 2c |. &1) .... X%+6,| 00001c00 59 25 2b 36 30 2c 33 30 2c 36 0d 0c 9e 28 20 e7 |Y%+60,30,6...( .| 00001c10 20 28 50 25 20 80 20 26 32 29 20 8c 20 c8 93 c8 | (P% . &2) . ...| 00001c20 90 20 58 25 2b 33 36 2c 59 25 2b 33 36 2c 36 2c |. X%+36,Y%+36,6,| 00001c30 32 34 0d 0c a8 27 20 e7 20 28 50 25 20 80 20 26 |24...' . (P% . &| 00001c40 34 29 20 8c 20 c8 93 c8 90 20 58 25 2b 33 36 2c |4) . .... X%+36,| 00001c50 59 25 2b 36 2c 36 2c 32 34 0d 0c b2 24 20 e7 20 |Y%+6,6,24...$ . | 00001c60 28 50 25 20 80 20 26 38 29 20 8c 20 c8 93 c8 90 |(P% . &8) . ....| 00001c70 20 58 25 2b 36 2c 59 25 2c 33 30 2c 36 0d 0c bc | X%+6,Y%,30,6...| 00001c80 23 20 e7 20 28 50 25 20 80 20 26 31 30 29 20 c8 |# . (P% . &10) .| 00001c90 93 c8 90 20 58 25 2c 59 25 2b 36 2c 36 2c 32 34 |... X%,Y%+6,6,24| 00001ca0 0d 0c c6 24 20 e7 20 28 50 25 20 80 20 26 32 30 |...$ . (P% . &20| 00001cb0 29 20 c8 93 c8 90 20 58 25 2c 59 25 2b 33 36 2c |) .... X%,Y%+36,| 00001cc0 36 2c 32 34 0d 0c d0 26 20 e7 20 28 50 25 20 80 |6,24...& . (P% .| 00001cd0 20 26 34 30 29 20 c8 93 c8 90 20 58 25 2b 36 2c | &40) .... X%+6,| 00001ce0 59 25 2b 33 30 2c 33 30 2c 36 0d 0c da 05 cd 0d |Y%+30,30,6......| 00001cf0 0c e4 05 e1 0d 0c ee 04 0d 0c f8 0b dd 20 f2 5f |............. ._| 00001d00 55 70 50 0d 0d 02 0e ea 20 54 25 2c 41 25 2c 45 |UpP..... T%,A%,E| 00001d10 25 0d 0d 0c 12 f2 5f 54 72 61 6e 73 28 6d 6f 6e |%....._Trans(mon| 00001d20 57 25 29 0d 0d 16 33 20 20 71 25 21 30 3d 6d 6f |W%)...3 q%!0=mo| 00001d30 6e 57 25 3a 71 25 21 34 3d 30 3a 71 25 21 38 3d |nW%:q%!4=0:q%!8=| 00001d40 2d 31 31 38 3a 71 25 21 31 32 3d 36 38 30 3a 71 |-118:q%!12=680:q| 00001d50 25 21 31 36 3d 30 0d 0d 20 27 20 20 c8 99 22 57 |%!16=0.. ' .."W| 00001d60 69 6d 70 5f 55 70 64 61 74 65 57 69 6e 64 6f 77 |imp_UpdateWindow| 00001d70 22 2c 2c 71 25 20 b8 20 4d 6f 72 65 25 0d 0d 2a |",,q% . More%..*| 00001d80 0d 20 c8 95 20 4d 6f 72 65 25 0d 0d 34 0d 20 20 |. .. More%..4. | 00001d90 20 f2 5f 44 6d 70 77 0d 0d 3e 27 20 20 c8 99 22 | ._Dmpw..>' .."| 00001da0 57 69 6d 70 5f 47 65 74 52 65 63 74 61 6e 67 6c |Wimp_GetRectangl| 00001db0 65 22 2c 2c 71 25 20 b8 20 4d 6f 72 65 25 0d 0d |e",,q% . More%..| 00001dc0 48 06 20 ce 0d 0d 52 04 0d 0d 5c 05 e1 0d 0d 66 |H. ...R...\....f| 00001dd0 04 0d 0d 70 10 dd 20 f2 5f 55 70 64 61 74 65 50 |...p.. ._UpdateP| 00001de0 74 0d 0d 7a 12 f2 5f 54 72 61 6e 73 28 6d 6f 6e |t..z.._Trans(mon| 00001df0 57 25 29 0d 0d 84 33 20 20 71 25 21 30 3d 6d 6f |W%)...3 q%!0=mo| 00001e00 6e 57 25 3a 71 25 21 34 3d 30 3a 71 25 21 38 3d |nW%:q%!4=0:q%!8=| 00001e10 2d 34 30 30 3a 71 25 21 31 32 3d 36 38 30 3a 71 |-400:q%!12=680:q| 00001e20 25 21 31 36 3d 30 0d 0d 8e 27 20 20 c8 99 22 57 |%!16=0...' .."W| 00001e30 69 6d 70 5f 55 70 64 61 74 65 57 69 6e 64 6f 77 |imp_UpdateWindow| 00001e40 22 2c 2c 71 25 20 b8 20 4d 6f 72 65 25 0d 0d 98 |",,q% . More%...| 00001e50 04 0d 0d a2 0d 20 c8 95 20 4d 6f 72 65 25 0d 0d |..... .. More%..| 00001e60 ac 04 0d 0d b6 04 0d 0d c0 27 20 20 c8 99 22 57 |.........' .."W| 00001e70 69 6d 70 5f 47 65 74 52 65 63 74 61 6e 67 6c 65 |imp_GetRectangle| 00001e80 22 2c 2c 71 25 20 b8 20 4d 6f 72 65 25 0d 0d ca |",,q% . More%...| 00001e90 06 20 ce 0d 0d d4 05 e1 0d 0d de 04 0d 0d e8 0a |. ..............| 00001ea0 dd 20 a4 5f 57 72 0d 0d f2 0c ea 20 54 59 25 2c |. ._Wr..... TY%,| 00001eb0 52 25 0d 0d fc 0f 20 54 59 25 3d 59 25 2d 79 6f |R%.... TY%=Y%-yo| 00001ec0 25 0d 0e 06 09 20 52 25 3d 33 0d 0e 10 1f 20 e7 |%.... R%=3.... .| 00001ed0 20 54 59 25 3e 3d 34 30 20 80 20 54 59 25 3c 3d | TY%>=40 . TY%<=| 00001ee0 38 30 20 8c 20 52 25 3d 30 0d 0e 1a 21 20 e7 20 |80 . R%=0...! . | 00001ef0 54 59 25 3e 3d 31 32 30 20 80 20 54 59 25 3c 3d |TY%>=120 . TY%<=| 00001f00 31 36 30 20 8c 20 52 25 3d 31 0d 0e 24 21 20 e7 |160 . R%=1..$! .| 00001f10 20 54 59 25 3e 3d 32 30 30 20 80 20 54 59 25 3c | TY%>=200 . TY%<| 00001f20 3d 32 34 30 20 8c 20 52 25 3d 32 0d 0e 2e 07 3d |=240 . R%=2....=| 00001f30 52 25 0d 0e 38 0a dd 20 a4 5f 57 62 0d 0e 42 08 |R%..8.. ._Wb..B.| 00001f40 ea 20 42 25 0d 0e 4c 19 42 25 3d 37 2d a8 28 28 |. B%..L.B%=7-.((| 00001f50 58 25 2d 78 6f 25 29 2f 34 30 2d 31 29 0d 0e 56 |X%-xo%)/40-1)..V| 00001f60 18 e7 20 42 25 3e 37 20 84 20 42 25 3c 30 20 8c |.. B%>7 . B%<0 .| 00001f70 20 42 25 3d 38 0d 0e 60 07 3d 42 25 0d 0e 6a 04 | B%=8..`.=B%..j.| 00001f80 0d 0e 74 04 0d 0e 7e 12 dd 20 f2 5f 54 72 61 6e |..t...~.. ._Tran| 00001f90 73 28 77 68 25 29 0d 0e 88 0b 21 71 25 3d 77 68 |s(wh%)....!q%=wh| 00001fa0 25 0d 0e 92 20 c8 99 20 22 57 69 6d 70 5f 47 65 |%... .. "Wimp_Ge| 00001fb0 74 57 69 6e 64 6f 77 53 74 61 74 65 22 2c 2c 71 |tWindowState",,q| 00001fc0 25 0d 0e 9c 28 78 6f 25 3d 71 25 21 34 2d 71 25 |%...(xo%=q%!4-q%| 00001fd0 21 32 30 2b 38 3a 79 6f 25 3d 71 25 21 31 36 2d |!20+8:yo%=q%!16-| 00001fe0 71 25 21 32 34 2d 31 31 38 0d 0e a6 16 58 4f 25 |q%!24-118....XO%| 00001ff0 3d 71 25 21 34 3a 59 4f 25 3d 71 25 21 31 36 0d |=q%!4:YO%=q%!16.| 00002000 0e b0 05 e1 0d 0e ba 04 0d 0e c4 0f dd 20 f2 5f |............. ._| 00002010 43 6f 6e 76 65 72 74 0d 0e ce 08 ea 20 41 25 0d |Convert..... A%.| 00002020 0e d8 0e e3 20 41 25 3d 30 20 b8 20 39 0d 0e e2 |.... A%=0 . 9...| 00002030 0d f3 20 53 37 25 28 41 25 29 0d 0e ec 05 ed 0d |.. S7%(A%)......| 00002040 0e f6 2d dc 20 26 33 46 2c 26 30 36 2c 26 35 42 |..-. &3F,&06,&5B| 00002050 2c 26 34 46 2c 26 36 36 2c 26 36 44 2c 26 37 44 |,&4F,&66,&6D,&7D| 00002060 2c 26 30 37 2c 26 37 46 2c 26 36 46 0d 0f 00 0f |,&07,&7F,&6F....| 00002070 e3 20 41 25 3d 30 20 b8 20 31 32 0d 0f 0a 11 f3 |. A%=0 . 12.....| 00002080 20 55 70 72 65 73 73 24 28 41 25 29 0d 0f 14 05 | Upress$(A%)....| 00002090 ed 0d 0f 1e 33 dc 20 30 2c 31 2c 32 2c 33 2c 34 |....3. 0,1,2,3,4| 000020a0 2c 75 70 2c 64 6f 77 6e 2c 74 64 6f 77 6e 2c 74 |,up,down,tdown,t| 000020b0 75 70 2c 73 74 75 70 2c 73 74 64 6f 77 6e 2c 31 |up,stup,stdown,1| 000020c0 31 2c 31 32 0d 0f 28 18 f4 20 53 65 74 20 75 70 |1,12..(.. Set up| 000020d0 20 42 61 72 20 53 70 72 69 74 65 73 0d 0f 32 0e | Bar Sprites..2.| 000020e0 53 50 25 21 30 3d 53 50 72 25 0d 0f 3c 0c 53 50 |SP%!0=SPr%..<.SP| 000020f0 25 21 38 3d 31 36 0d 0f 46 1d c8 99 22 4f 53 5f |%!8=16..F..."OS_| 00002100 53 70 72 69 74 65 4f 70 22 2c 39 2b 32 35 36 2c |SpriteOp",9+256,| 00002110 53 50 25 0d 0f 50 32 c8 99 22 4f 53 5f 53 70 72 |SP%..P2.."OS_Spr| 00002120 69 74 65 4f 70 22 2c 31 31 2b 32 35 36 2c 53 50 |iteOp",11+256,SP| 00002130 25 2c 22 3c 46 4d 24 44 69 72 3e 2e 53 74 61 74 |%,"<FM$Dir>.Stat| 00002140 69 6f 6e 73 22 0d 0f 5a 23 47 34 25 3f 30 3d 30 |ions"..Z#G4%?0=0| 00002150 3a 47 34 25 3f 31 3d 33 3a 47 34 25 3f 32 3d 30 |:G4%?1=3:G4%?2=0| 00002160 3a 47 34 25 3f 33 3d 31 0d 0f 64 15 e3 20 41 25 |:G4%?3=1..d.. A%| 00002170 3d 30 20 b8 20 31 30 32 34 20 88 20 34 0d 0f 6e |=0 . 1024 . 4..n| 00002180 0c 47 35 25 3f 41 25 3d 30 0d 0f 78 11 47 35 25 |.G5%?A%=0..x.G5%| 00002190 3f 28 41 25 2b 31 29 3d 41 25 0d 0f 82 11 47 35 |?(A%+1)=A%....G5| 000021a0 25 3f 28 41 25 2b 32 29 3d 41 25 0d 0f 8c 11 47 |%?(A%+2)=A%....G| 000021b0 35 25 3f 28 41 25 2b 33 29 3d 41 25 0d 0f 96 05 |5%?(A%+3)=A%....| 000021c0 ed 0d 0f a0 08 f2 5f 54 54 0d 0f aa 05 e1 0d 0f |......_TT.......| 000021d0 b4 0a dd 20 f2 5f 54 54 0d 0f be 0a 53 74 74 25 |... ._TT....Stt%| 000021e0 3d 30 0d 0f c8 2e c8 99 22 4f 53 5f 52 65 61 64 |=0......"OS_Read| 000021f0 4d 6f 64 65 56 61 72 69 61 62 6c 65 22 2c 2d 31 |ModeVariable",-1| 00002200 2c 33 20 b8 20 2c 2c 4e 63 6f 6c 6f 75 72 73 25 |,3 . ,,Ncolours%| 00002210 0d 0f d2 59 e7 20 4e 63 6f 6c 6f 75 72 73 25 3d |...Y. Ncolours%=| 00002220 33 20 8c 20 53 74 74 25 3d 47 34 25 20 8b 20 c8 |3 . Stt%=G4% . .| 00002230 99 22 43 6f 6c 6f 75 72 54 72 61 6e 73 5f 53 65 |."ColourTrans_Se| 00002240 6c 65 63 74 54 61 62 6c 65 22 2c 53 50 25 2c 22 |lectTable",SP%,"| 00002250 62 61 72 22 2c 2d 31 2c 2d 31 2c 47 35 25 2c 30 |bar",-1,-1,G5%,0| 00002260 3a 53 74 74 25 3d 47 35 25 0d 0f dc 42 f4 20 49 |:Stt%=G5%...B. I| 00002270 46 20 4e 63 6f 6c 6f 75 72 73 25 3d 31 35 20 4f |F Ncolours%=15 O| 00002280 52 20 4e 63 6f 6c 6f 75 72 73 25 20 3e 32 35 35 |R Ncolours% >255| 00002290 20 4f 52 20 4e 63 6f 6c 6f 75 72 73 25 3d 31 20 | OR Ncolours%=1 | 000022a0 54 48 45 4e 20 53 74 74 25 3d 30 0d 0f e6 04 0d |THEN Stt%=0.....| 000022b0 0f f0 05 e1 0d 0f fa 0f dd f2 73 65 74 75 70 6d |..........setupm| 000022c0 65 6e 75 0d 10 04 08 ea 20 6d 25 0d 10 0e 04 0d |enu..... m%.....| 000022d0 10 18 0f 24 6d 65 6e 75 25 3d 22 46 4d 22 0d 10 |...$menu%="FM"..| 000022e0 22 0e 6d 65 6e 75 25 3f 31 32 3d 37 0d 10 2c 0e |".menu%?12=7..,.| 000022f0 6d 65 6e 75 25 3f 31 33 3d 32 0d 10 36 0e 6d 65 |menu%?13=2..6.me| 00002300 6e 75 25 3f 31 34 3d 37 0d 10 40 0e 6d 65 6e 75 |nu%?14=7..@.menu| 00002310 25 3f 31 35 3d 30 0d 10 4a 10 6d 65 6e 75 25 21 |%?15=0..J.menu%!| 00002320 31 36 3d 31 32 38 0d 10 54 0f 6d 65 6e 75 25 21 |16=128..T.menu%!| 00002330 32 30 3d 34 30 0d 10 5e 0e 6d 65 6e 75 25 21 32 |20=40..^.menu%!2| 00002340 34 3d 30 0d 10 68 0f 6d 25 3d 6d 65 6e 75 25 2b |4=0..h.m%=menu%+| 00002350 32 38 0d 10 72 0a 6d 25 21 30 3d 30 0d 10 7c 0e |28..r.m%!0=0..|.| 00002360 6d 25 21 34 3d 69 6e 66 6f 25 0d 10 86 18 6d 25 |m%!4=info%....m%| 00002370 21 38 3d 28 37 3c 3c 32 34 29 84 20 25 31 30 30 |!8=(7<<24). %100| 00002380 30 31 0d 10 90 13 24 28 6d 25 2b 31 32 29 3d 22 |01....$(m%+12)="| 00002390 49 6e 66 6f 22 0d 10 9a 04 0d 10 a4 0a 6d 25 2b |Info"........m%+| 000023a0 3d 32 34 0d 10 ae 0c 6d 25 21 30 3d 26 38 30 0d |=24....m%!0=&80.| 000023b0 10 b8 0a 6d 25 21 34 3d 30 0d 10 c2 18 6d 25 21 |...m%!4=0....m%!| 000023c0 38 3d 28 37 3c 3c 32 34 29 84 20 25 31 30 30 30 |8=(7<<24). %1000| 000023d0 31 0d 10 cc 13 24 28 6d 25 2b 31 32 29 3d 22 51 |1....$(m%+12)="Q| 000023e0 75 69 74 22 0d 10 d6 04 0d 10 e0 10 24 4d 6d 65 |uit"........$Mme| 000023f0 6e 75 25 3d 22 46 4d 22 0d 10 ea 0f 4d 6d 65 6e |nu%="FM"....Mmen| 00002400 75 25 3f 31 32 3d 37 0d 10 f4 0f 4d 6d 65 6e 75 |u%?12=7....Mmenu| 00002410 25 3f 31 33 3d 32 0d 10 fe 0f 4d 6d 65 6e 75 25 |%?13=2....Mmenu%| 00002420 3f 31 34 3d 37 0d 11 08 0f 4d 6d 65 6e 75 25 3f |?14=7....Mmenu%?| 00002430 31 35 3d 30 0d 11 12 11 4d 6d 65 6e 75 25 21 31 |15=0....Mmenu%!1| 00002440 36 3d 31 32 38 0d 11 1c 10 4d 6d 65 6e 75 25 21 |6=128....Mmenu%!| 00002450 32 30 3d 34 30 0d 11 26 0f 4d 6d 65 6e 75 25 21 |20=40..&.Mmenu%!| 00002460 32 34 3d 30 0d 11 30 10 6d 25 3d 4d 6d 65 6e 75 |24=0..0.m%=Mmenu| 00002470 25 2b 32 38 0d 11 3a 0a 6d 25 21 30 3d 30 0d 11 |%+28..:.m%!0=0..| 00002480 44 0e 6d 25 21 34 3d 69 6e 66 6f 25 0d 11 4e 18 |D.m%!4=info%..N.| 00002490 6d 25 21 38 3d 28 37 3c 3c 32 34 29 84 20 25 31 |m%!8=(7<<24). %1| 000024a0 30 30 30 31 0d 11 58 13 24 28 6d 25 2b 31 32 29 |0001..X.$(m%+12)| 000024b0 3d 22 49 6e 66 6f 22 0d 11 62 04 0d 11 6c 0a 6d |="Info"..b...l.m| 000024c0 25 2b 3d 32 34 0d 11 76 0a 6d 25 21 30 3d 30 0d |%+=24..v.m%!0=0.| 000024d0 11 80 0a 6d 25 21 34 3d 30 0d 11 8a 18 6d 25 21 |...m%!4=0....m%!| 000024e0 38 3d 28 37 3c 3c 32 34 29 84 20 25 31 30 30 30 |8=(7<<24). %1000| 000024f0 31 0d 11 94 13 24 28 6d 25 2b 31 32 29 3d 22 53 |1....$(m%+12)="S| 00002500 63 61 6e 22 0d 11 9e 04 0d 11 a8 0a 6d 25 2b 3d |can"........m%+=| 00002510 32 34 0d 11 b2 0c 6d 25 21 30 3d 26 38 30 0d 11 |24....m%!0=&80..| 00002520 bc 0a 6d 25 21 34 3d 30 0d 11 c6 18 6d 25 21 38 |..m%!4=0....m%!8| 00002530 3d 28 37 3c 3c 32 34 29 84 20 25 31 30 30 30 31 |=(7<<24). %10001| 00002540 0d 11 d0 13 24 28 6d 25 2b 31 32 29 3d 22 51 75 |....$(m%+12)="Qu| 00002550 69 74 22 0d 11 da 04 0d 11 e4 05 e1 0d 11 ee 04 |it".............| 00002560 0d 11 f8 12 dd 20 f2 72 65 63 65 69 76 65 28 71 |..... .receive(q| 00002570 25 29 0d 12 02 08 ea 20 41 25 0d 12 0c 0c 41 25 |%)..... A%....A%| 00002580 3d 71 25 21 31 36 0d 12 16 0b c8 8e 20 41 25 20 |=q%!16...... A% | 00002590 ca 0d 12 20 0c c9 20 30 3a f2 64 69 65 0d 12 2a |... .. 0:.die..*| 000025a0 1b c9 20 32 3a e7 20 71 25 21 31 32 3d 73 61 76 |.. 2:. q%!12=sav| 000025b0 65 72 65 66 25 20 8c 20 0d 12 34 1c 20 20 20 20 |eref% . ..4. | 000025c0 20 20 20 20 20 20 73 65 63 75 72 65 46 25 3d 71 | secureF%=q| 000025d0 25 21 33 36 0d 12 3e 25 20 20 20 20 20 20 20 20 |%!36..>% | 000025e0 20 20 66 6e 24 3d a4 73 67 65 74 28 71 25 2b 34 | fn$=.sget(q%+4| 000025f0 34 29 3a f2 5f 53 61 76 65 0d 12 48 38 20 20 20 |4):._Save..H8 | 00002600 20 20 20 20 20 20 20 71 25 21 31 32 3d 73 61 76 | q%!12=sav| 00002610 65 72 65 66 25 3a 71 25 21 31 36 3d 33 3a 71 25 |eref%:q%!16=3:q%| 00002620 21 30 3d 32 35 36 3a 71 25 21 34 30 3d 26 30 34 |!0=256:q%!40=&04| 00002630 34 0d 12 52 41 20 20 20 20 20 20 20 20 20 20 71 |4..RA q| 00002640 25 21 32 30 3d 6d 65 73 73 68 25 3a 71 25 21 32 |%!20=messh%:q%!2| 00002650 34 3d 6d 65 73 73 69 25 3a 71 25 21 32 38 3d 6d |4=messi%:q%!28=m| 00002660 65 73 73 78 25 3a 71 25 21 33 32 3d 6d 65 73 73 |essx%:q%!32=mess| 00002670 79 25 0d 12 5c 37 20 20 20 20 20 20 20 20 20 20 |y%..\7 | 00002680 c8 99 20 22 57 69 6d 70 5f 53 65 6e 64 4d 65 73 |.. "Wimp_SendMes| 00002690 73 61 67 65 22 2c 31 37 2c 71 25 2c 6d 65 73 73 |sage",17,q%,mess| 000026a0 68 25 2c 6d 65 73 73 69 25 0d 12 66 0f 20 20 20 |h%,messi%..f. | 000026b0 20 20 20 20 20 20 20 cd 0d 12 70 04 0d 12 7a 14 | ...p...z.| 000026c0 c9 20 26 35 30 32 3a 20 20 20 c8 8e 20 b9 20 ca |. &502: .. . .| 000026d0 0d 12 84 50 20 20 20 20 20 20 20 20 20 20 20 20 |...P | 000026e0 20 c9 20 71 25 21 33 32 3d 2d 32 20 80 20 71 25 | . q%!32=-2 . q%| 000026f0 21 33 36 3d 73 6d 70 69 63 6f 6e 25 3a 6d 65 73 |!36=smpicon%:mes| 00002700 24 3d 22 54 68 69 73 20 69 73 20 74 68 65 20 46 |$="This is the F| 00002710 4d 20 4d 6f 6e 69 74 6f 72 20 69 63 6f 6e 2e 22 |M Monitor icon."| 00002720 0d 12 8e 1a 20 20 20 20 20 20 20 20 20 20 20 20 |.... | 00002730 20 7f 3a 6d 65 73 24 3d 22 22 0d 12 98 12 20 20 | .:mes$="".... | 00002740 20 20 20 20 20 20 20 20 20 20 20 cb 0d 12 a2 14 | .....| 00002750 20 20 20 20 e7 20 6d 65 73 24 3c 3e 22 22 20 8c | . mes$<>"" .| 00002760 0d 12 ac 12 20 20 20 20 71 25 21 31 32 3d 71 25 |.... q%!12=q%| 00002770 21 38 0d 12 b6 18 20 20 20 20 24 28 71 25 2b 32 |!8.... $(q%+2| 00002780 30 29 3d 6d 65 73 24 2b bd 30 0d 12 c0 1e 20 20 |0)=mes$+.0.... | 00002790 20 20 71 25 21 30 3d 28 32 30 2b a9 6d 65 73 24 | q%!0=(20+.mes$| 000027a0 2b 34 29 80 20 ac 20 33 0d 12 ca 12 20 20 20 20 |+4). . 3.... | 000027b0 71 25 21 31 36 3d 26 35 30 33 0d 12 d4 28 20 20 |q%!16=&503...( | 000027c0 20 20 c8 99 20 22 57 69 6d 70 5f 53 65 6e 64 4d | .. "Wimp_SendM| 000027d0 65 73 73 61 67 65 22 2c 31 38 2c 71 25 2c 71 25 |essage",18,q%,q%| 000027e0 21 34 0d 12 de 05 cb 0d 12 e8 05 e1 0d 12 f2 04 |!4..............| 000027f0 0d 12 fc 0c dd 20 f2 5f 44 61 63 6b 0d 13 06 10 |..... ._Dack....| 00002800 73 65 6e 64 74 68 25 3d 71 25 21 34 0d 13 10 0f |sendth%=q%!4....| 00002810 6d 79 72 65 66 25 3d 71 25 21 38 0d 13 1a 22 c8 |myref%=q%!8...".| 00002820 99 20 22 57 69 6d 70 5f 47 65 74 50 6f 69 6e 74 |. "Wimp_GetPoint| 00002830 65 72 49 6e 66 6f 22 2c 2c 71 25 2b 38 0d 13 24 |erInfo",,q%+8..$| 00002840 0e 71 25 21 32 38 3d 71 25 21 38 0d 13 2e 0f 71 |.q%!28=q%!8....q| 00002850 25 21 33 32 3d 71 25 21 31 32 0d 13 38 18 71 25 |%!32=q%!12..8.q%| 00002860 21 30 3d 28 34 34 2b a9 6e 24 2b 34 29 80 20 ac |!0=(44+.n$+4). .| 00002870 20 33 0d 13 42 10 71 25 21 31 32 3d 6d 79 72 65 | 3..B.q%!12=myre| 00002880 66 25 0d 13 4c 0b 71 25 21 31 36 3d 34 0d 13 56 |f%..L.q%!16=4..V| 00002890 0c 71 25 21 33 36 3d 2d 31 0d 13 60 0e 71 25 21 |.q%!36=-1..`.q%!| 000028a0 34 30 3d 26 46 46 39 0d 13 6a 12 24 28 71 25 2b |40=&FF9..j.$(q%+| 000028b0 34 34 29 3d 6e 24 2b bd 30 0d 13 74 27 c8 99 20 |44)=n$+.0..t'.. | 000028c0 22 57 69 6d 70 5f 53 65 6e 64 4d 65 73 73 61 67 |"Wimp_SendMessag| 000028d0 65 22 2c 31 37 2c 71 25 2c 73 65 6e 64 74 68 25 |e",17,q%,sendth%| 000028e0 0d 13 7e 05 cd 0d 13 88 05 e1 0d 13 92 04 0d 13 |..~.............| 000028f0 9c 0e dd a4 73 67 65 74 28 78 25 29 0d 13 a6 08 |....sget(x%)....| 00002900 ea 20 78 24 0d 13 b0 1d c8 95 20 3f 78 25 20 78 |. x$...... ?x% x| 00002910 24 2b 3d bd 28 3f 78 25 29 3a 78 25 2b 3d 31 3a |$+=.(?x%):x%+=1:| 00002920 ce 0d 13 ba 07 3d 78 24 0d 13 c4 04 0d 13 ce 0a |.....=x$........| 00002930 dd a4 69 63 6f 6e 0d 13 d8 0b 71 25 21 30 3d 2d |..icon....q%!0=-| 00002940 31 0d 13 e2 0a 71 25 21 34 3d 30 0d 13 ec 1b 71 |1....q%!4=0....q| 00002950 25 21 38 3d 31 30 20 3a 20 f4 20 59 20 44 49 52 |%!8=10 : . Y DIR| 00002960 45 43 54 49 4f 4e 0d 13 f6 1c 71 25 21 31 32 3d |ECTION....q%!12=| 00002970 37 30 20 3a 20 f4 20 58 20 44 49 52 45 43 54 49 |70 : . X DIRECTI| 00002980 4f 4e 0d 14 00 0c 71 25 21 31 36 3d 39 36 0d 14 |ON....q%!16=96..| 00002990 0a 0f 71 25 21 32 30 3d 26 32 30 30 32 0d 14 14 |..q%!20=&2002...| 000029a0 18 24 28 71 25 2b 32 34 29 3d 22 21 46 4d 5f 52 |.$(q%+24)="!FM_R| 000029b0 61 64 69 6f 22 0d 14 1e 24 c8 99 20 22 57 69 6d |adio"...$.. "Wim| 000029c0 70 5f 43 72 65 61 74 65 49 63 6f 6e 22 2c 2c 71 |p_CreateIcon",,q| 000029d0 25 20 b8 20 69 63 6f 6e 25 0d 14 28 0a 3d 69 63 |% . icon%..(.=ic| 000029e0 6f 6e 25 0d 14 32 04 0d 14 3c 12 dd 20 f2 5f 73 |on%..2...<.. ._s| 000029f0 65 74 75 70 57 28 74 24 29 0d 14 46 58 21 71 25 |etupW(t$)..FX!q%| 00002a00 3d 77 61 72 6e 69 6e 67 57 25 3a 71 25 21 34 3d |=warningW%:q%!4=| 00002a10 32 30 30 3a 71 25 21 38 3d 32 30 30 3a 71 25 21 |200:q%!8=200:q%!| 00002a20 31 32 3d 32 30 30 2b 58 51 25 3a 71 25 21 31 36 |12=200+XQ%:q%!16| 00002a30 3d 32 30 30 2b 59 51 25 3a 71 25 21 32 30 3d 30 |=200+YQ%:q%!20=0| 00002a40 3a 71 25 21 32 34 3d 30 3a 71 25 21 32 38 3d 2d |:q%!24=0:q%!28=-| 00002a50 31 0d 14 50 11 24 54 65 78 74 57 61 72 6e 25 3d |1..P.$TextWarn%=| 00002a60 74 24 0d 14 5a 15 54 65 78 74 57 61 72 6e 25 3f |t$..Z.TextWarn%?| 00002a70 a9 28 74 24 29 3d 30 0d 14 64 07 ef 20 37 0d 14 |.(t$)=0..d.. 7..| 00002a80 6e 0d 77 61 72 6e 4f 6e 25 3d b9 0d 14 78 1c c8 |n.warnOn%=...x..| 00002a90 99 20 22 57 69 6d 70 5f 4f 70 65 6e 57 69 6e 64 |. "Wimp_OpenWind| 00002aa0 6f 77 22 2c 2c 71 25 0d 14 82 05 e1 0d 14 8c 04 |ow",,q%.........| 00002ab0 0d 14 96 0f dd 20 f2 65 72 72 6f 72 62 6f 78 0d |..... .errorbox.| 00002ac0 14 a0 19 c8 99 20 22 57 69 6d 70 5f 44 72 61 67 |..... "Wimp_Drag| 00002ad0 42 6f 78 22 2c 2c 2d 31 0d 14 aa 32 21 62 75 66 |Box",,-1...2!buf| 00002ae0 66 65 72 73 25 3d 9f 3a 24 28 62 75 66 66 65 72 |fers%=.:$(buffer| 00002af0 73 25 2b 34 29 3d f6 24 2b 22 20 61 74 20 6c 69 |s%+4)=.$+" at li| 00002b00 6e 65 20 22 2b c3 9e 2b bd 30 0d 14 b4 29 c8 99 |ne "+..+.0...)..| 00002b10 20 22 57 69 6d 70 5f 52 65 70 6f 72 74 45 72 72 | "Wimp_ReportErr| 00002b20 6f 72 22 2c 62 75 66 66 65 72 73 25 2c 31 2c 22 |or",buffers%,1,"| 00002b30 46 4d 22 0d 14 be 08 f2 64 69 65 0d 14 c8 05 e1 |FM".....die.....| 00002b40 0d 14 d2 04 0d 14 dc 09 dd f2 64 69 65 0d 14 e6 |..........die...| 00002b50 2a c8 99 20 22 57 69 6d 70 5f 43 6c 6f 73 65 44 |*.. "Wimp_CloseD| 00002b60 6f 77 6e 22 2c 74 61 73 6b 68 61 6e 64 25 2c 21 |own",taskhand%,!| 00002b70 74 61 73 6b 69 64 25 0d 14 f0 0d d9 23 46 69 6e |taskid%.....#Fin| 00002b80 70 75 74 25 0d 14 fa 05 e0 0d 15 04 05 e1 0d 15 |put%............| 00002b90 0e 04 0d 15 18 2e dd 20 f2 64 72 61 67 69 63 6f |....... .dragico| 00002ba0 6e 28 6d 6f 75 73 65 78 25 2c 6d 6f 75 73 65 79 |n(mousex%,mousey| 00002bb0 25 2c 68 61 6e 64 6c 65 25 2c 69 63 6f 6e 25 29 |%,handle%,icon%)| 00002bc0 0d 15 22 21 ea 20 62 78 25 2c 62 79 25 2c 69 78 |.."!. bx%,by%,ix| 00002bd0 30 25 2c 69 79 30 25 2c 69 78 31 25 2c 69 79 31 |0%,iy0%,ix1%,iy1| 00002be0 25 0d 15 2c 12 f2 67 65 74 77 28 68 61 6e 64 6c |%..,..getw(handl| 00002bf0 65 25 29 0d 15 36 18 f2 67 65 74 69 28 68 61 6e |e%)..6..geti(han| 00002c00 64 6c 65 25 2c 69 63 6f 6e 25 29 0d 15 40 16 21 |dle%,icon%)..@.!| 00002c10 71 25 3d 68 61 6e 64 6c 65 25 3a 71 25 21 34 3d |q%=handle%:q%!4=| 00002c20 35 0d 15 4a 3e 71 25 21 38 3d 62 78 25 2b 69 78 |5..J>q%!8=bx%+ix| 00002c30 30 25 3a 71 25 21 31 32 3d 62 79 25 2b 69 79 30 |0%:q%!12=by%+iy0| 00002c40 25 3a 71 25 21 31 36 3d 62 78 25 2b 69 78 31 25 |%:q%!16=bx%+ix1%| 00002c50 3a 71 25 21 32 30 3d 62 79 25 2b 69 79 31 25 0d |:q%!20=by%+iy1%.| 00002c60 15 54 2a 71 25 21 32 34 3d 71 25 21 38 2d 6d 6f |.T*q%!24=q%!8-mo| 00002c70 75 73 65 78 25 3a 71 25 21 32 38 3d 71 25 21 31 |usex%:q%!28=q%!1| 00002c80 32 2d 6d 6f 75 73 65 79 25 0d 15 5e 19 c8 99 20 |2-mousey%..^... | 00002c90 22 57 69 6d 70 5f 44 72 61 67 42 6f 78 22 2c 2c |"Wimp_DragBox",,| 00002ca0 71 25 0d 15 68 0c 53 46 4c 41 47 25 3d b9 0d 15 |q%..h.SFLAG%=...| 00002cb0 72 05 e1 0d 15 7c 04 0d 15 86 14 dd 20 f2 67 65 |r....|...... .ge| 00002cc0 74 77 28 68 61 6e 64 6c 65 25 29 0d 15 90 38 21 |tw(handle%)...8!| 00002cd0 71 25 3d 68 61 6e 64 6c 65 25 3a c8 99 20 22 57 |q%=handle%:.. "W| 00002ce0 69 6d 70 5f 47 65 74 57 69 6e 64 6f 77 53 74 61 |imp_GetWindowSta| 00002cf0 74 65 22 2c 2c 71 25 3a f2 69 6e 66 6f 28 71 25 |te",,q%:.info(q%| 00002d00 2b 34 29 0d 15 9a 05 e1 0d 15 a4 12 dd 20 f2 67 |+4).......... .g| 00002d10 65 74 69 28 68 25 2c 69 25 29 0d 15 ae 2d 21 71 |eti(h%,i%)...-!q| 00002d20 25 3d 68 25 3a 71 25 21 34 3d 69 25 3a c8 99 20 |%=h%:q%!4=i%:.. | 00002d30 22 57 69 6d 70 5f 47 65 74 49 63 6f 6e 53 74 61 |"Wimp_GetIconSta| 00002d40 74 65 22 2c 2c 71 25 0d 15 b8 2e 69 78 30 25 3d |te",,q%....ix0%=| 00002d50 71 25 21 38 3a 69 79 30 25 3d 71 25 21 31 32 3a |q%!8:iy0%=q%!12:| 00002d60 69 78 31 25 3d 71 25 21 31 36 3a 69 79 31 25 3d |ix1%=q%!16:iy1%=| 00002d70 71 25 21 32 30 0d 15 c2 1e 69 66 6c 61 67 73 25 |q%!20....iflags%| 00002d80 3d 71 25 21 32 34 3a 69 64 61 74 61 25 3d 71 25 |=q%!24:idata%=q%| 00002d90 2b 32 38 0d 15 cc 05 e1 0d 15 d6 04 0d 15 e0 0f |+28.............| 00002da0 dd 20 f2 69 6e 66 6f 28 70 25 29 0d 15 ea 0d ea |. .info(p%).....| 00002db0 20 78 30 25 2c 79 30 25 0d 15 f4 27 78 30 25 3d | x0%,y0%...'x0%=| 00002dc0 21 70 25 3a 79 30 25 3d 70 25 21 34 3a 78 31 25 |!p%:y0%=p%!4:x1%| 00002dd0 3d 70 25 21 38 3a 79 31 25 3d 70 25 21 31 32 0d |=p%!8:y1%=p%!12.| 00002de0 15 fe 35 73 63 78 25 3d 70 25 21 31 36 3a 73 63 |..5scx%=p%!16:sc| 00002df0 79 25 3d 70 25 21 32 30 3a 62 68 61 6e 64 6c 65 |y%=p%!20:bhandle| 00002e00 25 3d 70 25 21 32 34 3a 66 6c 61 67 73 25 3d 70 |%=p%!24:flags%=p| 00002e10 25 21 32 38 0d 16 08 1d 62 78 25 3d 78 30 25 2d |%!28....bx%=x0%-| 00002e20 73 63 78 25 3a 62 79 25 3d 79 31 25 2d 73 63 79 |scx%:by%=y1%-scy| 00002e30 25 0d 16 12 05 e1 0d 16 1c 04 0d 16 26 0c dd 20 |%...........&.. | 00002e40 f2 5f 53 61 76 65 0d 16 30 0d ea 20 63 68 25 2c |._Save..0.. ch%,| 00002e50 70 70 25 0d 16 3a 0d 46 25 3d ae 28 66 6e 24 29 |pp%..:.F%=.(fn$)| 00002e60 0d 16 44 1c ff 28 22 53 45 54 54 59 50 45 20 22 |..D..("SETTYPE "| 00002e70 2b 66 6e 24 2b 22 20 46 46 46 22 29 0d 16 4e 08 |+fn$+" FFF")..N.| 00002e80 d9 23 46 25 0d 16 58 12 f2 5f 50 75 74 4e 61 6d |.#F%..X.._PutNam| 00002e90 65 28 66 6e 24 29 0d 16 62 05 e1 0d 16 6c 04 0d |e(fn$)..b....l..| 00002ea0 16 76 13 dd 20 f2 5f 50 75 74 4e 61 6d 65 28 70 |.v.. ._PutName(p| 00002eb0 24 29 0d 16 80 08 ea 20 54 25 0d 16 8a 16 71 25 |$)..... T%....q%| 00002ec0 21 30 3d 73 61 76 65 57 25 3a 71 25 21 34 3d 31 |!0=saveW%:q%!4=1| 00002ed0 0d 16 94 1e c8 99 20 22 57 69 6d 70 5f 47 65 74 |...... "Wimp_Get| 00002ee0 49 63 6f 6e 53 74 61 74 65 22 2c 2c 71 25 0d 16 |IconState",,q%..| 00002ef0 9e 0c 54 25 3d 71 25 21 32 38 0d 16 a8 0a 24 54 |..T%=q%!28....$T| 00002f00 25 3d 70 24 0d 16 b2 11 21 28 54 25 2b a9 28 70 |%=p$....!(T%+.(p| 00002f10 24 29 29 3d 30 0d 16 bc 05 e1 0d 16 c6 04 0d 16 |$))=0...........| 00002f20 d0 13 dd 20 f2 5f 50 75 74 52 61 74 65 28 70 24 |... ._PutRate(p$| 00002f30 29 0d 16 da 08 ea 20 54 25 0d 16 e4 16 71 25 21 |)..... T%....q%!| 00002f40 30 3d 72 61 74 65 57 25 3a 71 25 21 34 3d 31 0d |0=rateW%:q%!4=1.| 00002f50 16 ee 1e c8 99 20 22 57 69 6d 70 5f 47 65 74 49 |..... "Wimp_GetI| 00002f60 63 6f 6e 53 74 61 74 65 22 2c 2c 71 25 0d 16 f8 |conState",,q%...| 00002f70 0c 54 25 3d 71 25 21 32 38 0d 17 02 0a 24 54 25 |.T%=q%!28....$T%| 00002f80 3d 70 24 0d 17 0c 11 21 28 54 25 2b a9 28 70 24 |=p$....!(T%+.(p$| 00002f90 29 29 3d 30 0d 17 16 05 e1 0d 17 20 04 0d 17 2a |))=0....... ...*| 00002fa0 13 dd 20 f2 5f 50 75 74 44 6f 77 6e 28 71 25 29 |.. ._PutDown(q%)| 00002fb0 0d 17 34 0f e7 20 44 72 61 67 4f 6e 25 20 8c 0d |..4.. DragOn% ..| 00002fc0 17 3e 23 f4 20 53 59 53 20 22 57 69 6d 70 5f 47 |.>#. SYS "Wimp_G| 00002fd0 65 74 50 6f 69 6e 74 65 72 49 6e 66 6f 22 2c 2c |etPointerInfo",,| 00002fe0 71 25 0d 17 48 0d f2 5f 47 65 74 4e 61 6d 65 0d |q%..H.._GetName.| 00002ff0 17 52 20 c8 99 20 22 57 69 6d 70 5f 47 65 74 50 |.R .. "Wimp_GetP| 00003000 6f 69 6e 74 65 72 49 6e 66 6f 22 2c 2c 71 25 0d |ointerInfo",,q%.| 00003010 17 5c 35 6d 65 73 73 68 25 3d 71 25 21 31 32 3a |.\5messh%=q%!12:| 00003020 6d 65 73 73 69 25 3d 71 25 21 31 36 3a 6d 65 73 |messi%=q%!16:mes| 00003030 73 78 25 3d 71 25 21 30 3a 6d 65 73 73 79 25 3d |sx%=q%!0:messy%=| 00003040 71 25 21 34 0d 17 66 23 e7 20 a7 20 66 6e 24 2c |q%!4..f#. . fn$,| 00003050 22 3a 22 29 20 8c 20 66 6e 24 3d a4 5f 73 70 61 |":") . fn$=._spa| 00003060 74 68 28 66 6e 24 29 0d 17 70 10 24 28 71 25 2b |th(fn$)..p.$(q%+| 00003070 34 34 29 3d 66 6e 24 0d 17 7a 15 3f 28 71 25 2b |44)=fn$..z.?(q%+| 00003080 34 34 2b a9 28 66 6e 24 29 29 3d 30 0d 17 84 3b |44+.(fn$))=0...;| 00003090 71 25 21 32 30 3d 71 25 21 31 32 3a 71 25 21 32 |q%!20=q%!12:q%!2| 000030a0 38 3d 71 25 21 30 3a 71 25 21 33 32 3d 71 25 21 |8=q%!0:q%!32=q%!| 000030b0 34 3a 71 25 21 33 36 3d 31 30 32 34 3a 71 25 21 |4:q%!36=1024:q%!| 000030c0 34 30 3d 26 30 34 34 0d 17 8e 1b 71 25 21 30 3d |40=&044....q%!0=| 000030d0 35 36 3a 71 25 21 31 32 3d 30 3a 71 25 21 31 36 |56:q%!12=0:q%!16| 000030e0 3d 31 0d 17 98 2d c8 99 20 22 57 69 6d 70 5f 53 |=1...-.. "Wimp_S| 000030f0 65 6e 64 4d 65 73 73 61 67 65 22 2c 31 37 2c 71 |endMessage",17,q| 00003100 25 2c 6d 65 73 73 68 25 2c 6d 65 73 73 69 25 0d |%,messh%,messi%.| 00003110 17 a2 11 73 61 76 65 72 65 66 25 3d 71 25 21 38 |...saveref%=q%!8| 00003120 0d 17 ac 1c c8 99 20 22 57 69 6d 70 5f 43 72 65 |...... "Wimp_Cre| 00003130 61 74 65 4d 65 6e 75 22 2c 2c 2d 31 0d 17 b6 0d |ateMenu",,-1....| 00003140 44 72 61 67 4f 6e 25 3d a3 0d 17 c0 05 cd 0d 17 |DragOn%=........| 00003150 ca 05 e1 0d 17 d4 04 0d 17 de 10 dd 20 f2 5f 4b |............ ._K| 00003160 65 79 50 72 65 73 73 0d 17 e8 0d c8 8e 20 71 25 |eyPress...... q%| 00003170 21 30 20 ca 0d 17 f2 1b c9 20 73 61 76 65 57 25 |!0 ...... saveW%| 00003180 3a 20 69 25 3d 32 3a f2 5f 44 6f 53 61 76 65 0d |: i%=2:._DoSave.| 00003190 17 fc 17 c9 20 72 61 74 65 57 25 3a 20 f2 5f 47 |.... rateW%: ._G| 000031a0 65 74 52 61 74 65 0d 18 06 2c 20 20 20 20 20 20 |etRate..., | 000031b0 20 20 20 20 20 20 20 e7 20 53 72 61 74 65 3c 30 | . Srate<0| 000031c0 2e 33 20 8c 20 53 72 61 74 65 3d 30 2e 33 3a ef |.3 . Srate=0.3:.| 000031d0 20 37 0d 18 10 24 20 20 20 20 20 20 20 20 20 20 | 7...$ | 000031e0 20 20 20 f2 5f 50 75 74 52 61 74 65 28 c3 28 53 | ._PutRate(.(S| 000031f0 72 61 74 65 29 29 0d 18 1a 2c 20 20 20 20 20 20 |rate))..., | 00003200 20 20 20 20 20 20 20 c8 99 20 22 57 69 6d 70 5f | .. "Wimp_| 00003210 43 6c 6f 73 65 57 69 6e 64 6f 77 22 2c 2c 52 61 |CloseWindow",,Ra| 00003220 74 25 0d 18 24 29 20 20 20 20 20 20 20 20 20 20 |t%..$) | 00003230 20 20 20 c8 99 20 22 57 69 6d 70 5f 43 72 65 61 | .. "Wimp_Crea| 00003240 74 65 4d 65 6e 75 22 2c 2c 2d 31 0d 18 2e 05 cb |teMenu",,-1.....| 00003250 0d 18 38 05 e1 0d 18 42 04 0d 18 4c 0f dd 20 f2 |..8....B...L.. .| 00003260 5f 52 61 64 49 6e 69 74 0d 18 56 08 ea 20 46 25 |_RadInit..V.. F%| 00003270 0d 18 60 10 4d 61 73 6b 25 3d ac 28 26 32 30 29 |..`.Mask%=.(&20)| 00003280 0d 18 6a 16 c8 99 26 34 32 45 43 31 2c 32 2c 30 |..j...&42EC1,2,0| 00003290 2c 4d 61 73 6b 25 0d 18 74 04 0d 18 7e 1c 46 25 |,Mask%..t...~.F%| 000032a0 3d 8e 28 22 3c 46 4d 24 44 69 72 3e 2e 50 72 65 |=.("<FM$Dir>.Pre| 000032b0 73 65 74 73 22 29 0d 18 88 0f e3 20 41 25 3d 31 |sets")..... A%=1| 000032c0 20 b8 20 31 30 0d 18 92 14 e8 23 46 25 2c 50 72 | . 10.....#F%,Pr| 000032d0 65 50 4c 4c 25 28 41 25 29 0d 18 9c 05 ed 0d 18 |ePLL%(A%).......| 000032e0 a6 09 d9 20 23 46 25 0d 18 b0 04 0d 18 ba 13 50 |... #F%........P| 000032f0 4c 4c 25 3d 50 72 65 50 4c 4c 25 28 31 29 0d 18 |LL%=PrePLL%(1)..| 00003300 c4 23 46 72 65 71 25 3d 38 38 30 30 30 20 2b 20 |.#Freq%=88000 + | 00003310 28 50 4c 4c 25 2d 26 41 31 30 46 36 43 29 2a 32 |(PLL%-&A10F6C)*2| 00003320 35 0d 18 ce 0e 53 70 6c 6c 25 3d 50 4c 4c 25 0d |5....Spll%=PLL%.| 00003330 18 d8 0b 4d 75 74 65 25 3d 38 0d 18 e2 0e 53 74 |...Mute%=8....St| 00003340 61 74 69 6f 6e 25 3d 30 0d 18 ec 0b 53 63 61 6e |ation%=0....Scan| 00003350 25 3d a3 0d 18 f6 0f f2 5f 54 75 6e 65 55 70 28 |%=......_TuneUp(| 00003360 30 29 0d 19 00 10 f2 5f 44 65 6c 61 79 28 31 30 |0)....._Delay(10| 00003370 30 29 0d 19 0a 0f f2 5f 54 75 6e 65 55 70 28 30 |0)....._TuneUp(0| 00003380 29 0d 19 14 05 e1 0d 19 1e 04 0d 19 28 12 dd 20 |)...........(.. | 00003390 f2 5f 54 75 6e 65 55 70 28 4e 25 29 0d 19 32 10 |._TuneUp(N%)..2.| 000033a0 50 4c 4c 25 3d 50 4c 4c 25 2b 4e 25 0d 19 3c 15 |PLL%=PLL%+N%..<.| 000033b0 46 72 65 71 25 3d 46 72 65 71 25 2b 4e 25 2a 32 |Freq%=Freq%+N%*2| 000033c0 35 0d 19 46 2e e7 20 46 72 65 71 25 3e 31 30 38 |5..F.. Freq%>108| 000033d0 30 30 30 20 8c 20 46 72 65 71 25 3d 31 30 38 30 |000 . Freq%=1080| 000033e0 30 30 3a 50 4c 4c 25 3d 26 41 31 31 32 38 42 0d |00:PLL%=&A1128B.| 000033f0 19 50 2c e7 20 46 72 65 71 25 3c 38 38 30 30 30 |.P,. Freq%<88000| 00003400 20 8c 20 46 72 65 71 25 3d 38 38 30 30 30 3a 50 | . Freq%=88000:P| 00003410 4c 4c 25 3d 26 41 31 30 46 36 43 0d 19 5a 0c f2 |LL%=&A10F6C..Z..| 00003420 5f 52 65 54 75 6e 65 0d 19 64 0a f2 5f 44 69 73 |_ReTune..d.._Dis| 00003430 70 0d 19 6e 05 e1 0d 19 78 04 0d 19 82 0e dd 20 |p..n....x...... | 00003440 f2 5f 52 65 54 75 6e 65 0d 19 8c 14 ea 20 41 25 |._ReTune..... A%| 00003450 2c 42 25 2c 43 25 2c 53 25 2c 4d 25 0d 19 96 0b |,B%,C%,S%,M%....| 00003460 42 25 3d 50 4c 4c 25 0d 19 a0 0f e3 20 41 25 3d |B%=PLL%..... A%=| 00003470 31 20 b8 20 32 34 0d 19 aa 0d 43 25 3d 42 25 20 |1 . 24....C%=B% | 00003480 80 20 31 0d 19 b4 1c 53 25 3d 26 43 31 20 84 20 |. 1....S%=&C1 . | 00003490 28 43 25 3c 3c 32 29 20 84 20 4d 75 74 65 25 0d |(C%<<2) . Mute%.| 000034a0 19 be 0c f2 5f 53 42 28 53 25 29 0d 19 c8 0e 53 |...._SB(S%)....S| 000034b0 25 3d 53 25 20 84 20 26 32 0d 19 d2 0c f2 5f 53 |%=S% . &2....._S| 000034c0 42 28 53 25 29 0d 19 dc 0c 42 25 3d 42 25 3e 3e |B(S%)....B%=B%>>| 000034d0 31 0d 19 e6 05 ed 0d 19 f0 15 f2 5f 53 42 28 26 |1.........._SB(&| 000034e0 43 30 20 84 20 4d 75 74 65 25 29 0d 19 fa 15 f2 |C0 . Mute%).....| 000034f0 5f 53 42 28 26 44 30 20 84 20 4d 75 74 65 25 29 |_SB(&D0 . Mute%)| 00003500 0d 1a 04 15 f2 5f 53 42 28 26 43 30 20 84 20 4d |....._SB(&C0 . M| 00003510 75 74 65 25 29 0d 1a 0e 05 e1 0d 1a 18 04 0d 1a |ute%)...........| 00003520 22 0d dd 20 f2 5f 56 6f 6c 55 70 0d 1a 2c 15 f2 |".. ._VolUp..,..| 00003530 5f 53 42 28 26 38 30 20 84 20 4d 75 74 65 25 29 |_SB(&80 . Mute%)| 00003540 0d 1a 36 0e f2 5f 44 65 6c 61 79 28 31 29 0d 1a |..6.._Delay(1)..| 00003550 40 15 f2 5f 53 42 28 26 43 30 20 84 20 4d 75 74 |@.._SB(&C0 . Mut| 00003560 65 25 29 0d 1a 4a 05 e1 0d 1a 54 04 0d 1a 5e 0f |e%)..J....T...^.| 00003570 dd 20 f2 5f 56 6f 6c 44 6f 77 6e 0d 1a 68 15 f2 |. ._VolDown..h..| 00003580 5f 53 42 28 26 34 30 20 84 20 4d 75 74 65 25 29 |_SB(&40 . Mute%)| 00003590 0d 1a 72 0e f2 5f 44 65 6c 61 79 28 31 29 0d 1a |..r.._Delay(1)..| 000035a0 7c 15 f2 5f 53 42 28 26 43 30 20 84 20 4d 75 74 ||.._SB(&C0 . Mut| 000035b0 65 25 29 0d 1a 86 05 e1 0d 1a 90 04 0d 1a 9a 11 |e%).............| 000035c0 dd 20 f2 5f 44 65 6c 61 79 28 6e 25 29 0d 1a a4 |. ._Delay(n%)...| 000035d0 08 ea 20 54 25 0d 1a ae 0d 54 25 3d 91 20 2b 20 |.. T%....T%=. + | 000035e0 6e 25 0d 1a b8 05 f5 0d 1a c2 0a fd 20 91 3e 54 |n%.......... .>T| 000035f0 25 0d 1a cc 05 e1 0d 1a d6 04 0d 1a e0 0e dd 20 |%.............. | 00003600 f2 5f 53 42 28 4e 25 29 0d 1a ea 08 ea 20 42 25 |._SB(N%)..... B%| 00003610 0d 1a f4 0f 42 25 3d 4e 25 20 84 20 26 32 30 0d |....B%=N% . &20.| 00003620 1a fe 0f 4e 25 3d 4e 25 20 80 20 26 44 46 0d 1b |...N%=N% . &DF..| 00003630 08 11 c8 99 26 34 32 45 43 31 2c 31 2c 42 25 0d |....&42EC1,1,B%.| 00003640 1b 12 11 c8 99 26 34 32 45 43 31 2c 31 2c 4e 25 |.....&42EC1,1,N%| 00003650 0d 1b 1c 11 c8 99 26 34 32 45 43 31 2c 31 2c 42 |......&42EC1,1,B| 00003660 25 0d 1b 26 05 e1 0d 1b 30 04 0d 1b 3a 0a dd 20 |%..&....0...:.. | 00003670 f2 5f 52 58 0d 1b 44 1b c8 99 26 34 32 45 43 31 |._RX..D...&42EC1| 00003680 2c 30 20 b8 20 2c 2c 53 74 61 74 69 6f 6e 25 0d |,0 . ,,Station%.| 00003690 1b 4e 18 53 74 61 74 69 6f 6e 25 3d 53 74 61 74 |.N.Station%=Stat| 000036a0 69 6f 6e 25 3e 3e 37 0d 1b 58 05 e1 0d 1b 62 04 |ion%>>7..X....b.| 000036b0 0d 1b 6c 0d dd 20 f2 5f 53 53 63 61 6e 0d 1b 76 |..l.. ._SScan..v| 000036c0 08 ea 20 41 25 0d 1b 80 0e 53 70 6c 6c 25 3d 50 |.. A%....Spll%=P| 000036d0 4c 4c 25 0d 1b 8a 10 53 66 72 65 71 25 3d 46 72 |LL%....Sfreq%=Fr| 000036e0 65 71 25 0d 1b 94 0f 46 72 65 71 25 3d 38 38 30 |eq%....Freq%=880| 000036f0 30 30 0d 1b 9e 10 50 4c 4c 25 3d 26 41 31 30 46 |00....PLL%=&A10F| 00003700 36 43 0d 1b a8 0b 53 63 61 6e 25 3d b9 0d 1b b2 |6C....Scan%=....| 00003710 0c 41 25 3d 53 50 25 21 38 0d 1b bc 1c 42 61 72 |.A%=SP%!8....Bar| 00003720 50 25 3d 41 25 2b 53 50 25 2b 53 50 25 21 28 33 |P%=A%+SP%+SP%!(3| 00003730 32 2b 41 25 29 0d 1b c6 11 e3 20 41 25 3d 30 20 |2+A%)..... A%=0 | 00003740 b8 20 31 30 37 37 0d 1b d0 10 42 61 72 50 25 3f |. 1077....BarP%?| 00003750 41 25 3d 26 33 33 0d 1b da 05 ed 0d 1b e4 10 53 |A%=&33.........S| 00003760 53 25 3d 30 3a 53 53 74 25 3d 30 0d 1b ee 0f f2 |S%=0:SSt%=0.....| 00003770 5f 54 75 6e 65 55 70 28 30 29 0d 1b f8 10 f2 5f |_TuneUp(0)....._| 00003780 44 65 6c 61 79 28 31 30 30 29 0d 1c 02 0e 53 74 |Delay(100)....St| 00003790 61 74 69 6f 6e 25 3d 30 0d 1c 0c 05 e1 0d 1c 16 |ation%=0........| 000037a0 04 0d 1c 20 0c dd 20 f2 5f 53 63 61 6e 0d 1c 2a |... .. ._Scan..*| 000037b0 11 ea 20 41 25 2c 42 25 2c 43 25 2c 57 25 0d 1c |.. A%,B%,C%,W%..| 000037c0 34 0b 50 4c 4c 25 2b 3d 31 0d 1c 3e 0d 46 72 65 |4.PLL%+=1..>.Fre| 000037d0 71 25 2b 3d 32 35 0d 1c 48 0a 53 53 25 2b 3d 31 |q%+=25..H.SS%+=1| 000037e0 0d 1c 52 13 53 53 74 25 3d 53 53 25 2a 30 2e 32 |..R.SSt%=SS%*0.2| 000037f0 32 32 34 0d 1c 5c 12 e7 20 53 74 61 74 69 6f 6e |224..\.. Station| 00003800 25 3d 31 20 8c 0d 1c 66 1a 43 25 3d 38 20 3c 3c |%=1 ...f.C%=8 <<| 00003810 20 28 34 2a 28 50 4c 4c 25 20 80 20 31 29 29 0d | (4*(PLL% . 1)).| 00003820 1c 70 11 42 25 3d 42 61 72 50 25 2b 53 53 74 25 |.p.B%=BarP%+SSt%| 00003830 0d 1c 7a 0e e3 20 41 25 3d 30 20 b8 20 36 0d 1c |..z.. A%=0 . 6..| 00003840 84 12 57 25 3d 41 25 2a 31 37 38 2b 41 25 2a 32 |..W%=A%*178+A%*2| 00003850 0d 1c 8e 14 42 25 3f 57 25 3d 42 25 3f 57 25 20 |....B%?W%=B%?W% | 00003860 84 20 43 25 0d 1c 98 05 ed 0d 1c a2 05 cd 0d 1c |. C%............| 00003870 ac 0f f2 5f 54 75 6e 65 55 70 28 30 29 0d 1c b6 |..._TuneUp(0)...| 00003880 08 f2 5f 52 58 0d 1c c0 14 e7 20 50 4c 4c 25 3d |.._RX..... PLL%=| 00003890 26 41 31 31 32 38 43 20 8c 0d 1c ca 0e 50 4c 4c |&A1128C .....PLL| 000038a0 25 3d 53 70 6c 6c 25 0d 1c d4 10 46 72 65 71 25 |%=Spll%....Freq%| 000038b0 3d 53 66 72 65 71 25 0d 1c de 0b 53 63 61 6e 25 |=Sfreq%....Scan%| 000038c0 3d a3 0d 1c e8 0f f2 5f 54 75 6e 65 55 70 28 30 |=......_TuneUp(0| 000038d0 29 0d 1c f2 32 c8 99 22 4f 53 5f 53 70 72 69 74 |)...2.."OS_Sprit| 000038e0 65 4f 70 22 2c 31 32 2b 32 35 36 2c 53 50 25 2c |eOp",12+256,SP%,| 000038f0 22 3c 46 4d 24 44 69 72 3e 2e 53 74 61 74 69 6f |"<FM$Dir>.Statio| 00003900 6e 73 22 0d 1c fc 05 cd 0d 1d 06 2f c8 99 22 57 |ns"......../.."W| 00003910 69 6d 70 5f 46 6f 72 63 65 52 65 64 72 61 77 22 |imp_ForceRedraw"| 00003920 2c 6d 6f 6e 57 25 2c 39 34 2c 2d 33 34 30 2c 38 |,monW%,94,-340,8| 00003930 30 38 2c 2d 32 30 30 0d 1d 10 05 e1 0d ff |08,-200.......| 0000393e