        SUBT    System wide declarations => &.Hdr.System

OldOpt  SETA    {OPT}
        OPT     OptNoList+OptNoP1List

; ***********************************
; ***    C h a n g e   L i s t    ***
; ***********************************

; Date       Name  Description
; ----       ----  -----------
; 29-Sep-87  NReeves Added FileCore SWI chunk
; 06-Oct-87  APT   Allocated CMOS byte bits to ROMFS
; 07-Oct-87  NReeves added WinnieSizeCMOS
; 20-Oct-87  BC    Added 'Event_Econet_Rx' (14), '_Tx' (15), and _OSProc (16)
; 27-Oct-87  APT   ReadArgs SWI
; 03-Nov-87  SKS   Added ROMCache Application SWI chunk
; 04-Nov-87  PMF   Added SmallTalk Applicn SWI chunk
; 04-Nov-87  APT   ReadRAMFsLimits SWI
; 12-Nov-87  PMF   Added One extra CMOS byte to termulator (3 now, was 2)
; 16-Nov-87  APT   Device_Vector claim and release SWIs
; 03-Dec-87  NDR   Added VersionSWI swi chunk
; 10-Dec-87  BC    Put in the ProtectionCMOS
; 16-Dec-87  BC    Added MyoLink swi chunk
; 16-Dec-87  APT   ExitAndDie SWI added
; 15-Jan-88  APT   Delink/Relink_Application and HeapSort SWIs added,
;                  ExitAndDie moved.
; 15-Jan-88  TMD   Added MouseStepCMOS
; 21-Jan-88  APT   Memory mapping SWIs added
; 26-Jan-88  SKS   Added FFTSWI and SoundSamplerSWI chunks
; 27-Jan-88  BC    Another SWI chunk allocated to Resource
; 08-Feb-88  SKS   Added FontAidPrintSWI chunk
; 09-Feb-88  SKS   Added AlliedInteractive SWI chunk,CMOS
; 11-Feb-88  SKS   Added Euclid3DSWI chunk
; 17-Feb-88  APT   Added SharedLibrary SWI
; 22-Feb-88  TMD   Added SystemSpeedCMOS
; 24-Feb-88  APT   Removed _ from SWI names
; 24-Feb-88  SKS   Added 256colourhandler SWI chunk
; 03-Mar-88  NDR   Added WimpModeCMOS (&C4)
; 07-Mar-88  APT   OS_ReadDefaultHandler
; 09-Mar-88  SKS   Added CConcepts SWI chunks
; 09-Mar-88  TMD   Added OS_SetVduVariables
; 10-Mar-88  TMD   Removed OS_SetVduVariables
; 11-Mar-88  TMD   Added IIC SWI chunk
; 12-Mar-88  NDR   Added WimpFlagsCMOS
; 15-Mar-88  APT   Added Shell SWI chunk
; 18-Mar-88  APT   Added Intelligent Interfaces SWI chunks
; 18-Mar-88  NDR   Inserted AddCallBack before ReadDefaultHandler
; 21-Mar-88  TMD   Added more monitor types
; 21-Mar-88  TMD   Added SWI OS_SetECFOrigin
; 23-Mar-88  APT   Moved Intelligent Interfaces SWI chunks
; 05-Apr-88  APT   Added DrawV
; 08-Apr-88  SKS   Added HourglassSWI chunk
; 08-Apr-88  BC    Added EconetV for progress reporting
; 08-Apr-88  TMD   Added OS_SerialOp
; 11-Apr-88  SKS   Added AMSFinesseSWI
; 12-Apr-88  DJS   Added DrawSWI
; 21-Apr-88  SKS   Added SibeliusSWI
;  4-May-88  SKS   Added FaxPack SWI
; 16-May-88  APT   Added OS_ReadSysInfo SWI
; 18-May-88  APT   Removed pre-1.20 changes.
; 18-May-88  SKS   Added CED SWI
; 19-May-88  APT   SWI OS_Confirm
; 23-May-88  TMD   Added SWI OS_ClipBox
; 26-May-88  SKS   Added DesktopCMOS byte
; 31-May-88  TMD   Changed SWI OS_ClipBox to SWI OS_ChangedBox
; 01-Jun-88  SKS   Added r13_usr, r14_usr
; 01-Jun-88  NReeves Added ADFSDirCacheCMOS
; 01-Jun-88  SKS   Added Servo SWI chunk
; 04-Jun-88  SKS   Added FileSize conversion SWIs, CRC SWI
; 09-Jun-88  NDR   Added CopyOptionsCMOS,WipeOptionCMOS,CountOptionsCMOS
; 10-Jun-88  APT   Added colour translation SWI chunk
; 13-Jun-88  APT   Added TaskModuleSWI
; 08-Jul-88  NReeves Added RamFS SWI chunk
; 08-Jul-88  SKS   Added MaxLengthDates
; 12-Jul-88  SKS   Added HindiWP SWI chunk
; 19-Jul-88  APT   Added OS_ReadDynamicArea
; 20-Jul-88  APT   Added more vectors
; 26-Jul-88  SKS   Added AutoCue SWI chunk
; 27-Jul-88  SKS   Added UnixBootCMOS
; 28-Jul-88  TMD   Added SWI OS_PrintChar
; 29-Jul-88  SKS   Added another bit in DesktopCMOS
; 01-Aug-88  SKS   Added another two bits in DesktopCMOS
; 03-Aug-88  SKS   Added UnixFS SWI chunk
; 17-Aug-88  TMD   Changed comment on MaxLengthDate
; 30-Aug-88  SKS   Added Realtime Graphics Language SWI chunk
; 06-Sep-88  SKS   Added Cadsoft SWI chunks
; 15-Sep-88  SKS   Added DigiTape SWI chunk
; 19-Sep-88  TMD   Added Resource and Wild Vision SWI chunks
; 06-Oct-88  TMD   Updated changes list to reflect above!
; 17-Oct-88  SKS   Checked IEEE488 SWI for II
; 24-Oct-88  SKS   Added Pluto SWI chunk
; 25-Oct-88  SKS   Added VEL SWI chunk
; 31-Oct-88  SKS   Moved II SWIs as someone had typed them wrong when sending
; 03-Nov-88  SKS   Added BNI SWI chunk
; 04-Nov-88  SKS   Added BrainSoft SWI chunks
; 09-Nov-88  SKS   Added WV frame grabber SWI chunk, checked TMDs alloc.
; 10-Nov-88 NRaine Removed Copy/Count/WipeOptionsCMOS
; 10-Nov-88 NRaine Added FontMaxCMOS
; 11-Nov-88  SKS   Checked VDIG SWI + added its name
; 17-Nov-88 NRaine Added FontMax1/2/3/4/5CMOS
; 21-Nov-88 NRaine Added FontMax6/7CMOS
; 21-Nov-88  SKS   Added PlutArchCMOS
; 01-Dec-88  APT   Added PMF's ABC shared library SWI chunk
; 05-Dec-88  SKS   Added Aardvark XAsm SWI chunk
; 07-Dec-88  SKS   Added another BNI SWI chunk
; 10-Jan-89  BC    Added a SWI chunk for Beebug's ISO C compiler system module
; 23-Jan-89  BC    Added a SWI chunk for John Ballance Computing's SCSI podule
; 23-Jan-89  BC    Added a SWI chunk for Simtron's Archway module
; 23-Jan-89  BC    Separated CMOS RAM allocations into Hdr.CMOS
; 25-Jan-89 NReeves added SWI chunk for SCSIFS
; 20-Feb-89  BC    Added a SWI chunk for Si-Plan Electronics Research
; 20-Feb-89  BC    Added a SWI chunk for Irlam Enterprise Limited
; 22-Feb-89  JRS   Added an Event number for MIDI
; 24-Feb-89  BC    Added a SWI chunk for Science frontiers
; 01-Mar-89  BC    Added a SWI chunk for Paul Fray Limited (ARACHNID)
; 09-Mar-89  BC    Added a SWI chunk for Mike Harrison, WatfordScannerSWI
; 13-Mar-89  BC    Added a SWI chunk for Teletext application
; 17-Mar-89  BC    Added a SWI chunk for Pineapple Software's digitiser
; 20-Mar-89  BC    Added a SWI chunk for Jamie Smith's MultiFS
; 29-Mar-89  BC    Added a SWI chunk for Graham Bartram's ACModem
; 05-Apr-89  BC    Added six SWI chunks for Graham Bartram's ACModem etc.
; 06-Apr-89  TMD   Corrected name "IO_Podule" to "I/O_Podule"
; 28-Apr-89  BC    Added a SWI chunk for Software Solutions (FreeStyle)
; 03-May-89  BC    Added a SWI chunk for X-Ample Technology (Video)
; 04-May-89  BC    Added a SWI chunk for Solent Computer products (APCLib)
; 04-May-89  BC    Added a SWI chunk for the SuperSample module
; 12-May-89  BC    Added a SWI chunk for Haukeland Sykehus
; 17-May-89  BC    Added five SWI chunks for Wild Vision
; 05-Jun-89  BC    Added Computer Concepts SuperMonochrome SWI
; 05-Jun-89  BC    Added Computer Concepts PaintingMessages SWI
; 09-Jun-89  BC    Added WimpManagerSWI for Software Solutions
; 13-Jun-89  BC    Changed names of both Acorn's SCSI SWIs to "SCSI"
; 19-Jun-89  JSR   Added FilerSWI chunk
; 23-Jun-89  BC    Added CTSRecognitionSWI 40FC0 "Tablet"
; 23-Jun-89  BC    Added AtomwidePALProgramerSWI 80E80
; 23-Jun-89  BC    Added AtomwideI2CSWI 80EC0
; 23-Jun-89  BC    Added SerialPortFDCSWI 41000 "FDC"
; 30-Jun-89  JS    Added ASimAReviewSWI 80F00
; 30-Jun-89  JS    Added BeebugScannerSWI 41040
; 04-Jul-89  RCM   Added SCSILogSWI 41080
; 04-Aug-89  JSR   Added NFSSWI
; 08-Aug-89  BC    Added VCRSWI 41100 "VCR" for Brighton Polytechnic
; 15-Aug-89  BC    Added PRESDFSSWI 41140 "DFS" for PRES
; 15-Aug-89  BC    Added BatchProcessSWI 80F40 "Batch" for Brian N. Butterworth (shareware)
; 25-Aug-89  BC    Added LispSWI 80F80 "Lisp" for Michael Houlder
; 25-Aug-89  BC    Added AdaptSWI 80FC0 "Adapt" for Michael Houlder
; 25-Aug-89  TMD   Added name for FilerSWI chunk
; 31-Aug-89  BC    Added CCSupportSWI 81000 "Abbreviation" for Computer Concepts
; 31-Aug-89  BC    Added AceComputingWimpSWI 41180 "Task" for Ace Computing
; 07-Sep-89 NRaine Added DaylightSoftwareSWI 81040 for Daylight Software
; 07-Sep-89  BC    Added WaterMazeSWI 411C0 "WaterMaze" for Edinburgh University
; 07-Sep-89  TMD   Corrected address of Latch A (used to say 03600000!)
; 18-Sep-89  NDR   Added OS_ChangeRedirection
; 20-Sep-89  KSR   Added SWI chunk for Internet socket i/face
; 02-Oct-89  BC    Added CDROMSWI 41240 for Next Technology
; 03-Oct-89  BC    Added CImagesSWI 41280 for Foster Findlay Associates
; 05-Oct-89  BC    Added SIDSWI 412C0 "DataHost" for Acorn's SupportInformationDatabase
; 09-Oct-89  BC    Added ARM3CacheSWI 000280 for Acorn and Aleph One
; 09-Oct-89  BC    Added SGBDevelopmentSWI 41300 for SGB Computer Services
; 09-Oct-89  BC    Added SnippetSWI 81080 for 4Mation Educational Resources
; 09-Oct-89  BC    Added four SWIS for Soft Option 41340..41400
; 09-Oct-89  BC    Changed "Abbreviatons" to "Hyphenator" on SWI 81000
; 09-Oct-89  BC    Added CCLFilingSystemSWI 41440 for Computer Concepts
; 09-Oct-89  BC    Added CCPCFilingSystemSWI 41480 for Computer Concepts
; 12-Oct-89  TMD   Added OS_RemoveCallBack
; 01-Nov-89  BC    Added PhoboxConnectSWI 414C0 for Phobox Electronics
; 02-Nov-89  NDR   Added MessageTrans SWI chunk
; 10-Nov-89  BC    Added AmigaDiscOpsSWI 41540 for Jamie Smith (MultiFS)
; 20-Nov-89  RM    Added SerialPortSWI 41580 for serial protocol module.
; 20-Nov-89  RM    Added TelnetSWI     415c0 for telnet protocol module.
; 24-Nov-89  BC    Added 5 SWI chunks for Allied Interactive.
; 01-Dec-89  TMD   Added SWI OS_FindMemMapEntries
; 05-Dec-89  BC    Added CCUnknownModule01SWI 41740 for Computer Concepts;
; 05-Dec-89  BC    Added AngliaTVSWI 41780
; 05-Dec-89  BC    Added TechnomaticScannerSWI 417C0 for Technomatic Limited
; 05-Dec-89  BC    Added two SWIs 41800, 41840 for Foster Findlay Associates
; 05-Dec-89  BC    Added DeltronicsSWI  41880
; 05-Jan-90  WS    Added CCLaserSWI 418C0
; 05-Jan-90  WS    Added BeebugQuadrantSWI 41900
; 05-Jan-90  WS    Added RCCSWI 41940
; 05-Jan-90  WS    Changed the use of 41040, as instructed by Beebug.
; 10-Jan-90  KSR   Added FTPSWI     41980 for FTP protocol module.
; 10-Jan-90  KSR   Added TFTPSWI    419c0 for TFTP protocol module.
; 12-Jan-90  WS    Changed KSR's datestamps in two lines above from 89 to 90 (tee hee!)
; 12-Jan-90  WS    Added recent info about CCUnknownModule01SWI 41740.
; 26-Jan-90  BC    Added FilmMakerSWI 810C0 for Silicon Vision
; 26-Jan-90  BC    Added DavidPillingSWI 81100 (messages)
; 26-Jan-90  BC    Added BeebugDTPSWI 41A00 Beebug Limited
; 26-Jan-90  BC    Added PandoraAIMSWI 41A40 for Pandora Technology Limited
; 29-Jan-90  BC    Added Event_BeebugHayesModem, 18
; 29-Jan-90  BC    Added MinervaBackupSWI 41A80 for Minerva
; 29-Jan-90  BC    Added MSDOSFSSWI 41AC0 for public use by MultiFS, Minerva, etc.
; 31-Jan-90  BC    Added SteveFurberSWI 81140 for Steve Furber's messages
; 01-Feb-90  KSR   Added Event_Internet
; 06-Feb-90  BC    Added two swis for Clares 81180, 811C0
; 07-Feb-90  GJS   Added PDumper SWI 41B00 chunk
; 15-Feb-90  GJS   Added SWI chunk for WIMP messages for !Schema, 81200
; 19-Feb-90  NDR   Added SWI chunk for new DeskFS module
; 20-Feb-90  BC    Added SWI chunk SJNexusFSSWI 41B80 for SJ Research
; 22-Feb-90  NDR   Changed DeskFS chunk name to ResourceFS
; 26-Feb-90  BC    Added SWI chunk DigithurstMicroEyeSWI 41BC0 for Digithurst Limited
; 26-Feb-90  BC    Added SWI chunk LeComputerSWI 41C00 for Le Computer
; 02-Mar-90  BC    Added SWI chunk AcornHLLDebuggerSWI 41D40
; 15-Mar-90  BC    Added SWI chunk WildVisionCentronicsSWI 41D80
; 15-Mar-90  BC    Added SWI chunk CCScannerSWI 41DC0 for Computer Concepts
; 17-Mar-90  GJS   Added SWI chunk KeyHandler 41E00 for own keyboard handling module
; 21-Mar-90  BC    Fixed mistake in SWI allocation (&41C00 .. &41D40)
; 26-Mar-90  BC    Added SWI chunk USARCLibraryManagerSWI &81240 for USARC Software Ontwikkeling
; 11-Apr-90  BC    Added two SWI chunks for Teque (&41C40, &41C80)
; 11-Apr-90  BC    Added SWI chunk for Control Computer Consultants "PPM" (&41CC0)
; 25-Apr-90  BC    Added SWI chunk for Rand Services "LP" (&41D00)
; 25-Apr-90  BC    Added SWI chunk for ResourceUISWI "RUI" (&41E40)
; 27-Apr-90  BC    Added SWI chunk for CDROMFSSWI "CDFS" (&41E80) Next Technology
; 02-May-90  BC    Added SWI chunk CCCompressionSWI 41EC0 for Computer Concepts
; 18-May-90  BC    Added SWI chunk CCSharedMemorySWI 41F00 for Computer Concepts
; 25-May-90  GJS   Added SWI chunk DBox 41F40 for DBox handler module
; 06-Jun-90  BC    Added SWI chunk for SnapShot messages &81280 for Lindis
; 06-Jun-90  BC    Added all the Co_processor allocations
; 12-Jun-90  BC    Added SWI chunk for AlternateSCSISWI &41F80 for John Balance
; 12-Jun-90  BC    Added SWI chunk for IDEFSSWI &41FC0 for Stefan Frhling
; 14-Jun-90  BC    Added four SWI chunks for ElectroMusic Research 42000, 812C0..81340
; 19-Jun-90  BC    Added six SWI chunks for Intelligent Interfaces &42040..&42080
; 25-Jun-90  BC    Added two SWI chunks for David Miller &420C0, &42100
; 06-Jul-90  NDR   Added OS_ReadDefaultVector
; 11-Jul-90  BC    Added SpacetechOrrerySWI &81380
; 11-Jul-90  BC    Added two SWI chunks for Acorn DDE &813C0, &81400
; 17-Jul-90  BC    Added seven SWI chunks for Brainsoft &42140..&422C0
; 17-Jul-90  BC    Added SWI chunk ArchwayCSWI &81440 for Simtron
; 23-Jul-90  JRC   Added SWI chunk for Territory module
; 24-Jul-90  BC    Added SWI chunk AietosRobotSWI &81480 for Aietos
; 24-Jul-90  BC    Added two SWI chunks for Les Want &814C0, &81500
; 26-Jul-90  BC    Create new constants Auto_Error_SWI_bit_number and Flag_bit_numbers
; 06-Aug-90  BC    Added SWI chunk DTSoftwareSpeechSWI &42300 for David Knell
; 06-Aug-90  BC    Added two SWI chunks for Hugo Fiennes, The Serial port &81540, &81580
; 15-Aug-90  JB    Added SWI chunk VisionSixSWI &815C0 for Neil Smith
; 23-Aug-90  BC    Added SWI chunk ROMBOVideoDigitiserSWI &42340 for Brian Calder
; 30-Aug-90  BC    Added SWI chunk ConceptKeyboardSWI &81600
; 03-Sep-90  BC    Added SWI chunk ClaresIllusionistSWI &81640
; 13-Sep-90  BC    Added SWI chunk SoftWareInterruptSWI &81680 for Simon Huntington
; 17-Sep-90  RM    Added SWI chunk  &423C0 for pointer utilities module.
; 21-Sep-90  BC    Added SWI chunk for Westlands &816C0
; 21-Sep-90  JSR   Added SWI chunk for DragASprite
; 21-Sep-90  BC    Changed the values of four SWI allocations IISTEBusSPERSWI, IISTEBusSEPSWI, VCMNetSWI, & VCMNetFSSWI 
; 25-Sep-90  RM    Added SWI chunk for Jonathan Allin's Music module
; 19-Oct-90  BC    Added SWI chunk for Armadillo's Decompression
; 19-Oct-90  BC    Added SWI chunk for ESP's Desktop Composer
; 24-Oct-90  BC    Added SWI chunk for PEP Associates Speech
; 24-Oct-90  BC    Added SWI chunk for Computer Concepts PostScript
; 25-Oct-90  BC    Added SWI chunk for Emerald Publishing's Ideograph (messages)
; 13-Nov-90  BC    Added SWI chunk for Acorn DDE &42580
; 13-Nov-90  BC    Added SWI chunk for Armadillo Digital Storage Oscilloscope &81840 Adam Waynne
; 14-Nov-90  BC    Added SWI chunk for EMR's WFSUtils &425C0 Mike Beecher / MWhite
; 15-Nov-90  BC    Added SWI chunk for DRComputers/Simis The Missing Link &42600
; 15-Nov-90  BC    Added Event_Fax for Computer Concepts Fax/Data modem &14
; 19-Nov-90  RM    Added SWI chunk for FilterManager module.
; 19-Nov-90  RM    Added SWI chunk for TaskManager (Switcher) module.
; 19-Nov-90  RM    Added SWI chunk for SaveAS module. 
; 06-Dec-90  DDV   Added SWI chunk for Buffer manager module.
; 06-Dec-90  DDV   Added SWI chunk for Parallel device driver module.
; 06-Dec-90  DDV   Added SWI chunk for Serial device driver module.
; 14-Dec-90  BC    Added SWI chunk for Acorn's LZW Compression module
; 18-Dec-90  DDV   Added SWI chunk for Device manager module.
; 18-Dec-90  BC    Added SWI chunk for MeadowComputers
; 20-Dec-90  BC    Added SWI chunk for Irlam's JPEG Compression module
; 21-Dec-90  BC    Added SWI chunk for Eastmond's Error De-fataliser
; 11-Jan-91  JAB   Added SWI chunk for Beebugs colour canner (&42800)
; 14-Jan-91  DDV   Changed Device Manager prefix to DeviceFS.
; 14-Jan-91  JAB   Added SWI chunk for Simis Acorn Frame Buffer, AFB (&42880) 
; 15-Jan-91  JAB   Added SWI Chunk for CC Impulse module (&428C0)
; 15-Jan-91  JAB   Added SWI chunk for CC Fax Manager module (&81900)
; 15-Jan-91  JAB   Added SWI chunk for CC Huffman Compression module (&81940)
; 16-Jan-91  JAB   Added SWI chunk for CIS PIPP for messages (&81980)
; 18-Jan-91  DDV   Added SWI chunk for Colour Selector module.
; 19-Jan-91  DDV   Removed serial / parallel device SWI chunks and moved buffer
;                  manager ones.
; 24-Jan-91  JAB   Added SWI chunk for NCET Concept Utils modules (&42980)
; 24-Jan-91  BC    Added rogue value of SWI for CSD (&88000)
; 28-Jan-91  JAB   Added SWI Chunk for Clares (&81FC0)
; 29-Jan-91  JAB   Added SWI chunk for CSD (&429C0)
; 29-Jan-91  JAB   Added SWI Chunk for CSD (&42A00)
; 29-Jan-91  JAB   Added SWI chunk for IOTA (&81A00)
; 30-Jan-91  JAB   Added SWI chunk for PC Arnold (&42A40)
; 04-Feb-91  JAB   Added Message Chunk for Digital Services (&81A40)
; 12-Feb-91  JAB   Added SWI chunk for Commotion (&42A80)
; 15-Feb-91  JAB   Added SWI chunk for Oak (&42AC0)
; 19-Feb-91  BC    Added SWI chunk for 4Mation (&81A80)
; 19-Feb-91  BC    Added Event_NexusFS
; 19-Feb-91  BC    Added SWI chunk for SJ Research (&42B00)
; 19-Feb-91  BC    Added SWI chunk for Software Connections (&42B40)
; 19-Feb-91  JAB   Added SWI chunk for Superior (&42B80)
; 19-Feb-91  JAB   Added SWI chunk for M.J. Broadbent (&42BC0)
; 19-Feb-91  BC    Added SWI chunk for Sherlock Rehab Data (&42C00)
; 26-Feb-91  JAB   Added SWI chunk for Martin Coulson, Atomwide (&42C40)
; 27-Feb-91  DDV   Added SerialV.
; 01-Mar-91  DDV   Added Event_BufferPassedThreshold.
; 04-Mar-91  DDV   Above changed to an UpCall.
; 11-Mar-91  ECN   Added SWI chunk for internationalisation support
; 12-Mar-91  JAB   Added SWI chunk for GSN &42D00, "GSN"
; 13-Mar-91  JAB   Added SWI chunk for NCET &42C40 ,"Prism"
; 13-Mar-91  JAB   Added SWI chunk for NCET &42C80, "Contact"
; 14-Mar-91  JAB   Added SWI chunk for Alpine &42CC0, "ExS"
; 21-Mar-91  JAB   Made the allocation of &81600 to be for Mikrodaisy
; 27-Mar-91  JAB   Added SWI Chunk for DT Software, &42E40 "PCConnect
; 28-Mar-91  JAB   Changed SWI chunk &00081A80 to be called "4MationRM"
; 28-Mar-91  JAB   Added SWI chunk for 4Mation, &00081AC0 "Contour"
; 28-Mar-91  JAB   Added SWI chunk for 4Mation, &00042E80 "VideoFX"
; 28-Mar-91  JAB   Changed Alpine SWI chunk back to what it should be &42CC0
;                  and the message extend SWI chunk is at &42DC0
; 28-Mar-91  JAB   Allocated Message Block &81B00 "DataKing" on behalf of Stuart Payne
; 02-Apr-91  DDV   Added SWI chunk for parallel device driver.
; 09-Apr-91  BC    Added a message block for Mike Logan of Base5  &81B40
; 10-Apr-91  BC    Added a SWI chunk for Watford's IDEFS &42F00
; 12-Apr-91  DDV   Added Event_DeviceOverRun (for DeviceFS)
; 16-Apr-91  JAB   Added SWI Chunk for Oak "GS_Support", &42F40
; 24-Apr-91  JAB   Added Message block for Oak "Draw_PrintDiag", &81B80
; 24-Apr-91  JAB   Added SWI Chunk for Iota "TouchType", &42F80
; 25-Apr-91  JAB   Added Message block for myself, "Query", &81BC0
; 25-Apr-91  TMD   Added SWI chunk "Portable", &42FC0
; 26-Apr-91  BC    Added a SWI chunk for Rob Schrauw (schrauw@math.ruu.nl) &43000
; 26-Apr-91  DDV   Changed usage of the serial device SWIs.
; 08-May-91  RM    Moved territory SWI to extension modules where it belongs.
; 08-May-91  JAB   Allocated 2 SWI chunks for the Serial Port
;                     "EcoSampler" &43080 and "GameNet" &431C0
; 16-May-91  JAB   Allocated TrackerModuleSWI &43200 for Customer Services
; 16-May-91  JAB   Allocated MenuBuildingSWI  &43240 for Customer Services
; 24-May-91  JAB   Allocated ShertonHighlighter message block &81C00 "Highlight"
; 29-May-91  RM    Allocated UsageSWI for usage filter.
; 02-May-91  DDV   Added PathUtilitySWIs.
; 06-Jun-91  JAB   Allocated ABI SWI for Computer Concepts &43300 "ABI"
; 12-Jun-91  JAB   Alloacted SWI chunk for Customer services &43340 "ElektroSampler"
; 20-Jun-91  ECN   Added SWI chunk "TaskWindow" &43380
; 21-Jun-91  DDV   Added SWI chunk for screen blanker module - now obsolete!
; 28-Jun-91  DDV   Allocate SWI for file printing module.
; 01-Jul-91  BC    Allocate PostScriptPrologue SWI chunk &43400
; 01-Jul-91  DDV   Allocated one for TWindow.
; 03-Jul-91  BC    Repaired dammage in SWI list
; 09-Jul-91  PJC   Changed the Acorn LZW prefix to Squash
; 10-Jul-91  SAH   Added MakePSFont SWI chunk
; 10-Jul-91  BC    Added HCCSVideoDigitiserSWI
; 15-Jul-91  JAB   Added QuerySupportSWI &434C0
; 18-Jul-91  JAB   Added ArcDFSSWI for Dabs Press &43500 "ArcDFS"
; 23-Jul-91  JAB   Added SWI chunk for Ace &43540 "TIFF"
; 23-Jul-91  JAB   Added SWI chunk for Ace &43580 "Bezier"
; 26-Jul-91  JAB   Added SWI chunk for Watford &435C0 "PrismRT"
; 29-Jul-91  AMG   Added two for Acorn H/W test, &81D00 "AcornHWTest", &81D40 "AcornHWTestSuite"
; 02-Aug-91  JAB   Added 5 SWI chunks for DT Software &43600 "PCCFS"
;                                                     &43640 "PCCFSFiler"
;                                                     &43680 "ScanPort"
;                                                     &436C0 "FPAccel"
;                                                     &43700 "CanonIon"
; 02-Aug-91  JAB  Added SWI chunk for ARM Interfaces &43740 "Link"
; 05-Aug-91  JAB  Added SWI chunk for Watford &43780 "ScanMan"
; 05-Aug-91  JAB  Added Message Block for Watford &81D80
; 05-Aug-91  JAB  Added Event_WatfordScanner(22) for Chris Honey of Watford
; 07-Aug-91  JAB  Added SWI chunk for customer services &437C0
; 07-Aug-91  JAB  Added SWI chunk for customer services &43800
; 12-Aug-91  JAB  Added two SWI chunks for Hybrid    &43840 "AccessLink"
;                                                    &43880 "ArcRecorder"
; 13-Aug-91  JAB  Added two SWI chunks for Irlam &438C0 "Fim"
;                                                &43900 "Mim"
; 13-Aug-91  DDV  Defined 'LipService' SWI chunk (messages) for David De Vorchik (Acorn)
; 15-Aug-91  AMG  Added SWI chunk for Michael Rozdoba (via Cus. Svc., ref 3592) &43940 "Graph3D"
; 15-Aug-91  AMG  Added SWI chunk for Martin Dorey (via Cus. Svc., ref 3619) &43980 "RAMJetFS"
; 19-Aug-91  JAB  Added SWI chunk for Kline Computers &81DC0
; 19-Aug-91  DDV  Allocated SoundManager SWIs 
; 27-Aug-91  JAB  Added SWI chunk for Atomwide &439C0 "EtherA"
; 28-Aug-91  JAB  Added three swi chunks for Hybrid &43A00, &43A40, &43A80
; 01-Sep-91  JAB  Added SWI chunk for Beebug &43AC0 "Hearsay"
; 02-Sep-91  JAB  Added Message chunk for Longman Logotron &81E00
; 06-Sep-91  JAB  Added SWI chunk for 4Mation &43B00 "Dialogue"
; 12-Sep-91  DDV  Added ColourUtils SWI chunk.
; 13-Sep-91  AMG  Changed RAMJetFS to RAMJtFS at author's request (&43980)
; 16-Sep-91  JAB  Changed Ace SWI Chunk from 'Bezier' to 'Einstein' (&43580)
; 17-Sep-91  JAB  Added SWI chunk for Xavier &43B80 "ES"
; 17-Sep-91  JAB  Added SWI chunk for Robbie Steele &43BC0 "TextWindow" FOR CS
; 19-Sep-91  JAB  Added SWI chunk for 4Mation &81E40 "Vector"
; 23-Sep-91  JAB  Added message block for DataStore &81E80 "IManual"
; 25-Sep-91  JAB  Added SWI chunk for Nick Smith &43C00 "Universal"
; 25-Sep-91  PJC  Added SWI chunks for Keith Ruttle &43C40 "Ether" and &43C80 "Ether2"
;                 Added Event_TP_Rx and Event_TP_Tx for KR.
; 02-Oct-91  BC   Added SWI Chunks and Events for MultiNetworkSystem
; 08-Oct-91  JAB  Added SWI chunk for Iota Scanner module &43D80 "IotaScan"
; 14-Oct-91  JAB  Added Message Block for Iota &81EC0 "IotaSound"
; 17-Oct-91  JAB  Added SWI chunk for Krysalis &43DC0 "Gkm"
; 24-Oct-91  JAB  Added SWI chunk for Intelligent Interfaces "IISerial" &43E00
; 25-Oct-91  ECN  Added SWI chunk for profiler
; 27-Oct-91  DDV  Added SWI chunk for Rob Hamiltons Eagle control software 
; 29-Oct-91  JAB  Added SWI chunk for Dudley LEA "Videotex" &43E80
; 04-Nov-91  DDV  Added SWI chunk for !Printers
; 07-Nov-91  JAB  Added SWI chunk for Mr Olleson (CS 4648) &43EC0
; 11-Nov-91  JAB  Added SWI chunk for Andy Ray (CS 4792) &43F00
; 14-Nov-91  SMC  Added Joystick SWI chunk
; 18-Nov-91  JAB  Added ScreenPrint SWI chunck &43F80
; 25-Nov-91  JAB  Added SWI chunk for NCET &43FC0
; 25-Nov-91  JAB  Added SWI chunk &44000 "ManFS"
; 25-Nov-91  JAB  Added SWI chunk &44040 "ManLZW"
; 26-Nov-91  JAB  Added SWI chunk for Really Good Software &44080 "Twilight"
; 26-Nov-91  JAB  Added SWI chunk for Really Good Software &440C0 "Arcoustic"
; 27-Nov-91  JAB  Added Message block for Pen & Think &81F80
; 29-Nov-91  DDV  Added DizzysPathSWIs for my own use.
; 06-Dec-91  CDP  Added Event_PortableBMU.
; 11-Dec-91  SAH  Added ScreenBlankerSWI.
; 17-Dec-91  BC   Found discrepancies in SWI allocations since 195 (08-May-91)
; 17-Dec-91  BC   Fixed by adding four new allocations, and adjusting every
; 17-Dec-91  BC   comment.  Note that exported symbols have all changed.
; 17-Dec-91  BC   Voided SWIs &43B40, &43400
; 17-Dec-91  BC   Allocated SWI chunk &430C0 to David De Vorchik (not Acorn)
; 17-Dec-91  BC   Moved the ScreenBlankerSWI to &43100
; 19-Dec-91  BC   Changed all SWI chunk allocation to use a MACRO
; 20-Dec-91  JAB  Added SWI Chunk for Acorn Melbourne "Interaction" &44100
; 03-Jan-92  JAB  Added SWI chunk for Kairos "Key" &44140
; 08-Jan-92  DDV  Added another chunk for TouchWindow "TWindow" &43140
; 09-Jan-92  DDV  Added OS_SetColour
; 10-Jan-92  JAB  Added SWI chunk for 4Mation "Fountain" &44180
; 10-Jan-92  JAB  Added SWI chunk for 4Mation "Noot" &441C0
; 14-Jan-92  JAB  Added SWI chunk for CadSoft &44200
; 14-Jan-92  JAB  Added Message block for CadSoft &81FC0
; 15-Jan-92  JAB  Added Message block for Longman Logotron &82000
; 20-Jan-92  JAB  Added SWI Chunk for EMR "Sample" &44240
; 21-Jan-92  JAB  Added SWI Chunk for Midnight Graphics &44280
; 22-Jan-92  JAB  Added SWI Chunk for David Miller (CS 5519) &442C0
; 23-Jan-92  TMD  Removed OS_ReadDefaultVector (it wasn't ever implemented!)
; 23-Jan-92  DDV  Added FontV.
; 28-Jan-92  AMG  Added SWI chunk for VProtect/messages for !Killer &44300
; 30-Jan-92  JAB  Added SWI chunk for Lee Calcraft "LeeTools" &44340
; 30-Jan-92  JAB  Added Message block for Lee Calcraft "DeskEdit" &82040
; 04-Feb-92  JAB  Added SWI chunk for Philip Banks "DataVox" &44380 (CS 5852)
; 04-Feb-92  JAB  Added SWI chunk for Philip Banks "DataLoad" &443C0 (CS 5852)
; 04-Feb-92  JAB  Added Message block for Philip Banks &82080 (CS 5852)
; 04-Feb-92  JAB  Added SWI chunk for Watford "PC" &44400
; 04-Feb-92  JAB  Added SWI chunk for Granta &44440 "SerialLAN"
; 04-Feb-92  JAB  Changed Event_WatfordScanner to Event_WatfordPCCard (23)
; 05-Feb-92  RM   Added SWI chunk for free module.
; 14-Feb-92  DDV  Added block for WimpExtend module.
; 17-Feb-92  JAB  Added SWI Chunk for Craddock &44500 "HelixBasic"
; 17-Feb-92  JAB  Added SWI Chunk for Computer Concepts &44540 "GDraw"
; 17-Feb-92  JAB  Added SWI chunk for Computer Concepts &44580 "DitherExtend"
; 17-Feb-92  JAB  Added SWI Chunk for David Pilling &445C0 "SparkFS"
; 17-Feb-92  JAB  Added SWI Chunk for Arxe &44600 "QuadFS"
; 17-Feb-92  JAB  Added SWI Chunk for CIS &44640 "SFXM"
; 27-Feb-92  JAB  Added SWI Chunk for Aleph One &44680 "386PC"
; 28-Feb-92  JAB  Added SWI Chunk for Robin Watts "LargerSupport" &446C0
; 28-Feb-92  JAB  Added SWI Chunk for D Sheperdson "Pack" &44700
; 12-Mar-92  DDV  Added SWI Chunk for "StyleManager"
; 16-Mar-92  JAB  Added SWI Chunk for Acorn New Zealand "FSLock" &44780
; 16-Mar-92  JAB  Added 2 SWI Chunks for Whirlwind Spec. (CS6309) "WimpAid" &447C0 "Menu" &44800
; 24-Mar-92  JAB  Added SWI chunk for Valiant "ValiantTDriver" &44840
; 09-Apr-92  JAB  Change prefix for &41F80 to "PShare"
; 09-Apr-92  JAB  Deallocated &42E80 "VideoFX" from 4Mation and allocated it to Intelligent Interfaces "SPINC"
; 09-Apr-92  JAB  Deallocated &43B00 "Dialogue" from 4Mation and allocated it to Intelligent Interfaces "SDAD"
; 09-Apr-92  JAB  Added 1 SWI Chunk for Intelligent Interfaces "STMC" &44880
; 09-Apr-92  JAB  Added 4 SWI Chunks for Acorn Australia &448C0 "BootFS"
;                                                        &44900 "CardFS
;                                                        &44940 "ISCSFS"
;                                                        &44980 "oldSCSI"
; 09-Apr-92  JAB  Added 3 SWI Chunks for the Serial Port &449C0 "FLOPFS"
;                                                        &44A00 "PCkey"
;                                                        &44A40 "SPSerial"
; 13-Apr-92  JAB  Added 2 SWI Chunks for 4Mation &44A80 "SMaster" &44AC0 "AH"
; 13-Apr-92  JRS  Added a SWI chunk for DOSFS. Previously it was using the same as MultiFS.
;
;
; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; SWI names are exported in two forms :
; 1)  with OS_  'OS_DoThingToOtherThing'  as N
; 2)  with XOS_ 'XOS_DoThingToOtherThing' as N + Auto_Error_SWI_bit

