Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornComputing_199310.adf » 93_10s » Wordz/!Wordz/Resource/Loader
Wordz/!Wordz/Resource/Loader
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_AcornComputing_199310.adf » 93_10s |
Filename: | Wordz/!Wordz/Resource/Loader |
Read OK: | ✔ |
File size: | 0518 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM > Loader 20f$="<Obey$Dir>.!Sprite":V%=%1:SYS"XOS_File",17,f$TOr0%,,,,z%;psr%:IFpsr%ANDV%THENr0%=0 30IFr0%<>1THENEND 40DIMn%12,sf%15,trt%255,task%4:$task%="TASK":SYS"Wimp_Initialise",200,!task%,"Loading"TO,h% 50END=&10000+z%+4:DIMa%z%+4-1:a%!0=z%+4:a%!4=0:a%!8=0:a%!12=0:SYS"XOS_SpriteOp",256+10,a%,f$TOr0%;psr% 60IFpsr%ANDV%THEN 70ELSE 80 SYS"OS_SpriteOp",256+13,a%,n%,13,1:SYS"OS_SpriteOp",256+40,a%,n%TO,,,sx%,sy%,mask%,m%:SYS"Wimp_ReadPixTrans",256,a%,n%,,,,sf%,trt% 90 os_sx%=sx%<<FNm(m%,4):os_sy%=sy%<<FNm(m%,5):dx%=1<<FNm(-1,4):dy%=1<<FNm(-1,5):ssx%=(FNm(-1,11)+1)*dx%:ssy%=(FNm(-1,12)+1)*dy% 100 os_sx%=((os_sx%+dx%-1)/dx%)*dx%:os_sy%=((os_sy%+dy%-1)/dy%)*dy% 110 mx%=32:my%=32:x0%=(ssx%-os_sx%)/2-mx%:y0%=(ssy%-os_sy%)/2-my%:x1%=(ssx%+os_sx%)/2+mx%:y1%=(ssy%+os_sy%)/2+my% 120 e%=x0%AND(dx%-1):x0%-=e%:x1%-=e%:e%=y0%AND(dy%-1):y0%-=e%:y1%-=e%:x1%=((x1%+dx%-1)/dx%)*dx%:y1%=((y1%+dy%-1)/dy%)*dy% 130 SYS"Wimp_ForceRedraw",-1,x0%,y0%,x1%,y1% 140 VDU24,x0%;y0%;x1%-1;y1%-1; 150 PROCw(128+1):CLG 160 PROCw(5):RECTANGLEFILLx0%,y0%,x1%-1-x0%,4-1:RECTANGLEFILLx1%-4,y0%,4-1,y1%-1-y0% 170 PROCw(0):RECTANGLEFILLx0%,y1%-4,x1%-1-x0%,4-1:RECTANGLEFILLx0%,y0%,4-1,y1%-1-y0% 180 SYS"XOS_SpriteOp",256+52,a%,n%,x0%+mx%,y0%+my%,0,sf%,trt% 190 VDU24,0;0;ssx%-1;ssy%-1; 200ENDIF 210SYS"XWimp_CloseDown",h%,!task%:END 220DEFFNm(M%,V%):SYS"OS_ReadModeVariable",M%,V%TO,,Q%:=Q% 230DEFPROCw(C%):SYS"Wimp_SetColour",C%:ENDPROC
� > Loader Rf$="<Obey$Dir>.!Sprite":V%=%1:ș"XOS_File",17,f$�r0%,,,,z%;psr%:�psr%�V%�r0%=0 �r0%<>1�� (Y�n%12,sf%15,trt%255,task%4:$task%="TASK":ș"Wimp_Initialise",200,!task%,"Loading"�,h% 2b�=&10000+z%+4:�a%z%+4-1:a%!0=z%+4:a%!4=0:a%!8=0:a%!12=0:ș"XOS_SpriteOp",256+10,a%,f$�r0%;psr% < �psr%�V%� F� P� ș"OS_SpriteOp",256+13,a%,n%,13,1:ș"OS_SpriteOp",256+40,a%,n%�,,,sx%,sy%,mask%,m%:ș"Wimp_ReadPixTrans",256,a%,n%,,,,sf%,trt% Z| os_sx%=sx%<<�m(m%,4):os_sy%=sy%<<�m(m%,5):dx%=1<<�m(-1,4):dy%=1<<�m(-1,5):ssx%=(�m(-1,11)+1)*dx%:ssy%=(�m(-1,12)+1)*dy% dD os_sx%=((os_sx%+dx%-1)/dx%)*dx%:os_sy%=((os_sy%+dy%-1)/dy%)*dy% nr mx%=32:my%=32:x0%=(ssx%-os_sx%)/2-mx%:y0%=(ssy%-os_sy%)/2-my%:x1%=(ssx%+os_sx%)/2+mx%:y1%=(ssy%+os_sy%)/2+my% xv e%=x0%�(dx%-1):x0%-=e%:x1%-=e%:e%=y0%�(dy%-1):y0%-=e%:y1%-=e%:x1%=((x1%+dx%-1)/dx%)*dx%:y1%=((y1%+dy%-1)/dy%)*dy% �, ș"Wimp_ForceRedraw",-1,x0%,y0%,x1%,y1% � �24,x0%;y0%;x1%-1;y1%-1; � �w(128+1):� �@ �w(5):ȓȐx0%,y0%,x1%-1-x0%,4-1:ȓȐx1%-4,y0%,4-1,y1%-1-y0% �@ �w(0):ȓȐx0%,y1%-4,x1%-1-x0%,4-1:ȓȐx0%,y0%,4-1,y1%-1-y0% �= ș"XOS_SpriteOp",256+52,a%,n%,x0%+mx%,y0%+my%,0,sf%,trt% � �24,0;0;ssx%-1;ssy%-1; �� �#ș"XWimp_CloseDown",h%,!task%:� �5ݤm(M%,V%):ș"OS_ReadModeVariable",M%,V%�,,Q%:=Q% �#��w(C%):ș"Wimp_SetColour",C%:� �
00000000 0d 00 0a 0e f4 20 3e 20 4c 6f 61 64 65 72 0d 00 |..... > Loader..| 00000010 14 52 66 24 3d 22 3c 4f 62 65 79 24 44 69 72 3e |.Rf$="<Obey$Dir>| 00000020 2e 21 53 70 72 69 74 65 22 3a 56 25 3d 25 31 3a |.!Sprite":V%=%1:| 00000030 c8 99 22 58 4f 53 5f 46 69 6c 65 22 2c 31 37 2c |.."XOS_File",17,| 00000040 66 24 b8 72 30 25 2c 2c 2c 2c 7a 25 3b 70 73 72 |f$.r0%,,,,z%;psr| 00000050 25 3a e7 70 73 72 25 80 56 25 8c 72 30 25 3d 30 |%:.psr%.V%.r0%=0| 00000060 0d 00 1e 0d e7 72 30 25 3c 3e 31 8c e0 0d 00 28 |.....r0%<>1....(| 00000070 59 de 6e 25 31 32 2c 73 66 25 31 35 2c 74 72 74 |Y.n%12,sf%15,trt| 00000080 25 32 35 35 2c 74 61 73 6b 25 34 3a 24 74 61 73 |%255,task%4:$tas| 00000090 6b 25 3d 22 54 41 53 4b 22 3a c8 99 22 57 69 6d |k%="TASK":.."Wim| 000000a0 70 5f 49 6e 69 74 69 61 6c 69 73 65 22 2c 32 30 |p_Initialise",20| 000000b0 30 2c 21 74 61 73 6b 25 2c 22 4c 6f 61 64 69 6e |0,!task%,"Loadin| 000000c0 67 22 b8 2c 68 25 0d 00 32 62 e0 3d 26 31 30 30 |g".,h%..2b.=&100| 000000d0 30 30 2b 7a 25 2b 34 3a de 61 25 7a 25 2b 34 2d |00+z%+4:.a%z%+4-| 000000e0 31 3a 61 25 21 30 3d 7a 25 2b 34 3a 61 25 21 34 |1:a%!0=z%+4:a%!4| 000000f0 3d 30 3a 61 25 21 38 3d 30 3a 61 25 21 31 32 3d |=0:a%!8=0:a%!12=| 00000100 30 3a c8 99 22 58 4f 53 5f 53 70 72 69 74 65 4f |0:.."XOS_SpriteO| 00000110 70 22 2c 32 35 36 2b 31 30 2c 61 25 2c 66 24 b8 |p",256+10,a%,f$.| 00000120 72 30 25 3b 70 73 72 25 0d 00 3c 0d e7 70 73 72 |r0%;psr%..<..psr| 00000130 25 80 56 25 8c 0d 00 46 05 cc 0d 00 50 83 20 c8 |%.V%...F....P. .| 00000140 99 22 4f 53 5f 53 70 72 69 74 65 4f 70 22 2c 32 |."OS_SpriteOp",2| 00000150 35 36 2b 31 33 2c 61 25 2c 6e 25 2c 31 33 2c 31 |56+13,a%,n%,13,1| 00000160 3a c8 99 22 4f 53 5f 53 70 72 69 74 65 4f 70 22 |:.."OS_SpriteOp"| 00000170 2c 32 35 36 2b 34 30 2c 61 25 2c 6e 25 b8 2c 2c |,256+40,a%,n%.,,| 00000180 2c 73 78 25 2c 73 79 25 2c 6d 61 73 6b 25 2c 6d |,sx%,sy%,mask%,m| 00000190 25 3a c8 99 22 57 69 6d 70 5f 52 65 61 64 50 69 |%:.."Wimp_ReadPi| 000001a0 78 54 72 61 6e 73 22 2c 32 35 36 2c 61 25 2c 6e |xTrans",256,a%,n| 000001b0 25 2c 2c 2c 2c 73 66 25 2c 74 72 74 25 0d 00 5a |%,,,,sf%,trt%..Z| 000001c0 7c 20 6f 73 5f 73 78 25 3d 73 78 25 3c 3c a4 6d || os_sx%=sx%<<.m| 000001d0 28 6d 25 2c 34 29 3a 6f 73 5f 73 79 25 3d 73 79 |(m%,4):os_sy%=sy| 000001e0 25 3c 3c a4 6d 28 6d 25 2c 35 29 3a 64 78 25 3d |%<<.m(m%,5):dx%=| 000001f0 31 3c 3c a4 6d 28 2d 31 2c 34 29 3a 64 79 25 3d |1<<.m(-1,4):dy%=| 00000200 31 3c 3c a4 6d 28 2d 31 2c 35 29 3a 73 73 78 25 |1<<.m(-1,5):ssx%| 00000210 3d 28 a4 6d 28 2d 31 2c 31 31 29 2b 31 29 2a 64 |=(.m(-1,11)+1)*d| 00000220 78 25 3a 73 73 79 25 3d 28 a4 6d 28 2d 31 2c 31 |x%:ssy%=(.m(-1,1| 00000230 32 29 2b 31 29 2a 64 79 25 0d 00 64 44 20 6f 73 |2)+1)*dy%..dD os| 00000240 5f 73 78 25 3d 28 28 6f 73 5f 73 78 25 2b 64 78 |_sx%=((os_sx%+dx| 00000250 25 2d 31 29 2f 64 78 25 29 2a 64 78 25 3a 6f 73 |%-1)/dx%)*dx%:os| 00000260 5f 73 79 25 3d 28 28 6f 73 5f 73 79 25 2b 64 79 |_sy%=((os_sy%+dy| 00000270 25 2d 31 29 2f 64 79 25 29 2a 64 79 25 0d 00 6e |%-1)/dy%)*dy%..n| 00000280 72 20 6d 78 25 3d 33 32 3a 6d 79 25 3d 33 32 3a |r mx%=32:my%=32:| 00000290 78 30 25 3d 28 73 73 78 25 2d 6f 73 5f 73 78 25 |x0%=(ssx%-os_sx%| 000002a0 29 2f 32 2d 6d 78 25 3a 79 30 25 3d 28 73 73 79 |)/2-mx%:y0%=(ssy| 000002b0 25 2d 6f 73 5f 73 79 25 29 2f 32 2d 6d 79 25 3a |%-os_sy%)/2-my%:| 000002c0 78 31 25 3d 28 73 73 78 25 2b 6f 73 5f 73 78 25 |x1%=(ssx%+os_sx%| 000002d0 29 2f 32 2b 6d 78 25 3a 79 31 25 3d 28 73 73 79 |)/2+mx%:y1%=(ssy| 000002e0 25 2b 6f 73 5f 73 79 25 29 2f 32 2b 6d 79 25 0d |%+os_sy%)/2+my%.| 000002f0 00 78 76 20 65 25 3d 78 30 25 80 28 64 78 25 2d |.xv e%=x0%.(dx%-| 00000300 31 29 3a 78 30 25 2d 3d 65 25 3a 78 31 25 2d 3d |1):x0%-=e%:x1%-=| 00000310 65 25 3a 65 25 3d 79 30 25 80 28 64 79 25 2d 31 |e%:e%=y0%.(dy%-1| 00000320 29 3a 79 30 25 2d 3d 65 25 3a 79 31 25 2d 3d 65 |):y0%-=e%:y1%-=e| 00000330 25 3a 78 31 25 3d 28 28 78 31 25 2b 64 78 25 2d |%:x1%=((x1%+dx%-| 00000340 31 29 2f 64 78 25 29 2a 64 78 25 3a 79 31 25 3d |1)/dx%)*dx%:y1%=| 00000350 28 28 79 31 25 2b 64 79 25 2d 31 29 2f 64 79 25 |((y1%+dy%-1)/dy%| 00000360 29 2a 64 79 25 0d 00 82 2c 20 c8 99 22 57 69 6d |)*dy%..., .."Wim| 00000370 70 5f 46 6f 72 63 65 52 65 64 72 61 77 22 2c 2d |p_ForceRedraw",-| 00000380 31 2c 78 30 25 2c 79 30 25 2c 78 31 25 2c 79 31 |1,x0%,y0%,x1%,y1| 00000390 25 0d 00 8c 1d 20 ef 32 34 2c 78 30 25 3b 79 30 |%.... .24,x0%;y0| 000003a0 25 3b 78 31 25 2d 31 3b 79 31 25 2d 31 3b 0d 00 |%;x1%-1;y1%-1;..| 000003b0 96 10 20 f2 77 28 31 32 38 2b 31 29 3a da 0d 00 |.. .w(128+1):...| 000003c0 a0 40 20 f2 77 28 35 29 3a c8 93 c8 90 78 30 25 |.@ .w(5):....x0%| 000003d0 2c 79 30 25 2c 78 31 25 2d 31 2d 78 30 25 2c 34 |,y0%,x1%-1-x0%,4| 000003e0 2d 31 3a c8 93 c8 90 78 31 25 2d 34 2c 79 30 25 |-1:....x1%-4,y0%| 000003f0 2c 34 2d 31 2c 79 31 25 2d 31 2d 79 30 25 0d 00 |,4-1,y1%-1-y0%..| 00000400 aa 40 20 f2 77 28 30 29 3a c8 93 c8 90 78 30 25 |.@ .w(0):....x0%| 00000410 2c 79 31 25 2d 34 2c 78 31 25 2d 31 2d 78 30 25 |,y1%-4,x1%-1-x0%| 00000420 2c 34 2d 31 3a c8 93 c8 90 78 30 25 2c 79 30 25 |,4-1:....x0%,y0%| 00000430 2c 34 2d 31 2c 79 31 25 2d 31 2d 79 30 25 0d 00 |,4-1,y1%-1-y0%..| 00000440 b4 3d 20 c8 99 22 58 4f 53 5f 53 70 72 69 74 65 |.= .."XOS_Sprite| 00000450 4f 70 22 2c 32 35 36 2b 35 32 2c 61 25 2c 6e 25 |Op",256+52,a%,n%| 00000460 2c 78 30 25 2b 6d 78 25 2c 79 30 25 2b 6d 79 25 |,x0%+mx%,y0%+my%| 00000470 2c 30 2c 73 66 25 2c 74 72 74 25 0d 00 be 1b 20 |,0,sf%,trt%.... | 00000480 ef 32 34 2c 30 3b 30 3b 73 73 78 25 2d 31 3b 73 |.24,0;0;ssx%-1;s| 00000490 73 79 25 2d 31 3b 0d 00 c8 05 cd 0d 00 d2 23 c8 |sy%-1;........#.| 000004a0 99 22 58 57 69 6d 70 5f 43 6c 6f 73 65 44 6f 77 |."XWimp_CloseDow| 000004b0 6e 22 2c 68 25 2c 21 74 61 73 6b 25 3a e0 0d 00 |n",h%,!task%:...| 000004c0 dc 35 dd a4 6d 28 4d 25 2c 56 25 29 3a c8 99 22 |.5..m(M%,V%):.."| 000004d0 4f 53 5f 52 65 61 64 4d 6f 64 65 56 61 72 69 61 |OS_ReadModeVaria| 000004e0 62 6c 65 22 2c 4d 25 2c 56 25 b8 2c 2c 51 25 3a |ble",M%,V%.,,Q%:| 000004f0 3d 51 25 0d 00 e6 23 dd f2 77 28 43 25 29 3a c8 |=Q%...#..w(C%):.| 00000500 99 22 57 69 6d 70 5f 53 65 74 43 6f 6c 6f 75 72 |."Wimp_SetColour| 00000510 22 2c 43 25 3a e1 0d ff |",C%:...| 00000518