/*********************************************************************

 protos.h

     This include file contains prototypes needed by the various routines.
     It does NOT contain internal-only entries, but only those that are
     externally visible.


       first release
*********************************************************************/

/*                      ENTRIES in base.c                         */

void   interrupt_handler( void );
void   fault_handler( void );
void   svc( void );
void   os_init( void );
void   os_switch_context_complete( void );

/*                      ENTRIES in sample.c                       */

void   sample_code(void );

/*                      ENTRIES in scheduler_printer.c            */

void   SP_setup( INT16, INT32 );
void   SP_setup_file( INT16, FILE * );
void   SP_setup_action( INT16, char * );
void   SP_print_header( void );
void   SP_print_line( void );
void   SP_do_output( char * );

/*                      ENTRIES in test.c                         */                     

void   test1a( void );
void   test1b( void );
void   test1c( void );
void   test1d( void );
void   test1e( void );
void   test1f( void );
void   test1g( void );
void   test1h( void );
void   test1i( void );
void   test1j( void );
void   test1k( void );
void   test2a( void );
void   test2b( void );
void   test2c( void );
void   test2d( void );
void   test2e( void );
void   test2f( void );
void   test2g( void );



/*                      ENTRIES in z502.c                       */

void   Z502_HALT( void );
void   Z502_DESTROY_CONTEXT(CONTEXT ** );
void   Z502_MAKE_CONTEXT(CONTEXT **, void *, BOOL );
void   Z502_MEM_READ(INT32, INT32 * );
void   Z502_MEM_WRITE(INT32, INT32 * );
void   Z502_READ_MODIFY(INT32, INT32 * );
void   Z502_READ_DISK( INT16, INT16, INT16, char * );
void   Z502_WRITE_DISK( INT16, INT16, INT16, char * );
void   Z502_DELAY_TIMER( INT32 );
void   Z502_CLOCK( INT32 * );
void   Z502_HALT( void );
void   Z502_IDLE( void );
void   Z502_DESTROY_CONTEXT(CONTEXT ** );
void   Z502_MAKE_CONTEXT(CONTEXT **, void *, BOOL );
void   Z502_SWITCH_CONTEXT( BOOL, CONTEXT ** );