; Allocation of Operating System SWI Chunks

                ^       0
BrazilSWI       #       3       ; 0..2 &000000..&0000BF
; "OS" 
StringConvSWI   #       1       ; 3    &0000C0..&0000FF
; "OS"
WriteCharSWI    #       4       ; 4..7 &000100..&0001FF
; "OS"
FileSwitchSWI   #       1       ; 8    &000200..&00023F
; ""
IICSWI          #       1       ; 9    &000240..&00027F
; "IIC"
ARM3CacheSWI    #       1       ; 10   &000280..&0002BF Used by Acorn and Aleph One
; "Cache"

Auto_Error_SWI_bit_number * 17
Auto_Error_SWI_bit * 1 :SHL: Auto_Error_SWI_bit_number

SWIClass SETS   "OS"

        ^       0                       ; Base for Arthur SWIs
        AddSWI  WriteC                  ; &00
        AddSWI  WriteS                  ; &01
        AddSWI  Write0                  ; &02
        AddSWI  NewLine                 ; &03
        AddSWI  ReadC                   ; &04
        AddSWI  CLI                     ; &05
        AddSWI  Byte                    ; &06
        AddSWI  Word                    ; &07
        AddSWI  File                    ; &08
        AddSWI  Args                    ; &09
        AddSWI  BGet                    ; &0A
        AddSWI  BPut                    ; &0B
        AddSWI  GBPB                    ; &0C
        AddSWI  Find                    ; &0D
        AddSWI  ReadLine                ; &0E
        AddSWI  Control                 ; &0F
        AddSWI  GetEnv                  ; &10
        AddSWI  Exit                    ; &11
        AddSWI  SetEnv                  ; &12
        AddSWI  IntOn                   ; &13
        AddSWI  IntOff                  ; &14
        AddSWI  CallBack                ; &15
        AddSWI  EnterOS                 ; &16
        AddSWI  BreakPt                 ; &17
        AddSWI  BreakCtrl               ; &18
        AddSWI  UnusedSWI               ; &19
        AddSWI  UpdateMEMC              ; &1A
        AddSWI  SetCallBack             ; &1B
        AddSWI  Mouse                   ; &1C

        AddSWI  Heap                    ; &1D ; Our new ones start here
        AddSWI  Module                  ; &1E
        AddSWI  Claim                   ; &1F ; PMF's vector handling
        AddSWI  Release                 ; &20 ; routines
        AddSWI  ReadUnsigned            ; &21 ; Read an unsigned number
        AddSWI  GenerateEvent           ; &22
        AddSWI  ReadVarVal              ; &23 ; read variable value & type
        AddSWI  SetVarVal               ; &24 ; set  variable value & type
        AddSWI  GSInit                  ; &25
        AddSWI  GSRead                  ; &26
        AddSWI  GSTrans                 ; &27
        AddSWI  BinaryToDecimal         ; &28
        AddSWI  FSControl               ; &29
        AddSWI  ChangeDynamicArea       ; &2A
        AddSWI  GenerateError           ; &2B
        AddSWI  ReadEscapeState         ; &2C
        AddSWI  EvaluateExpression      ; &2D
        AddSWI  SpriteOp                ; &2E
        AddSWI  ReadPalette             ; &2F ; (was FontManager)
        AddSWI  ServiceCall             ; &30 ; was Claim_Release_FIQ
        AddSWI  ReadVduVariables        ; &31
        AddSWI  ReadPoint               ; &32
        AddSWI  UpCall                  ; &33
        AddSWI  CallAVector             ; &34 ; was ReadCurrentError
        AddSWI  ReadModeVariable        ; &35
        AddSWI  RemoveCursors           ; &36
        AddSWI  RestoreCursors          ; &37
        AddSWI  SWINumberToString       ; &38
        AddSWI  SWINumberFromString     ; &39
        AddSWI  ValidateAddress         ; &3A
        AddSWI  CallAfter               ; &3B
        AddSWI  CallEvery               ; &3C
        AddSWI  RemoveTickerEvent       ; &3D
        AddSWI  InstallKeyHandler       ; &3E
        AddSWI  CheckModeValid          ; &3F
        AddSWI  ChangeEnvironment       ; &40
        AddSWI  ClaimScreenMemory       ; &41
        AddSWI  ReadMonotonicTime       ; &42
        AddSWI  SubstituteArgs          ; &43
        AddSWI  PrettyPrint             ; &44
        AddSWI  Plot                    ; &45
        AddSWI  WriteN                  ; &46
        AddSWI  AddToVector             ; &47
        AddSWI  WriteEnv                ; &48
        AddSWI  ReadArgs                ; &49
        AddSWI  ReadRAMFsLimits         ; &4A
        AddSWI  ClaimDeviceVector       ; &4B
        AddSWI  ReleaseDeviceVector     ; &4C
        AddSWI  DelinkApplication       ; &4D
        AddSWI  RelinkApplication       ; &4E
        AddSWI  HeapSort                ; &4F
        AddSWI  ExitAndDie              ; &50
        AddSWI  ReadMemMapInfo          ; &51
        AddSWI  ReadMemMapEntries       ; &52
        AddSWI  SetMemMapEntries        ; &53
        AddSWI  AddCallBack             ; &54
        AddSWI  ReadDefaultHandler      ; &55
        AddSWI  SetECFOrigin            ; &56
        AddSWI  SerialOp                ; &57
        AddSWI  ReadSysInfo             ; &58
        AddSWI  Confirm                 ; &59
        AddSWI  ChangedBox              ; &5A
        AddSWI  CRC                     ; &5B
        AddSWI  ReadDynamicArea         ; &5C
        AddSWI  PrintChar               ; &5D
        AddSWI  ChangeRedirection       ; &5E
        AddSWI  RemoveCallBack          ; &5F
        AddSWI  FindMemMapEntries       ; &60
        AddSWI  SetColour               ; &61

 ASSERT @ <= &C0

        ^       &C0
        AddSWI  ConvertStandardDateAndTime ; &C0
        AddSWI  ConvertDateAndTime         ; &C1

        ^       &D0
        AddSWI  ConvertHex1             ; &D0
        AddSWI  ConvertHex2             ; &D1
        AddSWI  ConvertHex4             ; &D2
        AddSWI  ConvertHex6             ; &D3
        AddSWI  ConvertHex8             ; &D4
        AddSWI  ConvertCardinal1        ; &D5
        AddSWI  ConvertCardinal2        ; &D6
        AddSWI  ConvertCardinal3        ; &D7
        AddSWI  ConvertCardinal4        ; &D8
        AddSWI  ConvertInteger1         ; &D9
        AddSWI  ConvertInteger2         ; &DA
        AddSWI  ConvertInteger3         ; &DB
        AddSWI  ConvertInteger4         ; &DC
        AddSWI  ConvertBinary1          ; &DD
        AddSWI  ConvertBinary2          ; &DE
        AddSWI  ConvertBinary3          ; &DF
        AddSWI  ConvertBinary4          ; &E0
        AddSWI  ConvertSpacedCardinal1  ; &E1
        AddSWI  ConvertSpacedCardinal2  ; &E2
        AddSWI  ConvertSpacedCardinal3  ; &E3
        AddSWI  ConvertSpacedCardinal4  ; &E4
        AddSWI  ConvertSpacedInteger1   ; &E5
        AddSWI  ConvertSpacedInteger2   ; &E6
        AddSWI  ConvertSpacedInteger3   ; &E7
        AddSWI  ConvertSpacedInteger4   ; &E8
        AddSWI  ConvertFixedNetStation  ; &E9
        AddSWI  ConvertNetStation       ; &EA
        AddSWI  ConvertFixedFileSize    ; &EB
        AddSWI  ConvertFileSize         ; &EC
 ASSERT @ <= &100

        AddSWI  WriteI, &100

