mirror of https://github.com/nmlgc/ReC98.git
25 lines
636 B
PHP
25 lines
636 B
PHP
|
; Redefined versions of master.lib's grcg_setmode() and grcg_setcolor().
|
||
|
|
||
|
GRCG_SETMODE_RMW_DEF macro instance
|
||
|
; void grcg_setmode_rmw(void);
|
||
|
public _grcg_setmode_rmw_&instance
|
||
|
_grcg_setmode_rmw_&instance proc near
|
||
|
GRCG_SETMODE_VIA_MOV al, GC_RMW
|
||
|
ret
|
||
|
_grcg_setmode_rmw_&instance endp
|
||
|
nop
|
||
|
endm
|
||
|
|
||
|
GRCG_SETCOLOR_DIRECT_NOINT_DEF macro instance
|
||
|
; Takes the GC_* color parameter in AH.
|
||
|
|
||
|
; void grcg_setcolor_direct_noint(void);
|
||
|
public _grcg_setcolor_direct_noint_&instance
|
||
|
_grcg_setcolor_direct_noint_&instance proc near
|
||
|
cli
|
||
|
GRCG_SETCOLOR_DIRECT_CLOBBERING dx, ah
|
||
|
sti
|
||
|
ret
|
||
|
_grcg_setcolor_direct_noint_&instance endp
|
||
|
endm
|