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

!AWJUL92/Goodies/work/c/FrontEnd

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/c/FrontEnd
Read OK:
File size: 039E bytes
Load address: 0000
Exec address: 0000
File contents
/*********************************************************************/
/*                                                                   */
/*  Wimp FrontEnd Program.                                           */
/*                                                                   */
/*  Archimedes World 1992                                            */
/*                                                                   */
/*  Written By John Skingley.                                        */
/*                                                                   */
/*********************************************************************/

#include "h.global"
#include "h.wimp"
#include "h.event"
#include "h.system"


static void CloseDown( void )
{
    Beep();
}


int main( void )
{
    WimpInitialise( "FrontEnd" );

    RegisterQuitProc( CloseDown );

    while ( TRUE )
    {
        EventProcess();
    }
}



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 46 72 6f 6e 74 45 6e  |/*  Wimp FrontEn|
000000a0  64 20 50 72 6f 67 72 61  6d 2e 20 20 20 20 20 20  |d Program.      |
000000b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
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 6e 63 6c 75 64  |******/..#includ|
00000290  65 20 22 68 2e 67 6c 6f  62 61 6c 22 0a 23 69 6e  |e "h.global".#in|
000002a0  63 6c 75 64 65 20 22 68  2e 77 69 6d 70 22 0a 23  |clude "h.wimp".#|
000002b0  69 6e 63 6c 75 64 65 20  22 68 2e 65 76 65 6e 74  |include "h.event|
000002c0  22 0a 23 69 6e 63 6c 75  64 65 20 22 68 2e 73 79  |".#include "h.sy|
000002d0  73 74 65 6d 22 0a 0a 0a  73 74 61 74 69 63 20 76  |stem"...static v|
000002e0  6f 69 64 20 43 6c 6f 73  65 44 6f 77 6e 28 20 76  |oid CloseDown( v|
000002f0  6f 69 64 20 29 0a 7b 0a  20 20 20 20 42 65 65 70  |oid ).{.    Beep|
00000300  28 29 3b 0a 7d 0a 0a 0a  69 6e 74 20 6d 61 69 6e  |();.}...int main|
00000310  28 20 76 6f 69 64 20 29  0a 7b 0a 20 20 20 20 57  |( void ).{.    W|
00000320  69 6d 70 49 6e 69 74 69  61 6c 69 73 65 28 20 22  |impInitialise( "|
00000330  46 72 6f 6e 74 45 6e 64  22 20 29 3b 0a 0a 20 20  |FrontEnd" );..  |
00000340  20 20 52 65 67 69 73 74  65 72 51 75 69 74 50 72  |  RegisterQuitPr|
00000350  6f 63 28 20 43 6c 6f 73  65 44 6f 77 6e 20 29 3b  |oc( CloseDown );|
00000360  0a 0a 20 20 20 20 77 68  69 6c 65 20 28 20 54 52  |..    while ( TR|
00000370  55 45 20 29 0a 20 20 20  20 7b 0a 20 20 20 20 20  |UE ).    {.     |
00000380  20 20 20 45 76 65 6e 74  50 72 6f 63 65 73 73 28  |   EventProcess(|
00000390  29 3b 0a 20 20 20 20 7d  0a 7d 0a 0a 0a 0a        |);.    }.}....|
0000039e