ReC98/th01/hardware/graph_page.asm

25 lines
377 B
NASM
Raw Normal View History

public _graph_showpage_func, _graph_accesspage_func
_graph_showpage_func proc far
@@page = byte ptr 6
push bp
mov bp, sp
graph_showpage [bp+@@page]
pop bp
retf
_graph_showpage_func endp
_graph_accesspage_func proc far
@@page = word ptr 6
push bp
mov bp, sp
mov bx, [bp+@@page]
mov _page_back, bl
graph_accesspage bl
pop bp
retf
_graph_accesspage_func endp