mirror of https://github.com/nmlgc/ReC98.git
[Maintenance] master.hpp transition: EGC-accelerated VRAM shift functions
Part of P0185, funded by [Anonymous], -Tom-, and Blue Bolt.
This commit is contained in:
parent
c63e05ed2d
commit
78dcbf4b75
15
master.hpp
15
master.hpp
|
@ -129,6 +129,21 @@ void MASTER_RET egc_start(void);
|
||||||
// TODO: Document and add helpful macros for the EGC raster ops
|
// TODO: Document and add helpful macros for the EGC raster ops
|
||||||
#define egc_setrop(mode_rop) \
|
#define egc_setrop(mode_rop) \
|
||||||
outport(EGC_MODE_ROP_REG, mode_rop)
|
outport(EGC_MODE_ROP_REG, mode_rop)
|
||||||
|
|
||||||
|
#ifdef PC98_H
|
||||||
|
void MASTER_RET egc_shift_down(
|
||||||
|
screen_x_t x1, vram_y_t y1, screen_x_t x2, vram_y_t y2, pixel_t dots
|
||||||
|
);
|
||||||
|
void MASTER_RET egc_shift_left(
|
||||||
|
screen_x_t x1, vram_y_t y1, screen_x_t x2, vram_y_t y2, pixel_t dots
|
||||||
|
);
|
||||||
|
void MASTER_RET egc_shift_right(
|
||||||
|
screen_x_t x1, vram_y_t y1, screen_x_t x2, vram_y_t y2, pixel_t dots
|
||||||
|
);
|
||||||
|
void MASTER_RET egc_shift_up(
|
||||||
|
screen_x_t x1, vram_y_t y1, screen_x_t x2, vram_y_t y2, pixel_t dots
|
||||||
|
);
|
||||||
|
#endif
|
||||||
// ---
|
// ---
|
||||||
|
|
||||||
// EMS
|
// EMS
|
||||||
|
|
Loading…
Reference in New Issue