; Aliases for certain SWIs - please avoid using them

OS_Multiple     * OS_GBPB
XOS_Multiple    * XOS_GBPB

OS_Open         * OS_Find
XOS_Open        * XOS_Find

;   The SWIChunk macro takes its first argument, on the line before the MACRO
;   invocation, as part of a symbol to generate (this symbol is made by
;   appending the string "SWI" to the argument.  This value increments by one
;   each time and should be used by module source code to assemble the module
;   header with e.g. DCD Module_SWISystemBase+(MyNameSWI * Module_SWIChunkSize).
;
;   The argument after the invocation is the estimated value that the SWI chunk
;   will have, this value is ASSERTed by the MACRO and an assembly will fail if
;   the estimate is wrong.
;
;   The next argument is optional and if not present defaults to the value of
;   the first argument, it is used to check that the SWI name prefix allocated
;   is unique.  When assembled with the variable SWI_Name_Clash true extra code
;   is assembled to ensure that every name is indeed unique, an EQU will fail
;   with a "Multiply or incompatibly defined symbol" error if a non-unique name
;   is found.  To prevent this from occuring when it is specifically desired to
;   have the same name prefix for more than one chunk, a fourth optional
;   argument "NameOK" can be added to suppress this check.
;
; Allocation of System extension SWI chunks (&40000..&5FFFF) and their names

                        ^       0
Econet                  SWIChunk        40000
NetFS                   SWIChunk        40040
Font                    SWIChunk        40080
Wimp                    SWIChunk        400C0
Tube                    SWIChunk        40100
Sound0                  SWIChunk        40140, Sound
Sound1                  SWIChunk        40180, Sound, NameOK
Sound2                  SWIChunk        401C0, Sound, NameOK
NetPrint                SWIChunk        40200
ADFS                    SWIChunk        40240
Podule                  SWIChunk        40280
ARMPC                   SWIChunk        402C0
WaveTable               SWIChunk        40300, WaveSynth
IntelligentInterfaceIEEE SWIChunk       40340, IEEE488          ; checked 17/10/88 SKS
Debugger                SWIChunk        40380
SCSIDriver              SWIChunk        403C0, SCSI             ; DFell. I think Debugger uses this one !
VFS                     SWIChunk        40400
VideoCommand            SWIChunk        40440
FPEmulator              SWIChunk        40480
MIDI                    SWIChunk        404C0
IO_Podule               SWIChunk        40500                   ; Name is "I/O_Podule"
FileCore                SWIChunk        40540
Version                 SWIChunk        40580
Shell                   SWIChunk        405C0                   ; Was
IntellInterf16BitPIO    SWIChunk        40600,                  ; was
IntellInterf12BitADC    SWIChunk        40640,                  ; was
IntellInterfRS423       SWIChunk        40680,                  ; 
Hourglass               SWIChunk        406C0                   ; Ian Jack
Draw                    SWIChunk        40700
ColourTrans             SWIChunk        40740
RamFS                   SWIChunk        40780
UnixFS                  SWIChunk        407C0, UnixFS           ; JSmith  
DigiTape                SWIChunk        40800
Pluto                   SWIChunk        40840                   ; Lendac Data Systems 
VELGraphics             SWIChunk        40880, VELGraph         ; Video Electronics Ltd. 
BrainSoftSerParPod      SWIChunk        408C0, BrainSerPar      ; BrainSoft
JBComputingSCSI         SWIChunk        40900, JBCSCSI          ; John Ballance Computing 
DigitalServicesTape     SWIChunk        40940, DigiTape         ; Digital Services 
ScsiFs                  SWIChunk        40980, SCSI, NameOK     ; NReeves 
SiPlanADC               SWIChunk        409C0, SiPlanADC        ; Electronics Research
SPRScan                 SWIChunk        40A00, SPRScan          ; Irlam Enterprise Ltd. 
DualUserPort            SWIChunk        40A40, DualUserPort     ; Science Frontiers
Arachnid                SWIChunk        40A80, Arachnid         ; Paul Fray Limited
WatfordScanner          SWIChunk        40AC0, Scan             ; Mike Harrison
PineappleColorDigitiser SWIChunk        40B00, Digitiser        ; Pineapple Software
SmithBoysMultiFS        SWIChunk        40B40, MultiFS          ; Jamie Smith
ACModemDriver           SWIChunk        40B80, ACModem          ; Graham Bartram (BBC)
ACModemCore             SWIChunk        40BC0, ACCore           ; Graham Bartram (BBC)
ACModemLink             SWIChunk        40C00, ACLink           ; Graham Bartram (BBC)
ACModemKey              SWIChunk        40C40, ACKey            ; Graham Bartram (BBC)
ACModemACCEPT           SWIChunk        40C80, ACCEPT           ; Graham Bartram (BBC)
ACModemScroll           SWIChunk        40CC0, ACScroll         ; Graham Bartram (BBC)
BBCWimpSystem           SWIChunk        40D00, BBCWimp          ; Graham Bartram (BBC)
XAmpleTechnology        SWIChunk        40D40, Video            ; X-Ample Technology
SuperSampler            SWIChunk        40D80, Super            ; Part of the new font system
HaukelandSykehus        SWIChunk        40DC0                   ; Norweegen, Uni. a/d d/a etc.
WildVisionADC           SWIChunk        40E00, WVADC            ; ADC Utils module
WildVisionDIO           SWIChunk        40E40, WVDIO            ; Digital I/O card
WildVisionDAC           SWIChunk        40E80, WVDAC            ; DAC Utils module
WildVisionCGraber       SWIChunk        40EC0, WVCGrab          ; Colour Frame Grabber
WildVisionAudio         SWIChunk        40F00, WVAudio          ; Sound sampler driver
CCSuperMonochrome       SWIChunk        40F40, SuperMonochrome  ; Computer Concepts ; "" 
Filer                   SWIChunk        40F80, FilerAction      ; Filer Action window etc. ; ""
CTSRecognition          SWIChunk        40FC0, Tablet           ; Graphics tablet ; ""
SerialPortFDC           SWIChunk        41000, FDC              ; Disc copier / FDC
BeebugScavenger         SWIChunk        41040                   ; Was BeebugScanner
SCSILog                 SWIChunk        41080, SCSI, NameOK     ; RCManby 
NFS                     SWIChunk        410C0                   ; JSRoach for Sun NFS filing system
VCR                     SWIChunk        41100                   ; Brighton Polytechnic 
PRESDFS                 SWIChunk        41140, DFS              ; PRES
AceComputingWimp        SWIChunk        41180, Task             ; Ace Computing
WaterMaze               SWIChunk        411C0                   ; Edinburgh University
Inet                    SWIChunk        41200, Inet             ; KRuttle for Internet socket interface 
CDROM                   SWIChunk        41240, CDROM            ; Next Technology 
CImages                 SWIChunk        41280, CImages          ; Foster Findlay Associates 
SID                     SWIChunk        412C0, DataHost         ; Acorn's SupportInformationDatabase ; "" 
SGBDevelopment          SWIChunk        41300                   ; SGB Computer Services 
SoftOptionSerial        SWIChunk        41340, SOSerial         ; Soft Option 
SoftOptionGenLock       SWIChunk        41380, SOGenLock        ; Soft Option 
SoftOptionStrategy      SWIChunk        413C0, SOStrategy       ; Soft Option 
SoftOptionVideo         SWIChunk        41400, SOVideo          ; Soft Option 
CCLFilingSystem         SWIChunk        41440, LFS              ; Computer Concepts 
CCPCFilingSystem        SWIChunk        41480, PCFS             ; Computer Concepts  
PhoboxConnect           SWIChunk        414C0, Connect          ; Phobox Electronics ; "" 
MessageTrans            SWIChunk        41500, MessageTrans     ; NRaine for MessageTrans module 
AmigaDiscOps            SWIChunk        41540, AmigaDiscOp      ; Jamie Smith 
SerialPort              SWIChunk        41580, SerialPort       ; Ran Mokady for Serial protocol module. 
Telnet                  SWIChunk        415C0, Telnet           ; Ran Mokady for Telnet protocol module. ; ""
AlliedIntGenlock        SWIChunk        41600, Genlock          ; Allied Interactive Limited 
AlliedIntSerial         SWIChunk        41640, IO               ; Allied Interactive Limited 
AlliedIntVideo          SWIChunk        41680, Video            ; Allied Interactive Limited 
AlliedIntVideoFade      SWIChunk        416C0, VideoFade        ; Allied Interactive Limited ; "" 
AlliedIntSampler        SWIChunk        41700, Audio            ; Allied Interactive Limited 
CCPCLink                SWIChunk        41740, PCLink           ; Computer Concepts 
AngliaTV                SWIChunk        41780                   ; Anglia TV 
TechnomaticScanner      SWIChunk        417C0                   ; Technomatic Limited ; "" 
CImages02               SWIChunk        41800, CImages          ; Foster Findlay Associates 
CImages03               SWIChunk        41840, CImages          ; Foster Findlay Associates 
Deltronics              SWIChunk        41880
CCLaser                 SWIChunk        418C0, Laser            ; Computer Concepts ; ""
BeebugQuadrant          SWIChunk        41900, Quadrant         ; Beebug Limited (A3000 modem development) 
RCC                     SWIChunk        41940                   ; Racing Car Computers (messages) 
Ftp                     SWIChunk        41980                   ; Ran Mokady for FTP protocol module. 
Tftp                    SWIChunk        419C0                   ; Ran Mokady for TFTP protocol module. ; "" 
BeebugDTP               SWIChunk        41A00                   ; Beebug Limited ; "" 
PandoraAIM              SWIChunk        41A40, AIM              ; Pandora Technology Limited ; "" 
MinervaBackup           SWIChunk        41A80, NoRisc           ; Minerva ; "" 
MSDOSFS                 SWIChunk        41AC0, MSDOS            ; MultiFS,Minerva, etc. ; "" 
PDumper                 SWIChunk        41B00                   ; GStark for Acorn's PDumper modules ; "" 
ResourceFS              SWIChunk        41B40                   ; NRaine for Acorn's ResourceFS module ; "" 
SJNexusFS               SWIChunk        41B80, Nexus            ; SJ Research ; "" 
DigithurstMicroEye      SWIChunk        41BC0, MicroEye         ; Digithurst Limited ; "" 
LeComputer              SWIChunk        41C00, Aid              ; Le Computer ; "" 
TequeMusic              SWIChunk        41C40                   ; Teque Software Development Limited ; "" 
TequeVideo              SWIChunk        41C80                   ; Teque Software Development Limited ; "" 
CntCmpConsPPM           SWIChunk        41CC0, PPM              ; Control Computer Consultants ; "" 
RandLaserPrinter        SWIChunk        41D00, LP               ; Rand Services ; "" 
AcornHLLDebugger        SWIChunk        41D40, Debugger, NameOK ; Acorn ; "" 
WildVisionCentronics    SWIChunk        41D80, WVCent           ; Wild Vision ; "" 
CCScanner               SWIChunk        41DC0, Scanner          ; Computer Concepts ; "" 
KeyHandler              SWIChunk        41E00                   ; G.J.Stark
ResourceUI              SWIChunk        41E40, RUI              ; Resource ; "" 
CDROMFS                 SWIChunk        41E80, CDFS             ; Next Technology ; ""
CCCompression           SWIChunk        41EC0, Compress         ; Computer Concepts
CCSharedMemory          SWIChunk        41F00, SharedMemory     ; Computer Concepts
DBox                    SWIChunk        41F40, DBox             ; GStark for Acorn's DBox module
AlternateSCSI           SWIChunk        41F80, PShare           ; John Balance
IDEFS                   SWIChunk        41FC0                   ; Stefan Frhling
EMRBackgroundPlayer     SWIChunk        42000, Player           ; ElectroMusic Research
IIIOCTimer1             SWIChunk        42040, IOCTimer1        ; Intelligent Interfaces
IIExternalMouse         SWIChunk        42080, XMouse           ; Intelligent Interfaces   
IISTEBusInterface       SWIChunk        420C0, STE              ; Intelligent Interfaces
IISTEBusSPIBB           SWIChunk        42100, SPIBB            ; Intelligent Interfaces    
BrainsoftVideoDgitzr    SWIChunk        42140                   ; Brainsoft
BrainsoftSoundDgitzr    SWIChunk        42180                   ; Brainsoft
BrainsoftSerial         SWIChunk        421C0                   ; Brainsoft
BrainsoftImage          SWIChunk        42200                   ; Brainsoft
BrainsoftSoundComp      SWIChunk        42240                   ; Brainsoft
BrainsoftSync           SWIChunk        42280                   ; Brainsoft
Brainsoft3DGraphics     SWIChunk        422C0                   ; Brainsoft
DTSoftwareSpeech        SWIChunk        42300                   ; David Knell, D. T. Software
ROMBOVideoDigitiser     SWIChunk        42340, Vidi             ; Brian Calder
AcornEFormatUtils       SWIChunk        42380                   ; Alan Glover
PointerUtils            SWIChunk        423C0                   ; Ran Mokady for read char under pointer
DragASprite             SWIChunk        42400                   ; Jonathan Roach for dragging a sprite
IISTEBusSPER            SWIChunk        42440, SPER             ; Intelligent Interfaces      
IISTEBusSEP             SWIChunk        42480, SEP              ; Intelligent Interfaces       
VCMNet                  SWIChunk        424C0, VCMHC            ; David Miller
VCMNetFS                SWIChunk        42500, VCMN             ; David Miller
Music                   SWIChunk        42540                   ; Jonathan Allin's music module.
AcornDDEUtils           SWIChunk        42580, DDEUtils         ; Edward Nevill
EMRWFSUtils             SWIChunk        425C0, WFSUtils         ; Mike Beecher / MWhite
DRComputersTML          SWIChunk        42600, TML              ; Ian Baverstock / Simis
Filter                  SWIChunk        42640                   ; Ran Mokady for filter manager
Switcher                SWIChunk        42680, TaskManager      ; Ran Mokady for Task Manager
SaveAS                  SWIChunk        426C0                   ; Ran Mokady
AcornLZWCompression     SWIChunk        42700, Squash           ; Jon Thackray
DeviceFS                SWIChunk        42740, DeviceFS         ; David De Vorchik (Acorn)
IrlamJPEGCompression    SWIChunk        42780, DCT              ; Jim Irlam
EastmondError           SWIChunk        427C0, Error            ; D. E. Butler
BeebugColourScanner     SWIChunk        42800                   ; David Spencer for Beebug Ltd
EMUConceptKeyboard      SWIChunk        42840, CK               ; Mike Smith (Sandwell)
SimisAcornFrameBuffer   SWIChunk        42880, AFB              ; Chris Tubbs (Simis)
CCImpulse               SWIChunk        428C0, Impulse          ; Phil Martin (Computer Concepts)
DizzysPath              SWIChunk        42900, Path             ; David De Vorchik (Acorn)
BufferManager           SWIChunk        42940, Buffer           ; David De Vorchik (Acorn)
NCETConceptUtils        SWIChunk        42980, ConceptUtils     ; Julian Pixton Longman Logotron for NCET
CSDEDDSDP               SWIChunk        429C0, EDDSDP           ; Jem Davies (CSD)
CSDEDDSDU               SWIChunk        42A00                   ; Jem Davies (CSD)
PCArnoldEnhancer        SWIChunk        42A40, Enhancer         ; Patrick Arnold, PC Arnold
CommotionControlOp      SWIChunk        42A80                   ; Ting (Commotion)
OakTouchScreenDriver    SWIChunk        42AC0, TouchWindow      ; Paul Fellows
NexusPrintFS            SWIChunk        42B00                   ; Tony Engeham, SJ Research
SoftConXlate            SWIChunk        42B40, Xlate            ; Robbie Steele, Software Connections
SuperiorSpeech          SWIChunk        42B80, Spch             ; Steve Hanson, Superior Software
ArcVox                  SWIChunk        42BC0                   ; MJ Broadbent
TouchScreen             SWIChunk        42C00, TW               ; Sherlock Rehab Data, Knut Folmo
AtomWidPIA              SWIChunk        42C40                   ; Martin Coulson, Atomwide
BASICTrans              SWIChunk        42C80                   ; Basic translation module.
AlpineMusicEd           SWIChunk        42CC0, ExS              ; Philip Hawthorn, Aplpine
GSNSupport              SWIChunk        42D00, GSN              ; Martin Jones, GSN
NCETPrism               SWIChunk        42D40, Prism            ; Keith Hemsley, NCET
NCETContact             SWIChunk        42D80, Contact          ; Keith Hemsley, NCET
MessageExtend           SWIChunk        42DC0                   ; Internationalization support
SoundManager            SWIChunk        42E00                   ; David De Vorchik (Acorn)
DTSoftwarePCConnect     SWIChunk        42E40, PCConnect        ; David Knell, DT Software
IIParallelIOInterCard   SWIChunk        42E80, SPINC            ; Andy Ray, II
ParallelDevice          SWIChunk        42EC0, Parallel         ; David De Vorchik (Acorn)
WatfordIDEFS            SWIChunk        42F00, IDEFS            ; Chris Honey
OakGSSupport            SWIChunk        42F40, GS_Support       ; Paul Fellows, Oak Solutions
IotaTouchType           SWIChunk        42F80, TouchType        ; David Harrison, Iota
Portable                SWIChunk        42FC0                   ; Tim Dobson (Acorn)
RSDOS                   SWIChunk        43000, RSDOS            ; Rob Schrauw (schrauw@math.ruu.nl)
Territory               SWIChunk        43040, Territory        ; Ran Mokady
SerialPortEcoSampler    SWIChunk        43080, EcoSampler       ; Andrew Foyle, QD Enterprises ltd
DocumentManager         SWIChunk        430C0                   ; David De Vorchik (not Acorn)
ScreenBlanker           SWIChunk        43100                   ; Steve Hunt, Acorn
TouchWindow             SWIChunk        43140, TWindow          ; David De Vorchik (for Rob Hamilton)
WimpExtend              SWIChunk        43180, WimpExtend       ; David De Vorchik (Acorn)
SerialPortGameNet       SWIChunk        431C0, GameNet          ; Andrew Foyle, QD Enterprises ltd
TrackerModule           SWIChunk        43200, Tracker          ; M.Farrow
MenuBuilding            SWIChunk        43240, MenuV            ; David Andrews
Usage                   SWIChunk        43280                   ; Ran Mokady
PathUtility             SWIChunk        432C0, PathControl      ; Robert Hamilton for Path munging
ComputerConceptsABI     SWIChunk        43300, ABI              ; Phil Martin, Computer Concepts
ElektorSamplerModule    SWIChunk        43340, ElektorSampler   ; for Stuart Payne of Customer Services
TaskWindow              SWIChunk        43380                   ; Edward Nevill
PrintFile               SWIChunk        433C0, PrintFile        ; David De Vorchik
Zelda                   SWIChunk        43400                   ; David De Vorchik / Chris Murray
MakePSFont              SWIChunk        43440                   ; Steve Hunt
HCCSVideoDigitiser      SWIChunk        43480, HCCSVideo        ; Andy Waddington
QuerySupport            SWIChunk        434C0, QSupport         ; James Bye
DabsPressArcDFS         SWIChunk        43500, ArcDFS           ; Richard Averill, Dabs Press
AceTIFF                 SWIChunk        43540, TIFF             ; Tony Cheal, Ace
AceEinstein             SWIChunk        43580, Einstein         ; Tony Cheal, Ace
WatfordPrismRT          SWIChunk        435C0, PrismRT          ; Chris Honey, Watford
DTSoftwarePCCFS         SWIChunk        43600, PCCFS            ; David Knell, DT Software
DTSoftwarePCCFSFiler    SWIChunk        43640, PCCFiler         ; David Knell, DT Software
DTSoftwareScanPort      SWIChunk        43680, ScanPort         ; David Knell, DT Software
DTSoftwareFPAccel       SWIChunk        436C0, FPAccel          ; David Knell, DT Software
DTSoftwareCanonIon      SWIChunk        43700, CanonIon         ; David Knell, DT Software
ARMInterfacesINMOSLink  SWIChunk        43740, Link             ; Andy Lunness, ARM Interfaces
WatfordScanner2         SWIChunk        43780, ScanMan          ; Chris Honey, Watford     
ArcFS                   SWIChunk        437C0                   ; Mr M Smith (for customer services)
BiaAudio                SWIChunk        43800                   ; Mr Gammans, BIA Ltd (for customer services)
HybridAccess1000        SWIChunk        43840, AccessLink       ; Tony Thompson, Hybrid
HybridArcRecorder       SWIChunk        43880, ArcRecorder      ; Tony Thompson, Hybrid
IrlamFaxIm              SWIChunk        438C0, Fim              ; Jim Irlam, Irlam Instruments
IrlamMovingUImage       SWIChunk        43900, Mim              ; Jim Irlam, Irlam Instruments
Graph3D                 SWIChunk        43940, Graph3D          ; Michael Rozdoba, via CustServices (3592)
RAMJt                   SWIChunk        43980, RAMJetFS         ; Martin Dorey, via CustServices (3619)   
AtomwideEthernet        SWIChunk        439C0, EtherA           ; Nicko Van Someron, Atomwide
HybridAccessLink        SWIChunk        43A00                   ; Tony Thompson, Hybrid
HybridAccess2000        SWIChunk        43A40                   ; Tony Thompson, Hybrid
HybridAccess3000        SWIChunk        43A80                   ; Tony Thompson, Hybrid
BeebugHearsaySupport    SWIChunk        43AC0, Hearsay          ; John Wallace, Beebug
IISTEADCDACBoard        SWIChunk        43B00, SDAD             ; Andy Ray, II
Kasper                  SWIChunk        43B40                   ; David De Vorchik / Chris Murray
XavierES                SWIChunk        43B80, ES               ; Glyn Royds, Xavier sofwtare
RobbieSteelTextWind     SWIChunk        43BC0, TextWindow       ; Robbie Steele (For Customer Services)
NickSmithUniveral       SWIChunk        43C00, Universal        ; Nick Smith (School Boy!)
Ether1DCI               SWIChunk        43C40, Ether1           ; Keith Ruttle, Acorn
Ether2DCI               SWIChunk        43C80, Ether2           ; Keith Ruttle, Acorn
EtherXDCI               SWIChunk        43CC0, EtherX           ; Keith Ruttle, for Nexus
EconetDCI               SWIChunk        43D00, EcoDCI           ; Keith Ruggle, Acorn
MultiNetwork            SWIChunk        43D40, MNS              ; Keith Ruggle, Acorn
IotaScan                SWIChunk        43D80                   ; Stuart Payne, Iota
KrysalisJoyStickModule  SWIChunk        43DC0, Gkm              ; Shaun Hollingworth, Krysalis
IIQuadSerial            SWIChunk        43E00, IISerial         ; Andy Ray, Intelligent Interfaces
SupremacyControl        SWIChunk        43E40                   ; Rob Hamilton, Mercenary Software
DudleyLEAVideotex       SWIChunk        43E80, Videotex         ; Dudley LEA
MJOllesonWimpSupport    SWIChunk        43EC0, WinSupport       ; Mr MJ Olleson, for CS (4648)
IIQuadSerialBuffer      SWIChunk        43F00, IIBuffer         ; Andy Ray, Intelligent Interfaces (4792)
Joystick                SWIChunk        43F40                   ; Steve Cormie, Acorn
ScreenPrint             SWIChunk        43F80                   ; James Bye, Acorn
NCETMorePrism           SWIChunk        43FC0                   ; Keith Hemsley, NCET
ManualFiling            SWIChunk        44000, ManFS            ; James Bye (not for Acorn)
ManualCompression       SWIChunk        44040, ManLZW           ; James Bye (not for Acorn)
ReallyGoodTwilight      SWIChunk        44080, Twilight         ; Steve Turnbull, Really Good Software
ReallyGoodArcoustic     SWIChunk        440C0, Arcoustic        ; Steve Turnbull, Really Good Software
AcornMInteraction       SWIChunk        44100, Interaction      ; Glenda Graham , Acorn Melbourne
KairosKeySWI            SWIChunk        44140, Key              ; Sara Emmen, Kairos
FourMationFountain      SWIChunk        44180, Fountain         ; Rob MacKay 4Mation
FourMationNoot          SWIChunk        441C0, Noot             ; Rob MacKay 4Mation
CadsoftSWI3             SWIChunk        44200,                  ; Mike Flannagan, CadSoft
EMRSampleSWI            SWIChunk        44240, Sample           ; Mike Beecher, EMR
MGraphicsMidnightSWI    SWIChunk        44280, Midnight         ; David Tomlinson, Midnight Graphics
DMillerAnimateSWI       SWIChunk        442C0,                  ; David Miller (CS Ref: 5519)
VirusKillerSWI          SWIChunk        44300, VProtect         ; Alan Glover - virus stuff (SWI & Msgs)
LCalcraft               SWIChunk        44340, LeeTools         ; Lee Calcraft
PBanksDataVox           SWIChunk        44380, DataVox          ; Philip Banks (CS 5852)
PBanksDataLoad          SWIChunk        443C0, DataLoad         ; Philip Banks (CS 5852)
WatfordPCDeviceDriver   SWIChunk        44400, PC               ; Chris Honey, Watford
GrantaSerialLANSWI      SWIChunk        44440, SerialLAN        ; Neil Johnson, Granta Cons.
EduElectSenseSWI        SWIChunk        44480, SaC              ; David Thompson, Educational Elect.
Free                    SWIChunk        444C0, Free             ; Desktop free module
CraddockHelixBasicSWI   SWIChunk        44500, HelixBasic       ; Craddock Computer Systems
CCGDrawSWI              SWIChunk        44540, GDraw            ; Phil Martin, CC
CCDitherExtendSWI       SWIChunk        44580, DitherExtend     ; Phil Martin, CC
DavidPillingSparkFSSWI  SWIChunk        445C0, SparkFS          ; David Pilling
ArxeQuadFSSWI           SWIChunk        44600, QuadFS           ; Onkar Jagpal, Arxe
CISSFXMSWI              SWIChunk        44640, SFXM             ; Mike, CIS
AlephOne386PCSupportSWI SWIChunk        44680, 386PC            ; Alex VS, Aleph One
RobinWattsLargerSupport SWIChunk        446C0, LargerSupport    ; Robin Watts (CS: 6070)
DSherperdsonPackModSWI  SWIChunk        44700, Pack             ; D Sheperdson (CS: 5925)
StyleManager            SWIChunk        44740, StyleManager     ; David De Vorchik (Acorn)
AcornNZFSLockSWI        SWIChunk        44780, FSLock           ; David Hunter (Acorn NZ)
WhirlwindWimpAidSWI     SWIChunk        447C0, WimpAid          ; Whirlwind Spec. (CS: 6309)
WhilewindMenuEdSWI      SWIChunk        44800, Menu             ; Whirlwind spec. (CS: 6309)
ValiantTurtleDriverSWI  SWIChunk        44840, ValiantTDriver   ; Shafique, Valiant Technology
IISTEVVSStepControl     SWIChunk        44880, STMC             ; Andy Ray, II
AcornOZBootFS           SWIChunk        448C0, BootFS           ; Acorn OZ for Central Computer Cons.
AcornOZCardFS           SWIChunk        44900, CardFS           ; Acorn OZ for Intertech
AcornOZISCSFS           SWIChunk        44940, ISCSFS           ; Acorn OZ for Alan WIlliams
AcornOZOldSCSIFS        SWIChunk        44980, oldSCSI          ; Acorn OZ
SerialPortFLOPFS        SWIChunk        449C0, FLOPFS           ; Hugo Fiennes, Serial Port
SerialPortPCKey         SWIChunk        44A00, PCKey            ; Hugo Fiennes, Serial Port
SerialPort8PortSerial   SWIChunk        44A40, SPSerial         ; Hugo Fiennes, Serial Port
FourMationSMaster       SWIChunk        44A80, SMaster          ; Mike Matson, 4Mation
FourMationAH            SWIChunk        44AC0, AH               ; Mike Matson, 4Mation
DOSFS                   SWIChunk        44B00                   ; Acorn DOSFS 


;
; Add new ones here
;

; These ones are multiplied by 64 (oops...)
             ASSERT     @       < 536
                        ^       536
II16BitPIO              SWIChunk        48600, II16BitPIO       ; Intelligent Interfaces
II12BitADC              SWIChunk        48640, II12BitADC       ; Intelligent Interfaces
IIRS423                 SWIChunk        48680, IIRS423          ; Intelligent Interfaces

 ASSERT @ < 1 :SHL: 17

; Allocation of Application SWIs

                        ^       0

Mail                    SWIChunk        80000
NetMonitor              SWIChunk        80040
ComputerConcepts        SWIChunk        80080, Spell            ; Spell Master
MinervaSystemDelta      SWIChunk        800C0
ResourceNH01            SWIChunk        80100, VIP
Print                   SWIChunk        80140
EdinburghSWProducts     SWIChunk        80180
Clares1                 SWIChunk        801C0
Clares2                 SWIChunk        80200
Clares3                 SWIChunk        80240
Clares4                 SWIChunk        80280
FrameGrabber            SWIChunk        802C0, Vdig             ; Watford (Mike Harrison)
MinervaRAMmanager       SWIChunk        80300
MinervaSystemGamma      SWIChunk        80340
MinervaSystemSigma      SWIChunk        80380
MinervaInternalUtils    SWIChunk        803C0
PCEmulation             SWIChunk        80400
ROMCache                SWIChunk        80440
SmallTalk               SWIChunk        80480
MyoLink                 SWIChunk        804C0                   ; L van Someren
SoundSampler            SWIChunk        80500, Sampler          ; David Fell
FFT                     SWIChunk        80540                   ; DFell
ResourceNH02            SWIChunk        80580, VIPF
FontAidPrint            SWIChunk        805C0, FontAid          ; CJE Micros
AlliedInteractive       SWIChunk        80600, AIIV
Euclid3D                SWIChunk        80640, Euclid           ; Ace Computing
CSharedLibrary          SWIChunk        80680, SharedLibrary    ; PLG use
Minerva256ColourHandler SWIChunk        806C0, Colours          ; Minerva
CCWordProc              SWIChunk        80700, CCWord           ; Computer Concepts
CCDrawProg              SWIChunk        80740, CCDraw           ; Computer Concepts
Finesse                 SWIChunk        80780, Finesse          ; AMS
Sibelius                SWIChunk        807C0
FaxPack                 SWIChunk        80800                   ; Computer Concepts
CED                     SWIChunk        80840                   ; Cambridge Elec. Design
Servo                   SWIChunk        80880                   ; Jansons
TaskModule              SWIChunk        808C0                   ; Acorn (messages)
HindiWordProc           SWIChunk        80900, HindiWP          ; Southall ITEC
AutoCue                 SWIChunk        80940                   ; Capricorn Consultants
RealTimeGL              SWIChunk        80980, RTGL             ; Silicon Vision Ltd.
Cadsoft1                SWIChunk        809C0, CAD              ; Cadsoft
Cadsoft2                SWIChunk        80A00, CAD, NameOK      ; Cadsoft
ResourceNH03            SWIChunk        80A40, Playback         ; Resource
WVAToDAndDToA           SWIChunk        80A80, WVAIO            ; Wild Vision
BNI                     SWIChunk        80AC0, BNIProg          ; Burden Neurological Inst.
BrainSoftUtil           SWIChunk        80B00, BrainUtil        ; BrainSoft
WVFrameGrabber          SWIChunk        80B40, WVFGRAB          ; Wild Vision
ABCSharedLib            SWIChunk        80B80, ABCLib           ; Paul Fellows
BASICXAsm               SWIChunk        80BC0, AardXAsm         ; Aardvark Software
BNI2                    SWIChunk        80C00, BNILab           ; Burden Neurological Inst.
MinBinary               SWIChunk        80C40                   ; Minerva
MinAssembler            SWIChunk        80C80                   ; Minerva
BeebugISOC              SWIChunk        80CC0                   ; Beebug's ISO C module
Archway                 SWIChunk        80D00                   ; Simtron's
Teletext                SWIChunk        80D40                   ; Acorn's Teletext jobbie
FreeStyle               SWIChunk        80D80                   ; Software Solutions
APCSharedLib            SWIChunk        80DC0, APCLib           ; Paul Fellows
CCPaintingMessages      SWIChunk        80E00                   ; Computer Concepts (messages)
WimpManager             SWIChunk        80E40                   ; Software Solutions
AtomwidePALProgramer    SWIChunk        80E80                   ; Atomwide Limited
AtomwideI2C             SWIChunk        80EC0                   ; Atomwide Limited
ASimAReview             SWIChunk        80F00                   ; James Sutton (messages)
BatchProcess            SWIChunk        80F40, Batch            ; Brian N. Butterworth (shareware)
Lisp                    SWIChunk        80F80                   ; Michael Houlder
Adapt                   SWIChunk        80FC0                   ; Michael Houlder
CCSupport               SWIChunk        81000, Hyphenator       ; Computer Concepts
DaylightSoftware        SWIChunk        81040
Snippet                 SWIChunk        81080, Snippet          ; 4Mation Educational Resources
FilmMaker               SWIChunk        810C0, DeltaM           ; Silicon Vision
DavidPilling            SWIChunk        81100                   ; David Pilling (messages)
SteveFurber             SWIChunk        81140                   ; Steve Furber (messages)
ClaresClassMate         SWIChunk        81180, ClassMate        ; Dave Clare
ClaresSpellChecker      SWIChunk        811C0                   ; Dave Clare
Schema                  SWIChunk        81200                   ; Acorn and CRM
USARCLibraryManager     SWIChunk        81240                   ; USARC Software Ontwikkeling
LindisSnapShot          SWIChunk        81280, Snapshot         ; Lindis (messages)
EMRGraphic              SWIChunk        812C0, GraphEx          ; ElectroMusic Research
EMRVoiceGenerator       SWIChunk        81300, VoiceGen         ; ElectroMusic Research
EMRFourierAndLogLin     SWIChunk        81340, SoundEx          ; ElectroMusic Research
SpacetechOrrery         SWIChunk        81380, 3D               ; Spacetech
AcornDDEThrowBack       SWIChunk        813C0, ThrowBack        ; Acorn Desktop Development Environment
AcornDDEFrontEnd        SWIChunk        81400, FrontEnd         ; Acorn Desktop Development Environment
ArchwayC                SWIChunk        81440, ArchwayC         ; Simtron
AietosRobot             SWIChunk        81480, Control          ; Aietos
LesWant1                SWIChunk        814C0                   ; Les Want (Special Needs) !SpKbd
LesWant2                SWIChunk        81500                   ; Les Want (Special Needs) !ASP (messages)
ArcTerm7Utilities       SWIChunk        81540, ABCTerm          ; Hugo Fiennes, The Serial port
ARCbbs                  SWIChunk        81580, ARCbbs           ; Hugo Fiennes, The Serial port
VisionSix               SWIChunk        815C0, V6               ; Neil Smith, Vision Six (messages)
ConceptKeyboard         SWIChunk        81600, ConceptKeyboard  ; Mikrodaisy
ClaresIllusionist       SWIChunk        81640, Illusionist
SoftWareInterrupt       SWIChunk        81680                   ; Simon Huntington
WestlandChopper         SWIChunk        816C0
ArmadilloDecompress     SWIChunk        81700, AVDecomp         ; Adam Waynne
ESPDesktopComposer      SWIChunk        81740, Compose          ; Andy Pierson
PEPAssociatesSpeech     SWIChunk        81780, Speech           ; Via Customer Services
CCPostScript            SWIChunk        817C0, ShowPageVM       ; Computer Concepts
EmeraldIdeograph        SWIChunk        81800                   ; Emerald Publishing (messages)
ArmadilloDigOScope      SWIChunk        81840, DSO              ; Adam Waynne
Eddison                 SWIChunk        81880                   ; David De Vorchik / Chris Murray
MeadowComputers         SWIChunk        818C0                   ; Paul Johnson (messages)
CCFaxManager            SWIChunk        81900, FaxManager       ; Phil Martin (Computer Concepts)
CCHuffman               SWIChunk        81940, Huffman          ; Phil Martin (Computer Concepts)
CISPIPP                 SWIChunk        81980, PIPP             ; Mike Fowler (Camb. Int. Soft.)
ClaresIlluminator       SWIChunk        819C0, Illuminator      ; Dave CLare (Clares)
IOTAHotlinkedTutor      SWIChunk        81A00                   ; David Harrison (IOTA)
DSSquirrelLink          SWIChunk        81A40, SqlEcoMod        ; Ian Bastable (Digital Services) messages
FourMationRM            SWIChunk        81A80, 4MationRM        ; Mike Matson / Andrew Stewart
FourMationContour       SWIChunk        81AC0, Contour          ; Mike Matson
DatakingMessageBlock    SWIChunk        81B00, DataKing         ; Data king on behalf of Stuart Payne
Base5MessageBlock       SWIChunk        81B40                   ; Mark Logan
OakDrawPrintDiag        SWIChunk        81B80, Draw_PrintDiag   ; Damian Driscoll, Oak
QueryMessageBlock       SWIChunk        81BC0, Query            ; James Bye, Acorn
SherstonHighlighter     SWIChunk        81C00, Highlight        ; Paul Barker, Sherston
ArmadilloRSI            SWIChunk        81C40, RSI              ; Adam Wynne, Armadillo
ArmadilloTCR            SWIChunk        81C80, TCR              ; Adam Wynne, Armadillo
void_ddv1               SWIChunk        81CC0
AcornHWTest             SWIChunk        81D00                   ; Acorn H/W test dept (amg) 
AcornHWTestSuite        SWIChunk        81D40                   ; Acorn H/W test dept (amg) 
WatfordManAppComm       SWIChunk        81D80                   ; Chris Honey, Watford
KlineComputersMouseRec  SWIChunk        81DC0                   ; Kline Computers
LongmanLogotronNotate   SWIChunk        81E00                   ; Longman Logotron
FourMationVectorApp     SWIChunk        81E40, Vector           ; Mike Matson, 4Mation
DatastoreInteractiveManual SWIChunk     81E80, IManual          ; David Coronel, Data store
IotaSound               SWIChunk        81EC0                   ; Stuart Payned, Iota
Profiler                SWIChunk        81F00, Profile          ; Edward Nevill (Acorn)
void_ddv2               SWIChunk        81F40
PenAndThinkAppLink      SWIChunk        81F80                   ; Bill Leedham, Pen And Think
CadSoftMessageBlock     SWIChunk        81FC0                   ; Mike Flannagan, CadSoft
LongmanLogotronEureka   SWIChunk        82000                   ; John Wallace, Longman Logotron
LCalcraftDeskEdit       SWIChunk        82040, DeskEdit         ; Lee Calcraft
PBanksMessages          SWIChunk        82080,                  ; Philip Banks (CS 5852)


                        ^       512
Albosc                  SWIChunk        88000, DB               ; Cambridge Systems Design

 ASSERT @ < 1 :SHL: 17


; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Register names

r0      RN      0
r1      RN      1
r2      RN      2
r3      RN      3
r4      RN      4
r5      RN      5
r6      RN      6
r7      RN      7
r8      RN      8
r9      RN      9
r10     RN      10
r11     RN      11
r12     RN      12
r13     RN      13
r14     RN      14
r15     RN      15

r13_usr RN      13
r14_usr RN      14

r10_fiq RN      10
r11_fiq RN      11
r12_fiq RN      12
r13_fiq RN      13
r14_fiq RN      14

r13_irq RN      13
r14_irq RN      14

r13_svc RN      13
r14_svc RN      14

wp      RN      r12

sp      RN      r13
; No defined sp_usr or sp_fiq - application and FIQ owner dependent
sp_irq  RN      r13_irq
sp_svc  RN      r13_svc
stack   RN      r13

lr      RN      r14
lr_usr  RN      r14_usr
lr_fiq  RN      r14_fiq
lr_irq  RN      r14_irq
lr_svc  RN      r14_svc
link    RN      r14

pc      RN      r15
psr     RN      r15


R0      RN      0
R1      RN      1
R2      RN      2
R3      RN      3
R4      RN      4
R5      RN      5
R6      RN      6
R7      RN      7
R8      RN      8
R9      RN      9
R10     RN      10
R11     RN      11
R12     RN      12
R13     RN      13
R14     RN      14
R15     RN      15

WP      RN      12
SP      RN      13
STACK   RN      13
LR      RN      14
LINK    RN      14
PC      RN      15
PSR     RN      15

Error   RN      0
WsPtr   RN      12
Stack   RN      13

; Supervisor state registers - taken from Brazil -.005 source

SPSVC   RN      13
TUBER   RN      12
SVCWK0  RN      11
SVCWK1  RN      10

; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Vector numbers

UserV   * &00
ErrorV  * &01
IrqV    * &02
WrchV   * &03
RdchV   * &04   ; --\
CliV    * &05   ;   |
ByteV   * &06   ;   |
WordV   * &07   ;   |
FileV   * &08   ;   |
ArgsV   * &09   ;   } These numbers correspond to the SWI numbers
BGetV   * &0A   ;   |
BPutV   * &0B   ;   |
GBPBV   * &0C   ;   |
FindV   * &0D   ;   |
ReadLineV * &0E ; --/
FSCV    * &0F
EventV  * &10
UPTV    * &11
NETV    * &12
KEYV    * &13
INSV    * &14
REMV    * &15
CNPV    * &16   ; Count/Purge Buffer V
UKVDU23V * &17  ; VDU23 (decimal)
UKSWIV  * &18   ; Unknown SWI numbers
UKPLOTV * &19   ; VDU25 (decimal)
MouseV  * &1A   ; The mouse SWI vectors along here
VDUXV   * &1B   ; The MOS calls this vector instead of the VDU if bit 5 of
                ; wrch destination set
