/****************************************************************************
*                                                                           *
*                            Third Year Project                             *
*                                                                           *
*                            An IBM PC Emulator                             *
*                          For Unix and X Windows                           *
*                                                                           *
*                             By David Hedley                               *
*                                                                           *
*                                                                           *
* This program is Copyrighted.  Consult the file COPYRIGHT for more details *
*                                                                           *
****************************************************************************/

/* This is BIOS.H  It contains definitions for the BIOS functions */


#ifndef BIOS_H
#define BIOS_H

#include "mytypes.h"

#define BOOT

void init_bios(void);
void init_timer(void);
void bios_off(void);
void set_int(unsigned, UBYTE *, unsigned, void (*)(void), UBYTE *, unsigned);

void disable(void);
void enable(void);

void put_scancode(UBYTE *code, int count);

UBYTE read_port60(void);

void loc(void);

char *set_boot_file(char *);
char *set_boot_type(int);

#endif
