File:
[RetroPC.NET] /
np2 /
romimage /
DEBUG.MAC
Revision
1.1:
download - view:
text,
annotated -
select for diffs
Wed Dec 10 21:48:08 2003 JST (21 years, 10 months ago) by
yui
Branches:
MAIN
CVS tags:
VER_0_82_x64,
VER_0_82,
VER_0_81A,
VER_0_81,
VER_0_80,
VER_0_79,
VER_0_78,
VER_0_77,
VER_0_76,
VER_0_75,
VER_0_74,
VER_0_73,
HEAD
add ITF Images (T.Yui)
; MS-DOSで himem, EMS使うと システムメモリ情報がリセットされるので
; 初期値を与えておく
DEBUG_UNDER16 equ 0 ; 14
DEBUG_OVER16 equ 0 ; (128-16)
ifdef MSDOS
DEBUG_INIT macro
push 0
pop es
mov al, DEBUG_UNDER16 * 8
xchg al, es:[MEM_EXPMMSZ]
mov ds:[BAK_UNDER16], al
mov ax, DEBUG_OVER16
xchg ax, es:[MEM_EXTMSZ]
mov ds:[BAK_OVER16], ax
endm
DEBUG_TERM macro
push 0
pop es
mov al, DEBUG_UNDER16 * 8
mov al, ds:[BAK_UNDER16]
mov es:[MEM_EXPMMSZ], al
mov ax,ds:[BAK_OVER16]
mov es:[MEM_EXTMSZ], ax
endm
endif
RetroPC.NET-CVS <cvs@retropc.net>