First commit with most sources

This commit is contained in:
Godzil
2018-05-21 08:48:53 +01:00
parent 2be3c740c9
commit 61b60f3068
53 changed files with 11137 additions and 0 deletions

44
mmvm/wwbios.h Normal file
View File

@@ -0,0 +1,44 @@
#ifndef _WWBIOS_H
#define _WWBIOS_H
#include <stdlib.h>
#include "../cpu/mytypes.h"
#include "../cpu/global.h"
#include "../cpu/cpu.h"
#ifdef __cplusplus
extern "C" {
#endif
enum {
INT_BIOS_EXIT=0x10,
INT_KEY,
INT_DISP,
INT_TEXT,
INT_SERIAL,
INT_SOUND,
INT_TIMER,
INT_SYSTEM,
INT_BANK,
};
void int_handler(int no);
void key_handler(int func_no);
void disp_handler(int func_no);
void text_handler(int func_no);
void serial_handler(int func_no);
void sound_handler(int func_no);
void timer_handler(int func_no);
void system_handler(int func_no);
void bank_handler(int func_no);
#ifdef __cplusplus
}
#endif
#endif