TickerV * &1C   ; 100Hz pacemaker
UpCallV * &1D   ; The 'can you deal with this before I go bang' vector.
ChangeEnvironmentV * &1E
                ; vectors along here when changing any handlers, so
                ; debuggers etc can stop it getting through.
SpriteV * &1F   ; called by SWI SpriteOp
DrawV   * &20   ; polygon fill vector for printers
EconetV * &21   ; Vector for NetFS/Econet progress reporting
ColourV * &22   ; for the ColourTrans module
PaletteV * &23  ; palette changed indication
SerialV * &24   ; indirection of SerialOps from kernel to Serial device drivers.
FontV * &25     ; indirection of Font Manager calls prior to processing by Font Manager.

SpareVectorA * &26
SpareVector9 * &27
SpareVector8 * &28
SpareVector7 * &29
SpareVector6 * &2A
SpareVector5 * &2B
SpareVector4 * &2C
SpareVector3 * &2D
SpareVector2 * &2E
SpareVector1 * &2F

NVECTORS * &30 ; There are this many vectors, 0..NVECTORS-1

; Aliases for vectors - please avoid using them

OpenV   * FindV
GbPbV   * GBPBV

; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; ARM processor related things

N_bit_number    *       31                      ; Processor condition flags
Z_bit_number    *       30
C_bit_number    *       29
V_bit_number    *       28
I_bit_number    *       27
F_bit_number    *       26

