Home » Archimedes archive » Acorn Computing » 1993 06 Mega Disk.adf » 93_06 » Miscellany/SolidDrag/!SolidDrag/Documents/FilterDoc
Miscellany/SolidDrag/!SolidDrag/Documents/FilterDoc
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Acorn Computing » 1993 06 Mega Disk.adf » 93_06 |
Filename: | Miscellany/SolidDrag/!SolidDrag/Documents/FilterDoc |
Read OK: | ✔ |
File size: | 0E2E bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
Filter Manager service calls: Service_FilterManagerInstalled ------------------------------ in R0 = Version number of Filter Manager *100, ie. 1.23 => 123 R1 = Service_FilterManagerInstalled out all must be preserved, must never be claimed This service call is broadcast to allow modules that install a Filter to be reinstalled when the filter manager is reloaded / re-inited. The SWI is issued on a callback, so the SWI interface is valid for registering filters. Service_FilterManagerDying -------------------------- in R1 = Service_FilterManagerDying out all must be preserved, must never be claimed This is broadcast when the filter manager has unlinked all filters from its active lists (just before the module dies) to allow the filter owners to tidy any internal state. Filter manager SWIs: Filter_RegisterPreFilter Add a new pre filter to the list of pre filters. Entry: R0 - Pointer to 0 terminated filter name. R1 - Addresss of filter. R2 - Value to be passed in R12. R3 - Task handle of task to which filter is applied. or 0 for all tasks. Exit: Registers preserved. The address pointed to by R1 will be called whenever the task who's handle is passed in R3 calls Wimp_Poll with R12 equal to the value of R2 when this SWI is called. The routine pointed to by R1 will be called with: R0 = Event mask as passed to Wimp_Poll R1 -> Event block as passed to Wimp_Poll R2 = Task handle of task that called Wimp_Poll. On Exit: It may clear bits in r0 to provide a new event mask. It must preserve all other registers. Filter_RegisterPostFilter Add a new post filter to the list of post filters. Entry: R0 - Pointer to 0 terminated filter name. R1 - Addresss of filter. R2 - Value to be passed in R12. R3 - Task handle of task to which filter is applied. or 0 for all tasks. R4 - Event mask ( 1 bit masks the event out as for Wimp_Poll). Exit: Registers preserved. The address pointed to by R1 will be called whenever the Wimp is about to return to the task who's handle is passed in R3 from Wimp_Poll with R12 equal to the value of R2 when this SWI is called. On entry to the routine pointed to by R1: R0 - Event reason code (as from Wimp Poll) R1 -> User's event buffer. R2 = Task handle for task to which the return is made. Task paged in. On Exit: The routine may modify the reason code in r0 and the contents of the buffer pointed to by R1 to provide a new event. It must preserve R1 and R2. Filter_DeRegisterPreFilter Remove a pre filter from the list of pre filters. Entry: R0 - Pointer to 0 terminated filter name. R1 - Addresss of filter. R2 - Value to be passed in R12. R3 - Task handle of task to which filter was applied. All must be the same as those passed to RegisterPreFilter Exit: Registers preserved. Filter de-registered. Filter_DeRegisterPostFilter Remove a pre filter from the list of pre filters. Entry: R0 - Pointer to 0 terminated filter name. R1 - Addresss of filter. R2 - Value to be passed in R12. R3 - Task handle of task to which filter was applied. All must be the same as those passed to RegisterPreFilter Exit: Registers preserved. Filter de-registered.
00000000 0a 46 69 6c 74 65 72 20 4d 61 6e 61 67 65 72 20 |.Filter Manager | 00000010 73 65 72 76 69 63 65 20 63 61 6c 6c 73 3a 0a 0a |service calls:..| 00000020 53 65 72 76 69 63 65 5f 46 69 6c 74 65 72 4d 61 |Service_FilterMa| 00000030 6e 61 67 65 72 49 6e 73 74 61 6c 6c 65 64 0a 2d |nagerInstalled.-| 00000040 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00000050 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 20 69 |-------------. i| 00000060 6e 20 20 20 20 20 52 30 20 3d 20 56 65 72 73 69 |n R0 = Versi| 00000070 6f 6e 20 6e 75 6d 62 65 72 20 6f 66 20 46 69 6c |on number of Fil| 00000080 74 65 72 20 4d 61 6e 61 67 65 72 20 2a 31 30 30 |ter Manager *100| 00000090 2c 20 69 65 2e 20 31 2e 32 33 20 3d 3e 20 31 32 |, ie. 1.23 => 12| 000000a0 33 0a 20 20 20 20 20 20 20 20 52 31 20 3d 20 53 |3. R1 = S| 000000b0 65 72 76 69 63 65 5f 46 69 6c 74 65 72 4d 61 6e |ervice_FilterMan| 000000c0 61 67 65 72 49 6e 73 74 61 6c 6c 65 64 0a 20 6f |agerInstalled. o| 000000d0 75 74 20 20 20 20 61 6c 6c 20 6d 75 73 74 20 62 |ut all must b| 000000e0 65 20 70 72 65 73 65 72 76 65 64 2c 20 6d 75 73 |e preserved, mus| 000000f0 74 20 6e 65 76 65 72 20 62 65 20 63 6c 61 69 6d |t never be claim| 00000100 65 64 0a 0a 54 68 69 73 20 73 65 72 76 69 63 65 |ed..This service| 00000110 20 63 61 6c 6c 20 69 73 20 62 72 6f 61 64 63 61 | call is broadca| 00000120 73 74 20 74 6f 20 61 6c 6c 6f 77 20 6d 6f 64 75 |st to allow modu| 00000130 6c 65 73 20 74 68 61 74 20 69 6e 73 74 61 6c 6c |les that install| 00000140 20 61 20 46 69 6c 74 65 72 0a 74 6f 20 62 65 20 | a Filter.to be | 00000150 72 65 69 6e 73 74 61 6c 6c 65 64 20 77 68 65 6e |reinstalled when| 00000160 20 74 68 65 20 66 69 6c 74 65 72 20 6d 61 6e 61 | the filter mana| 00000170 67 65 72 20 69 73 20 72 65 6c 6f 61 64 65 64 20 |ger is reloaded | 00000180 2f 20 72 65 2d 69 6e 69 74 65 64 2e 0a 0a 54 68 |/ re-inited...Th| 00000190 65 20 53 57 49 20 69 73 20 69 73 73 75 65 64 20 |e SWI is issued | 000001a0 6f 6e 20 61 20 63 61 6c 6c 62 61 63 6b 2c 20 73 |on a callback, s| 000001b0 6f 20 74 68 65 20 53 57 49 20 69 6e 74 65 72 66 |o the SWI interf| 000001c0 61 63 65 20 69 73 20 76 61 6c 69 64 20 66 6f 72 |ace is valid for| 000001d0 0a 72 65 67 69 73 74 65 72 69 6e 67 20 66 69 6c |.registering fil| 000001e0 74 65 72 73 2e 0a 0a 0a 53 65 72 76 69 63 65 5f |ters....Service_| 000001f0 46 69 6c 74 65 72 4d 61 6e 61 67 65 72 44 79 69 |FilterManagerDyi| 00000200 6e 67 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |ng.-------------| 00000210 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 20 69 |-------------. i| 00000220 6e 20 20 20 20 20 52 31 20 3d 20 53 65 72 76 69 |n R1 = Servi| 00000230 63 65 5f 46 69 6c 74 65 72 4d 61 6e 61 67 65 72 |ce_FilterManager| 00000240 44 79 69 6e 67 0a 20 6f 75 74 20 20 20 20 61 6c |Dying. out al| 00000250 6c 20 6d 75 73 74 20 62 65 20 70 72 65 73 65 72 |l must be preser| 00000260 76 65 64 2c 20 6d 75 73 74 20 6e 65 76 65 72 20 |ved, must never | 00000270 62 65 20 63 6c 61 69 6d 65 64 0a 0a 54 68 69 73 |be claimed..This| 00000280 20 69 73 20 62 72 6f 61 64 63 61 73 74 20 77 68 | is broadcast wh| 00000290 65 6e 20 74 68 65 20 66 69 6c 74 65 72 20 6d 61 |en the filter ma| 000002a0 6e 61 67 65 72 20 68 61 73 20 75 6e 6c 69 6e 6b |nager has unlink| 000002b0 65 64 20 61 6c 6c 20 66 69 6c 74 65 72 73 20 66 |ed all filters f| 000002c0 72 6f 6d 0a 69 74 73 20 61 63 74 69 76 65 20 6c |rom.its active l| 000002d0 69 73 74 73 20 28 6a 75 73 74 20 62 65 66 6f 72 |ists (just befor| 000002e0 65 20 74 68 65 20 6d 6f 64 75 6c 65 20 64 69 65 |e the module die| 000002f0 73 29 20 74 6f 20 61 6c 6c 6f 77 20 74 68 65 20 |s) to allow the | 00000300 66 69 6c 74 65 72 20 6f 77 6e 65 72 73 0a 74 6f |filter owners.to| 00000310 20 74 69 64 79 20 61 6e 79 20 69 6e 74 65 72 6e | tidy any intern| 00000320 61 6c 20 73 74 61 74 65 2e 0a 0a 0a 46 69 6c 74 |al state....Filt| 00000330 65 72 20 6d 61 6e 61 67 65 72 20 53 57 49 73 3a |er manager SWIs:| 00000340 0a 0a 0a 46 69 6c 74 65 72 5f 52 65 67 69 73 74 |...Filter_Regist| 00000350 65 72 50 72 65 46 69 6c 74 65 72 0a 0a 20 41 64 |erPreFilter.. Ad| 00000360 64 20 61 20 6e 65 77 20 70 72 65 20 66 69 6c 74 |d a new pre filt| 00000370 65 72 20 74 6f 20 74 68 65 20 6c 69 73 74 20 6f |er to the list o| 00000380 66 20 70 72 65 20 66 69 6c 74 65 72 73 2e 0a 0a |f pre filters...| 00000390 20 45 6e 74 72 79 3a 0a 20 20 20 20 20 20 20 20 | Entry:. | 000003a0 52 30 20 2d 20 50 6f 69 6e 74 65 72 20 74 6f 20 |R0 - Pointer to | 000003b0 30 20 74 65 72 6d 69 6e 61 74 65 64 20 66 69 6c |0 terminated fil| 000003c0 74 65 72 20 6e 61 6d 65 2e 20 0a 20 20 20 20 20 |ter name. . | 000003d0 20 20 20 52 31 20 2d 20 41 64 64 72 65 73 73 73 | R1 - Addresss| 000003e0 20 6f 66 20 66 69 6c 74 65 72 2e 0a 20 20 20 20 | of filter.. | 000003f0 20 20 20 20 52 32 20 2d 20 56 61 6c 75 65 20 74 | R2 - Value t| 00000400 6f 20 62 65 20 70 61 73 73 65 64 20 69 6e 20 52 |o be passed in R| 00000410 31 32 2e 0a 20 20 20 20 20 20 20 20 52 33 20 2d |12.. R3 -| 00000420 20 54 61 73 6b 20 68 61 6e 64 6c 65 20 6f 66 20 | Task handle of | 00000430 74 61 73 6b 20 74 6f 20 77 68 69 63 68 20 66 69 |task to which fi| 00000440 6c 74 65 72 20 69 73 20 61 70 70 6c 69 65 64 2e |lter is applied.| 00000450 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 |. or| 00000460 20 30 20 66 6f 72 20 61 6c 6c 20 74 61 73 6b 73 | 0 for all tasks| 00000470 2e 0a 0a 20 45 78 69 74 3a 0a 20 20 20 20 20 20 |... Exit:. | 00000480 20 20 52 65 67 69 73 74 65 72 73 20 70 72 65 73 | Registers pres| 00000490 65 72 76 65 64 2e 0a 0a 20 20 20 20 20 20 20 20 |erved... | 000004a0 54 68 65 20 61 64 64 72 65 73 73 20 70 6f 69 6e |The address poin| 000004b0 74 65 64 20 74 6f 20 62 79 20 52 31 20 77 69 6c |ted to by R1 wil| 000004c0 6c 20 62 65 20 63 61 6c 6c 65 64 20 77 68 65 6e |l be called when| 000004d0 65 76 65 72 20 74 68 65 20 74 61 73 6b 20 77 68 |ever the task wh| 000004e0 6f 27 73 0a 68 61 6e 64 6c 65 20 69 73 20 70 61 |o's.handle is pa| 000004f0 73 73 65 64 20 69 6e 20 52 33 20 63 61 6c 6c 73 |ssed in R3 calls| 00000500 20 57 69 6d 70 5f 50 6f 6c 6c 20 77 69 74 68 20 | Wimp_Poll with | 00000510 52 31 32 20 65 71 75 61 6c 20 74 6f 20 74 68 65 |R12 equal to the| 00000520 20 76 61 6c 75 65 20 6f 66 20 52 32 0a 77 68 65 | value of R2.whe| 00000530 6e 20 74 68 69 73 20 53 57 49 20 69 73 20 63 61 |n this SWI is ca| 00000540 6c 6c 65 64 2e 0a 0a 20 20 20 20 20 20 20 20 20 |lled... | 00000550 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000560 0a 20 20 20 20 20 20 20 20 54 68 65 20 72 6f 75 |. The rou| 00000570 74 69 6e 65 20 70 6f 69 6e 74 65 64 20 74 6f 20 |tine pointed to | 00000580 62 79 20 52 31 20 77 69 6c 6c 20 62 65 20 63 61 |by R1 will be ca| 00000590 6c 6c 65 64 20 77 69 74 68 3a 0a 0a 20 20 20 20 |lled with:.. | 000005a0 20 20 20 20 52 30 20 3d 20 20 45 76 65 6e 74 20 | R0 = Event | 000005b0 6d 61 73 6b 20 61 73 20 70 61 73 73 65 64 20 74 |mask as passed t| 000005c0 6f 20 57 69 6d 70 5f 50 6f 6c 6c 0a 20 20 20 20 |o Wimp_Poll. | 000005d0 20 20 20 20 52 31 20 2d 3e 20 45 76 65 6e 74 20 | R1 -> Event | 000005e0 62 6c 6f 63 6b 20 61 73 20 70 61 73 73 65 64 20 |block as passed | 000005f0 74 6f 20 57 69 6d 70 5f 50 6f 6c 6c 0a 20 20 20 |to Wimp_Poll. | 00000600 20 20 20 20 20 52 32 20 3d 20 54 61 73 6b 20 68 | R2 = Task h| 00000610 61 6e 64 6c 65 20 6f 66 20 74 61 73 6b 20 74 68 |andle of task th| 00000620 61 74 20 63 61 6c 6c 65 64 20 57 69 6d 70 5f 50 |at called Wimp_P| 00000630 6f 6c 6c 2e 20 20 0a 0a 20 20 20 20 20 20 20 20 |oll. .. | 00000640 4f 6e 20 45 78 69 74 3a 0a 0a 20 20 20 20 20 20 |On Exit:.. | 00000650 20 20 49 74 20 6d 61 79 20 63 6c 65 61 72 20 62 | It may clear b| 00000660 69 74 73 20 69 6e 20 72 30 20 74 6f 20 70 72 6f |its in r0 to pro| 00000670 76 69 64 65 20 61 20 6e 65 77 20 65 76 65 6e 74 |vide a new event| 00000680 20 6d 61 73 6b 2e 0a 0a 20 20 20 20 20 20 20 20 | mask... | 00000690 49 74 20 6d 75 73 74 20 70 72 65 73 65 72 76 65 |It must preserve| 000006a0 20 61 6c 6c 20 6f 74 68 65 72 20 72 65 67 69 73 | all other regis| 000006b0 74 65 72 73 2e 0a 0a 0a 0a 46 69 6c 74 65 72 5f |ters.....Filter_| 000006c0 52 65 67 69 73 74 65 72 50 6f 73 74 46 69 6c 74 |RegisterPostFilt| 000006d0 65 72 0a 0a 20 41 64 64 20 61 20 6e 65 77 20 70 |er.. Add a new p| 000006e0 6f 73 74 20 66 69 6c 74 65 72 20 74 6f 20 74 68 |ost filter to th| 000006f0 65 20 6c 69 73 74 20 6f 66 20 70 6f 73 74 20 66 |e list of post f| 00000700 69 6c 74 65 72 73 2e 0a 0a 20 45 6e 74 72 79 3a |ilters... Entry:| 00000710 0a 20 20 20 20 20 20 20 20 52 30 20 2d 20 50 6f |. R0 - Po| 00000720 69 6e 74 65 72 20 74 6f 20 30 20 74 65 72 6d 69 |inter to 0 termi| 00000730 6e 61 74 65 64 20 66 69 6c 74 65 72 20 6e 61 6d |nated filter nam| 00000740 65 2e 20 0a 20 20 20 20 20 20 20 20 52 31 20 2d |e. . R1 -| 00000750 20 41 64 64 72 65 73 73 73 20 6f 66 20 66 69 6c | Addresss of fil| 00000760 74 65 72 2e 0a 20 20 20 20 20 20 20 20 52 32 20 |ter.. R2 | 00000770 2d 20 56 61 6c 75 65 20 74 6f 20 62 65 20 70 61 |- Value to be pa| 00000780 73 73 65 64 20 69 6e 20 52 31 32 2e 0a 20 20 20 |ssed in R12.. | 00000790 20 20 20 20 20 52 33 20 2d 20 54 61 73 6b 20 68 | R3 - Task h| 000007a0 61 6e 64 6c 65 20 6f 66 20 74 61 73 6b 20 74 6f |andle of task to| 000007b0 20 77 68 69 63 68 20 66 69 6c 74 65 72 20 69 73 | which filter is| 000007c0 20 61 70 70 6c 69 65 64 2e 0a 20 20 20 20 20 20 | applied.. | 000007d0 20 20 20 20 20 20 20 6f 72 20 30 20 66 6f 72 20 | or 0 for | 000007e0 61 6c 6c 20 74 61 73 6b 73 2e 0a 20 20 20 20 20 |all tasks.. | 000007f0 20 20 20 52 34 20 2d 20 45 76 65 6e 74 20 6d 61 | R4 - Event ma| 00000800 73 6b 20 28 20 31 20 62 69 74 20 6d 61 73 6b 73 |sk ( 1 bit masks| 00000810 20 74 68 65 20 65 76 65 6e 74 20 6f 75 74 20 61 | the event out a| 00000820 73 20 66 6f 72 20 57 69 6d 70 5f 50 6f 6c 6c 29 |s for Wimp_Poll)| 00000830 2e 0a 0a 20 45 78 69 74 3a 0a 20 20 20 20 20 20 |... Exit:. | 00000840 20 20 52 65 67 69 73 74 65 72 73 20 70 72 65 73 | Registers pres| 00000850 65 72 76 65 64 2e 0a 0a 20 20 0a 20 20 20 20 20 |erved... . | 00000860 20 20 20 54 68 65 20 61 64 64 72 65 73 73 20 70 | The address p| 00000870 6f 69 6e 74 65 64 20 74 6f 20 62 79 20 52 31 20 |ointed to by R1 | 00000880 77 69 6c 6c 20 62 65 20 63 61 6c 6c 65 64 20 77 |will be called w| 00000890 68 65 6e 65 76 65 72 20 74 68 65 20 57 69 6d 70 |henever the Wimp| 000008a0 20 69 73 0a 61 62 6f 75 74 20 74 6f 20 72 65 74 | is.about to ret| 000008b0 75 72 6e 20 74 6f 20 74 68 65 20 74 61 73 6b 20 |urn to the task | 000008c0 77 68 6f 27 73 20 68 61 6e 64 6c 65 20 69 73 20 |who's handle is | 000008d0 70 61 73 73 65 64 20 69 6e 20 52 33 20 66 72 6f |passed in R3 fro| 000008e0 6d 20 57 69 6d 70 5f 50 6f 6c 6c 20 77 69 74 68 |m Wimp_Poll with| 000008f0 0a 52 31 32 20 65 71 75 61 6c 20 74 6f 20 74 68 |.R12 equal to th| 00000900 65 20 76 61 6c 75 65 20 6f 66 20 52 32 20 77 68 |e value of R2 wh| 00000910 65 6e 20 74 68 69 73 20 53 57 49 20 69 73 20 63 |en this SWI is c| 00000920 61 6c 6c 65 64 2e 0a 0a 20 20 20 20 20 20 20 20 |alled... | 00000930 4f 6e 20 65 6e 74 72 79 20 74 6f 20 74 68 65 20 |On entry to the | 00000940 72 6f 75 74 69 6e 65 20 70 6f 69 6e 74 65 64 20 |routine pointed | 00000950 74 6f 20 62 79 20 52 31 3a 0a 0a 20 20 20 20 20 |to by R1:.. | 00000960 20 20 20 52 30 20 2d 20 45 76 65 6e 74 20 72 65 | R0 - Event re| 00000970 61 73 6f 6e 20 63 6f 64 65 20 28 61 73 20 66 72 |ason code (as fr| 00000980 6f 6d 20 57 69 6d 70 20 50 6f 6c 6c 29 0a 20 20 |om Wimp Poll). | 00000990 20 20 20 20 20 20 52 31 20 2d 3e 20 55 73 65 72 | R1 -> User| 000009a0 27 73 20 65 76 65 6e 74 20 62 75 66 66 65 72 2e |'s event buffer.| 000009b0 0a 20 20 20 20 20 20 20 20 52 32 20 3d 20 54 61 |. R2 = Ta| 000009c0 73 6b 20 68 61 6e 64 6c 65 20 66 6f 72 20 74 61 |sk handle for ta| 000009d0 73 6b 20 74 6f 20 77 68 69 63 68 20 74 68 65 20 |sk to which the | 000009e0 72 65 74 75 72 6e 20 69 73 20 6d 61 64 65 2e 0a |return is made..| 000009f0 20 20 20 20 20 20 20 20 54 61 73 6b 20 70 61 67 | Task pag| 00000a00 65 64 20 69 6e 2e 0a 0a 20 20 20 20 20 20 20 20 |ed in... | 00000a10 4f 6e 20 45 78 69 74 3a 0a 0a 20 20 20 20 20 20 |On Exit:.. | 00000a20 20 20 54 68 65 20 72 6f 75 74 69 6e 65 20 6d 61 | The routine ma| 00000a30 79 20 6d 6f 64 69 66 79 20 74 68 65 20 72 65 61 |y modify the rea| 00000a40 73 6f 6e 20 63 6f 64 65 20 69 6e 20 72 30 20 61 |son code in r0 a| 00000a50 6e 64 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 |nd the contents | 00000a60 6f 66 20 74 68 65 20 0a 20 20 20 20 20 20 20 20 |of the . | 00000a70 62 75 66 66 65 72 20 70 6f 69 6e 74 65 64 20 74 |buffer pointed t| 00000a80 6f 20 62 79 20 52 31 20 74 6f 20 70 72 6f 76 69 |o by R1 to provi| 00000a90 64 65 20 61 20 6e 65 77 20 65 76 65 6e 74 2e 0a |de a new event..| 00000aa0 0a 20 20 20 20 20 20 20 20 49 74 20 6d 75 73 74 |. It must| 00000ab0 20 70 72 65 73 65 72 76 65 20 52 31 20 61 6e 64 | preserve R1 and| 00000ac0 20 52 32 2e 0a 20 20 20 20 20 20 20 20 20 20 20 | R2.. | 00000ad0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000ae0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0a | .| 00000af0 0a 0a 0a 0a 20 46 69 6c 74 65 72 5f 44 65 52 65 |.... Filter_DeRe| 00000b00 67 69 73 74 65 72 50 72 65 46 69 6c 74 65 72 0a |gisterPreFilter.| 00000b10 0a 20 52 65 6d 6f 76 65 20 61 20 70 72 65 20 66 |. Remove a pre f| 00000b20 69 6c 74 65 72 20 66 72 6f 6d 20 74 68 65 20 6c |ilter from the l| 00000b30 69 73 74 20 6f 66 20 70 72 65 20 66 69 6c 74 65 |ist of pre filte| 00000b40 72 73 2e 0a 0a 20 45 6e 74 72 79 3a 0a 20 20 20 |rs... Entry:. | 00000b50 20 20 20 20 20 52 30 20 2d 20 50 6f 69 6e 74 65 | R0 - Pointe| 00000b60 72 20 74 6f 20 30 20 74 65 72 6d 69 6e 61 74 65 |r to 0 terminate| 00000b70 64 20 66 69 6c 74 65 72 20 6e 61 6d 65 2e 20 0a |d filter name. .| 00000b80 20 20 20 20 20 20 20 20 52 31 20 2d 20 41 64 64 | R1 - Add| 00000b90 72 65 73 73 73 20 6f 66 20 66 69 6c 74 65 72 2e |resss of filter.| 00000ba0 0a 20 20 20 20 20 20 20 20 52 32 20 2d 20 56 61 |. R2 - Va| 00000bb0 6c 75 65 20 74 6f 20 62 65 20 70 61 73 73 65 64 |lue to be passed| 00000bc0 20 69 6e 20 52 31 32 2e 0a 20 20 20 20 20 20 20 | in R12.. | 00000bd0 20 52 33 20 2d 20 54 61 73 6b 20 68 61 6e 64 6c | R3 - Task handl| 00000be0 65 20 6f 66 20 74 61 73 6b 20 74 6f 20 77 68 69 |e of task to whi| 00000bf0 63 68 20 66 69 6c 74 65 72 20 77 61 73 20 61 70 |ch filter was ap| 00000c00 70 6c 69 65 64 2e 0a 0a 20 20 20 20 20 20 20 20 |plied... | 00000c10 41 6c 6c 20 6d 75 73 74 20 62 65 20 74 68 65 20 |All must be the | 00000c20 73 61 6d 65 20 61 73 20 74 68 6f 73 65 20 70 61 |same as those pa| 00000c30 73 73 65 64 20 74 6f 20 52 65 67 69 73 74 65 72 |ssed to Register| 00000c40 50 72 65 46 69 6c 74 65 72 0a 20 45 78 69 74 3a |PreFilter. Exit:| 00000c50 0a 20 20 20 20 20 20 20 20 52 65 67 69 73 74 65 |. Registe| 00000c60 72 73 20 70 72 65 73 65 72 76 65 64 2e 0a 20 20 |rs preserved.. | 00000c70 20 20 20 20 20 20 46 69 6c 74 65 72 20 64 65 2d | Filter de-| 00000c80 72 65 67 69 73 74 65 72 65 64 2e 0a 0a 0a 20 46 |registered.... F| 00000c90 69 6c 74 65 72 5f 44 65 52 65 67 69 73 74 65 72 |ilter_DeRegister| 00000ca0 50 6f 73 74 46 69 6c 74 65 72 0a 0a 20 52 65 6d |PostFilter.. Rem| 00000cb0 6f 76 65 20 61 20 70 72 65 20 66 69 6c 74 65 72 |ove a pre filter| 00000cc0 20 66 72 6f 6d 20 74 68 65 20 6c 69 73 74 20 6f | from the list o| 00000cd0 66 20 70 72 65 20 66 69 6c 74 65 72 73 2e 0a 0a |f pre filters...| 00000ce0 20 45 6e 74 72 79 3a 0a 20 20 20 20 20 20 20 20 | Entry:. | 00000cf0 52 30 20 2d 20 50 6f 69 6e 74 65 72 20 74 6f 20 |R0 - Pointer to | 00000d00 30 20 74 65 72 6d 69 6e 61 74 65 64 20 66 69 6c |0 terminated fil| 00000d10 74 65 72 20 6e 61 6d 65 2e 20 0a 20 20 20 20 20 |ter name. . | 00000d20 20 20 20 52 31 20 2d 20 41 64 64 72 65 73 73 73 | R1 - Addresss| 00000d30 20 6f 66 20 66 69 6c 74 65 72 2e 0a 20 20 20 20 | of filter.. | 00000d40 20 20 20 20 52 32 20 2d 20 56 61 6c 75 65 20 74 | R2 - Value t| 00000d50 6f 20 62 65 20 70 61 73 73 65 64 20 69 6e 20 52 |o be passed in R| 00000d60 31 32 2e 0a 20 20 20 20 20 20 20 20 52 33 20 2d |12.. R3 -| 00000d70 20 54 61 73 6b 20 68 61 6e 64 6c 65 20 6f 66 20 | Task handle of | 00000d80 74 61 73 6b 20 74 6f 20 77 68 69 63 68 20 66 69 |task to which fi| 00000d90 6c 74 65 72 20 77 61 73 20 61 70 70 6c 69 65 64 |lter was applied| 00000da0 2e 0a 0a 20 20 20 20 20 20 20 20 41 6c 6c 20 6d |... All m| 00000db0 75 73 74 20 62 65 20 74 68 65 20 73 61 6d 65 20 |ust be the same | 00000dc0 61 73 20 74 68 6f 73 65 20 70 61 73 73 65 64 20 |as those passed | 00000dd0 74 6f 20 52 65 67 69 73 74 65 72 50 72 65 46 69 |to RegisterPreFi| 00000de0 6c 74 65 72 0a 20 45 78 69 74 3a 0a 20 20 20 20 |lter. Exit:. | 00000df0 20 20 20 20 52 65 67 69 73 74 65 72 73 20 70 72 | Registers pr| 00000e00 65 73 65 72 76 65 64 2e 0a 20 20 20 20 20 20 20 |eserved.. | 00000e10 20 46 69 6c 74 65 72 20 64 65 2d 72 65 67 69 73 | Filter de-regis| 00000e20 74 65 72 65 64 2e 0a 0a 20 20 0a 20 20 0a |tered... . .| 00000e2e