2020-10-10 13:03:04 +00:00
|
|
|
/* ReC98
|
|
|
|
* -----
|
|
|
|
* TH01-specific extensions to planar.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
// *Not* grcg_*, because they fully abstract away the GRCG's existence
|
|
|
|
#define vram_erase(offset, dots, bit_count) \
|
|
|
|
grcg_setcolor_rmw(0); \
|
|
|
|
grcg_put(offset, dots, bit_count); \
|
2024-05-17 12:15:24 +00:00
|
|
|
grcg_off_func();
|
2020-10-10 13:03:04 +00:00
|
|
|
|
|
|
|
#define vram_erase_on_0(offset, dots, bit_count) \
|
|
|
|
grcg_setcolor_rmw(0); \
|
|
|
|
graph_accesspage_func(0); \
|
|
|
|
grcg_put(offset, dots, bit_count); \
|
2024-05-17 12:15:24 +00:00
|
|
|
grcg_off_func();
|