N_bit           *       1 :SHL: N_bit_number    ; Processor condition flags
Z_bit           *       1 :SHL: Z_bit_number
C_bit           *       1 :SHL: C_bit_number
V_bit           *       1 :SHL: V_bit_number
I_bit           *       1 :SHL: I_bit_number
F_bit           *       1 :SHL: F_bit_number

USR_mode *      2_00                    ; Processor mode bits
FIQ_mode *      2_01
IRQ_mode *      2_10
SVC_mode *      2_11

ARM_CC_Mask *   &FC000003               ; Processor condition flags + mode bits

; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Co_processor number allocations

                        ^       0
ARMCoProc_Reserved      #       1       ;  0, Reserved by Acorn
ARMCoProc_FPU           #       1       ;  1, All floating point systems
ARMCoProc_FPUextra      #       1       ;  2, For extra FP instructions
ARMCoProc_3             #       1       ;  3, 
ARMCoProc_4             #       1       ;  4, 
ARMCoProc_5             #       1       ;  5, 
ARMCoProc_6             #       1       ;  6, 
ARMCoProc_OMBRA         #       1       ;  7, Olivetti/Acorn 80x86
ARMCoProc_TestHardware  #       1       ;  8, Acorn
ARMCoProc_9             #       1       ;  9, 
ARMCoProc_10            #       1       ; 10, 
ARMCoProc_11            #       1       ; 11, 
ARMCoProc_12            #       1       ; 12, 
ARMCoProc_13            #       1       ; 13, 
ARMCoProc_14            #       1       ; 14, 
ARMCoProc_CacheControl  #       1       ; 15, Part of the ARM3 CPU

; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Useful places to hit in A500

PhysRam *       &02000000

IOC     *       &03200000
VIDC    *       &03400000
LAG     *       &03600000
CAM     *       &03800000

FloppyController    * &03310000 ; Fast, Bank 1
EconetController    * &033A0000 ; Sync, Bank 2
SerialController    * &033B0000 ; Sync, Bank 3
PrinterData         * &03350010 ; Fast, Bank 5
LatchB              * &03350018 ; Fast, Bank 5
LatchA              * &03350040 ; Fast, Bank 5

; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; IOC register offsets

IOCControl * &00        ; Control register

IOCSERTX   * &04        ; Serial TX
IOCSERRX   * &04        ;        RX

IOCIRQSTAA * &10        ; IRQ A Status
IOCIRQREQA * &14        ;       Requesting
IOCIRQCLRA * &14        ;       Clear
IOCIRQMSKA * &18        ;       Mask

IOCIRQSTAB * &20        ; IRQ B Status
IOCIRQREQB * &24        ;       Requesting
IOCIRQCLRB * &24        ;       Clear
IOCIRQMSKB * &28        ;       Mask

IOCFIQSTA  * &30        ; FIQ   Status
IOCFIQREQ  * &34        ;       Requesting
IOCFIQMSK  * &38        ;       Mask

