mirror of https://github.com/nmlgc/ReC98.git
25 lines
377 B
NASM
25 lines
377 B
NASM
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
|