2008-08-07 14:26:07 +02:00
|
|
|
|
|
|
|
#ifndef _DOS_H_
|
|
|
|
#define _DOS_H_
|
|
|
|
|
|
|
|
#define LOGERROR 1
|
|
|
|
|
|
|
|
/* Function prototypes */
|
|
|
|
int load_file(char *filename, char *buf, int size);
|
|
|
|
int save_file(char *filename, char *buf, int size);
|
|
|
|
void dos_update_input(void);
|
|
|
|
void dos_update_audio(void);
|
|
|
|
void dos_update_palette(void);
|
|
|
|
void dos_update_video(void);
|
|
|
|
void init_machine(void);
|
|
|
|
void trash_machine(void);
|
|
|
|
void make_vdp_palette(void);
|
|
|
|
void dos_change_mode(void);
|
|
|
|
int check_key(int code);
|
|
|
|
|
2008-08-21 22:34:00 +02:00
|
|
|
#define update_input() dos_update_input()
|
|
|
|
#define MAX_INPUTS 8
|
|
|
|
|
2008-08-07 14:26:07 +02:00
|
|
|
extern uint8 debug_on;
|
|
|
|
extern uint8 log_error;
|
2008-08-21 22:34:00 +02:00
|
|
|
|
2008-08-07 14:26:07 +02:00
|
|
|
#endif /* _DOS_H_ */
|
|
|
|
|