Timer0LL   * &40        ; Timer 0 Write low input latch
Timer0LH   * &44        ;         Write high input latch
Timer0GO   * &48        ;         Load count from input latch
Timer0CL   * &40        ;         Read low output latch
Timer0CH   * &44        ;         Read high output latch
Timer0LR   * &4C        ;         Load output latch from count

Timer1LL   * &50        ; Timer 1 Write low input latch
Timer1LH   * &54        ;         Write high input latch
Timer1GO   * &58        ;         Load count from input latch
Timer1CL   * &50        ;         Read low output latch
Timer1CH   * &54        ;         Read high output latch
Timer1LR   * &5C        ;         Load output latch from count

Timer2LL   * &60        ; Timer 2 Write low input latch
Timer2LH   * &64        ;         Write high input latch
Timer2GO   * &68        ;         Load count from input latch
Timer2CL   * &60        ;         Read low output latch
Timer2CH   * &64        ;         Read high output latch
Timer2LR   * &6C        ;         Load output latch from count

Timer3LL   * &70        ; Timer 3 Write low input latch
Timer3LH   * &74        ;         Write high input latch
Timer3GO   * &78        ;         Load count from input latch
Timer3CL   * &70        ;         Read low output latch
Timer3CH   * &74        ;         Read high output latch
Timer3LR   * &7C        ;         Load output latch from count


