Home » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199207.adf » !AWJULY92 » !AWJUL92/Goodies/work/h/Swi
!AWJUL92/Goodies/work/h/Swi
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199207.adf » !AWJULY92 |
Filename: | !AWJUL92/Goodies/work/h/Swi |
Read OK: | ✔ |
File size: | 036D bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
/*********************************************************************/ /* */ /* Wimp Routine Library. Header file fow Swi access. */ /* */ /* Archimedes World 1992 */ /* */ /* Written By John Skingley. */ /* */ /*********************************************************************/ #ifndef _swi #define _swi typedef struct { int number; /* Error number */ char message[252]; /* Error message string */ } swi_error; swi_error *Swi( int swinumber, int regs[] ); #endif
00000000 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |/***************| 00000010 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00000040 2a 2a 2a 2a 2a 2a 2f 0a 2f 2a 20 20 20 20 20 20 |******/./* | 00000050 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 00000080 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 2f 0a | */.| 00000090 2f 2a 20 20 57 69 6d 70 20 52 6f 75 74 69 6e 65 |/* Wimp Routine| 000000a0 20 4c 69 62 72 61 72 79 2e 20 20 20 20 20 20 20 | Library. | 000000b0 20 20 48 65 61 64 65 72 20 66 69 6c 65 20 66 6f | Header file fo| 000000c0 77 20 53 77 69 20 61 63 63 65 73 73 2e 20 20 20 |w Swi access. | 000000d0 20 20 20 20 20 2a 2f 0a 2f 2a 20 20 20 20 20 20 | */./* | 000000e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 00000110 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 2f 0a | */.| 00000120 2f 2a 20 20 41 72 63 68 69 6d 65 64 65 73 20 57 |/* Archimedes W| 00000130 6f 72 6c 64 20 31 39 39 32 20 20 20 20 20 20 20 |orld 1992 | 00000140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 00000160 20 20 20 20 20 2a 2f 0a 2f 2a 20 20 20 20 20 20 | */./* | 00000170 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 000001a0 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 2f 0a | */.| 000001b0 2f 2a 20 20 57 72 69 74 74 65 6e 20 42 79 20 4a |/* Written By J| 000001c0 6f 68 6e 20 53 6b 69 6e 67 6c 65 79 2e 20 20 20 |ohn Skingley. | 000001d0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 000001f0 20 20 20 20 20 2a 2f 0a 2f 2a 20 20 20 20 20 20 | */./* | 00000200 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 00000230 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 2f 0a | */.| 00000240 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |/***************| 00000250 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00000280 2a 2a 2a 2a 2a 2a 2f 0a 0a 23 69 66 6e 64 65 66 |******/..#ifndef| 00000290 20 5f 73 77 69 0a 23 64 65 66 69 6e 65 20 5f 73 | _swi.#define _s| 000002a0 77 69 0a 0a 0a 74 79 70 65 64 65 66 20 73 74 72 |wi...typedef str| 000002b0 75 63 74 20 0a 7b 0a 20 20 20 20 69 6e 74 20 20 |uct .{. int | 000002c0 6e 75 6d 62 65 72 3b 20 20 20 20 20 20 20 20 20 |number; | 000002d0 20 20 20 20 2f 2a 20 45 72 72 6f 72 20 6e 75 6d | /* Error num| 000002e0 62 65 72 20 20 20 20 20 20 20 20 20 2a 2f 0a 20 |ber */. | 000002f0 20 20 20 63 68 61 72 20 6d 65 73 73 61 67 65 5b | char message[| 00000300 32 35 32 5d 3b 20 20 20 20 20 20 20 2f 2a 20 45 |252]; /* E| 00000310 72 72 6f 72 20 6d 65 73 73 61 67 65 20 73 74 72 |rror message str| 00000320 69 6e 67 20 2a 2f 0a 7d 20 73 77 69 5f 65 72 72 |ing */.} swi_err| 00000330 6f 72 3b 0a 0a 0a 73 77 69 5f 65 72 72 6f 72 20 |or;...swi_error | 00000340 2a 53 77 69 28 20 69 6e 74 20 73 77 69 6e 75 6d |*Swi( int swinum| 00000350 62 65 72 2c 20 69 6e 74 20 72 65 67 73 5b 5d 20 |ber, int regs[] | 00000360 29 3b 0a 0a 0a 23 65 6e 64 69 66 0a 0a |);...#endif..| 0000036d