Home » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199207.adf » !AWJULY92 » !AWJUL92/Goodies/work/h/wimp

!AWJUL92/Goodies/work/h/wimp

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/wimp
Read OK:
File size: 0426 bytes
Load address: 0000
Exec address: 0000
File contents
/*********************************************************************/
/*                                                                   */
/*  Wimp Routine Library.   Header file for wimp access.             */
/*                                                                   */
/*  Archimedes World 1992                                            */
/*                                                                   */
/*  Written By John Skingley.                                        */
/*                                                                   */
/*********************************************************************/

#ifndef _wimp
#define _wimp


extern int   WimpTask( void );
extern void  WimpInitialise( char *name );
extern void  WimpCloseDown( void );
extern int   WimpErrorNumber( void );
extern char *WimpErrorMessage( void );
extern int   WimpReasonCode( void );
extern int  *WimpEvent( void );
extern int   WimpPoll( void );
extern void  WimpSetMask( int reason, int state );
extern int   WimpGetMask( void );


#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 48 65 61 64  | Library.   Head|
000000b0  65 72 20 66 69 6c 65 20  66 6f 72 20 77 69 6d 70  |er file for wimp|
000000c0  20 61 63 63 65 73 73 2e  20 20 20 20 20 20 20 20  | 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 77 69 6d 70 0a 23  64 65 66 69 6e 65 20 5f  | _wimp.#define _|
000002a0  77 69 6d 70 0a 0a 0a 65  78 74 65 72 6e 20 69 6e  |wimp...extern in|
000002b0  74 20 20 20 57 69 6d 70  54 61 73 6b 28 20 76 6f  |t   WimpTask( vo|
000002c0  69 64 20 29 3b 0a 65 78  74 65 72 6e 20 76 6f 69  |id );.extern voi|
000002d0  64 20 20 57 69 6d 70 49  6e 69 74 69 61 6c 69 73  |d  WimpInitialis|
000002e0  65 28 20 63 68 61 72 20  2a 6e 61 6d 65 20 29 3b  |e( char *name );|
000002f0  0a 65 78 74 65 72 6e 20  76 6f 69 64 20 20 57 69  |.extern void  Wi|
00000300  6d 70 43 6c 6f 73 65 44  6f 77 6e 28 20 76 6f 69  |mpCloseDown( voi|
00000310  64 20 29 3b 0a 65 78 74  65 72 6e 20 69 6e 74 20  |d );.extern int |
00000320  20 20 57 69 6d 70 45 72  72 6f 72 4e 75 6d 62 65  |  WimpErrorNumbe|
00000330  72 28 20 76 6f 69 64 20  29 3b 0a 65 78 74 65 72  |r( void );.exter|
00000340  6e 20 63 68 61 72 20 2a  57 69 6d 70 45 72 72 6f  |n char *WimpErro|
00000350  72 4d 65 73 73 61 67 65  28 20 76 6f 69 64 20 29  |rMessage( void )|
00000360  3b 0a 65 78 74 65 72 6e  20 69 6e 74 20 20 20 57  |;.extern int   W|
00000370  69 6d 70 52 65 61 73 6f  6e 43 6f 64 65 28 20 76  |impReasonCode( v|
00000380  6f 69 64 20 29 3b 0a 65  78 74 65 72 6e 20 69 6e  |oid );.extern in|
00000390  74 20 20 2a 57 69 6d 70  45 76 65 6e 74 28 20 76  |t  *WimpEvent( v|
000003a0  6f 69 64 20 29 3b 0a 65  78 74 65 72 6e 20 69 6e  |oid );.extern in|
000003b0  74 20 20 20 57 69 6d 70  50 6f 6c 6c 28 20 76 6f  |t   WimpPoll( vo|
000003c0  69 64 20 29 3b 0a 65 78  74 65 72 6e 20 76 6f 69  |id );.extern voi|
000003d0  64 20 20 57 69 6d 70 53  65 74 4d 61 73 6b 28 20  |d  WimpSetMask( |
000003e0  69 6e 74 20 72 65 61 73  6f 6e 2c 20 69 6e 74 20  |int reason, int |
000003f0  73 74 61 74 65 20 29 3b  0a 65 78 74 65 72 6e 20  |state );.extern |
00000400  69 6e 74 20 20 20 57 69  6d 70 47 65 74 4d 61 73  |int   WimpGetMas|
00000410  6b 28 20 76 6f 69 64 20  29 3b 0a 0a 0a 23 65 6e  |k( void );...#en|
00000420  64 69 66 0a 0a 0a                                 |dif...|
00000426