diff --git a/master.hpp b/master.hpp index 27e81873..2b733f98 100644 --- a/master.hpp +++ b/master.hpp @@ -252,6 +252,19 @@ void MASTER_RET js_end(void); int MASTER_RET js_sense(void); // -------- +// Keyboard +// -------- + +void MASTER_RET key_start(void); +void MASTER_RET key_end(void); + +void MASTER_RET key_beep_on(void); +void MASTER_RET key_beep_off(void); +int MASTER_RET key_sense(int keygroup); + +unsigned MASTER_RET key_sense_bios(void); +// -------- + // Heap // ---- diff --git a/th01/main_01.cpp b/th01/main_01.cpp index ec99f564..e4a4954c 100644 --- a/th01/main_01.cpp +++ b/th01/main_01.cpp @@ -4,7 +4,8 @@ */ extern "C" { -#include "ReC98.h" +#include "platform.h" +#include "master.hpp" #include "pc98kbd.h" #include "th01/hardware/input.hpp" #include "th01/main/bomb.hpp" diff --git a/th02/maine021.cpp b/th02/maine021.cpp index 847d35d8..6008ebd3 100644 --- a/th02/maine021.cpp +++ b/th02/maine021.cpp @@ -6,7 +6,11 @@ #pragma codeseg SHARED extern "C" { -#include "th02/th02.h" +#include +#include "platform.h" +#include "pc98.h" +#include "planar.h" +#include "master.hpp" #include "th02/hardware/frmdelay.h" #include "th02/hardware/keydelay.c"