[Maintenance] master.hpp transition: Keyboard functions

Part of P0133, funded by [Anonymous].
This commit is contained in:
nmlgc 2021-01-14 21:02:16 +01:00
parent c27e7a1b01
commit 27bf06751a
3 changed files with 20 additions and 2 deletions

View File

@ -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
// ----

View File

@ -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"

View File

@ -6,7 +6,11 @@
#pragma codeseg SHARED
extern "C" {
#include "th02/th02.h"
#include <dos.h>
#include "platform.h"
#include "pc98.h"
#include "planar.h"
#include "master.hpp"
#include "th02/hardware/frmdelay.h"
#include "th02/hardware/keydelay.c"