; Control register bits (A500 specific)

vsync_state_bit  * 1 :SHL: 7    ; ReadOnly
pack_state_bit   * 1 :SHL: 6    ; ReadOnly
sound_mute_bit   * 1 :SHL: 5    ; Read/Write
disc_changed_bit * 1 :SHL: 4    ; ???
rtc_seconds_bit  * 1 :SHL: 3    ; ReadOnly - not on A1
rtc_minutes_bit  * 1 :SHL: 2    ; ReadOnly - not on A1
i2c_clock_bit    * 1 :SHL: 1    ; Read/Write
i2c_data_bit     * 1 :SHL: 0    ; Read/Write

; IRQ register A bits (A500 specific)

force_bit  * 1 :SHL: 7  ; Force Interrupt       (FIQ owned)
timer1_bit * 1 :SHL: 6  ; Timer 1 crossing zero (event)
timer0_bit * 1 :SHL: 5  ; Timer 0 crossing zero (event)
por_bit    * 1 :SHL: 4  ; Power on RESET flag   (event)
vsync_bit  * 1 :SHL: 3  ; VFLYBK starting       (event)  IR
pack_bit   * 1 :SHL: 2  ; Printer acknowlege    (event) ~IF
ring_bit   * 1 :SHL: 1  ; Ringing indication    (level)
pbusy_bit  * 1 :SHL: 0  ; Printer busy          (level)


; IRQ register B bits (A500 specific)

serial_Rx_bit   * 1 :SHL: 7  ; Keyboard recieve full
serial_Tx_bit   * 1 :SHL: 6  ; Keyboard transmit empty
podule_IRQ_bit  * 1 :SHL: 5  ; Podule IRQ request
winnie_DRQ_bit  * 1 :SHL: 4  ; Winchester data request
winnie_IRQ_bit  * 1 :SHL: 3  ; Winchester IRQ request
serial_bit      * 1 :SHL: 2  ; 6551 IRQ request
sound_IRQ_bit   * 1 :SHL: 1  ; Sound buffer reload request
podule_FIQ_as_IRQ_bit * 1 :SHL: 0 ; Podule FIQ causing IRQ


; FIQ register bits (A500 specific)

podule_FIQ_bit  * 1 :SHL: 6  ; Podule FIQ request
econet_FIQ_bit  * 1 :SHL: 2  ; ADLC FIQ request

; Bits in LatchB register

pstrobe_bit     * 1 :SHL: 4  ; Printer strobe

; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Buffer indices

Buff_Key        * 0
Buff_RS423In    * 1
Buff_RS423Out   * 2
Buff_Print      * 3
Buff_Sound0     * 4
Buff_Sound1     * 5
Buff_Sound2     * 6
Buff_Sound3     * 7
Buff_Speech     * 8
Buff_Mouse      * 9

; Event numbers. 0..31 available

Event_OutputEmpty       * 0
Event_InputFull         * 1
Event_CharInput         * 2
Event_ADCConvert        * 3
Event_VSync             * 4
Event_IntervalTimer     * 5
Event_Escape            * 6
Event_RS423Error        * 7
Event_Econet_UserRPC    * 8
Event_User              * 9
Event_Mouse             * 10
Event_Keyboard          * 11
Event_Sound             * 12
Event_PCEmulator        * 13    ; reserved for MS-NET by TMD 26/8/87
Event_Econet_Rx         * 14
Event_Econet_Tx         * 15
Event_Econet_OSProc     * 16    ; This is where Notify, View etc. happen
Event_MIDI              * 17    ; to notify of MIDI data being received
Event_BeebugHayesModem  * 18
Event_Internet          * 19
Event_Fax               * 20    ; Computer Concepts Fax/Data modem
Event_NexusFS           * 21
Event_DeviceOverRun     * 22    ; DeviceFS to inform the world that a device has overrun
Event_WatfordPCCard     * 23    ; Watfords scanner driver for scanner activities
Event_IP_Rx             * 24    ; Receive frame events into the inet module
Event_TP_Tx             * 25    ; Transmission status events into the inet module
Event_MNS_Rx            * 26    ; Copy of the Econet_Rx
Event_MNS_Tx            * 27    ; Copy of the Econet_Tx
Event_PortableBMU       * 28    ; Downgrade of BMU interrupt.


; Keyboard status bits

KBStat_PendingAlt       * &01
KBStat_ScrollLock       * &02
KBStat_NoNumLock        * &04
KBStat_ShiftEngaged     * &08
KBStat_NoCapsLock       * &10
KBStat_NoShiftLock      * &20
KBStat_CtrlEngaged      * &40
KBStat_ShiftEnable      * &80

KBStat_NoCapsLockBitNo  * 4

MainVars * &A6

; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

MosVer   * 6            ; nice non-zero value

        GBLS MosTitle
MosTitle SETS "Tim's Arthur Operating System 0.00"
; If assembling arthur, there are better strings to use!!

NIL     * &80000000 ; An interesting value


MaxLengthDateLo *       &33EA0000       ; Wednesday, 28th September 1988
MaxLengthDateHi *       &00000041       ; 11:34:36.80 am

; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; And a handy variable or three

        GBLL    True
True    SETL    {TRUE}

        GBLL    False
False   SETL    {FALSE}

                 GBLL AssemblingArthur
AssemblingArthur SETL False

        OPT     OldOpt
        END
