[Maintenance] master.hpp transition: EMS functions

Part of P0168, funded by Blue Bolt and rosenrose.
This commit is contained in:
nmlgc 2021-11-10 17:17:29 +01:00
parent dbd9e23bf9
commit 488115513c
1 changed files with 13 additions and 0 deletions

View File

@ -131,6 +131,19 @@ void MASTER_RET egc_start(void);
outport(EGC_MODE_ROP_REG, mode_rop) outport(EGC_MODE_ROP_REG, mode_rop)
// --- // ---
// EMS
// ---
unsigned MASTER_RET ems_allocate(unsigned long len);
int MASTER_RET ems_exist(void);
int MASTER_RET ems_read(unsigned handle, long offset, void far *mem, long size);
int MASTER_RET ems_setname(unsigned handle, const char MASTER_PTR * name);
unsigned long MASTER_RET ems_space(void);
int MASTER_RET ems_write(
unsigned handle, long offset, const void far *mem, long size
);
// ---
// Gaiji // Gaiji
// ----- // -----