ローメモリのチェック
朧厶リ
;--- BIOS work --- j31
_bios segment at 0
org 0449h
vmode db ? ; 449h v mode
width dw ? ; 44Ah 桁数
; 'scrnIBM.asm'
INBLK equ 80h
dosscrn_sx equ 044Ah ;50h=80 ; ##156.123 桁数
dosscrn_sy equ 0484h ;19h=25 行数
dosscrn_chr equ 0485h ;13h=19 フォント高さ
VZのDUMP.DEF $40:$0 $40:$4a $40:$84
?? DUMP (0040h) ????????????????????????????????????????????????????????????
? 0000: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ゥゥゥゥゥゥゥゥ ?
? 0010: 00 00 00 00 00 00 00 20-00 00 02 00 02 00 30 52 ゥゥゥ・ ゥゥゥ0R ?
? 0020: 0D 1C 00 51 00 51 00 51-00 51 00 51 00 51 00 51 ゥ・Q・Q・Q・Q・Q・Q・Q ?
? 0030: 1B 01 00 48 0F 18 64 20-00 48 00 48 3A 28 00 00 ゥ・Hゥd ・H・H:(ゥ ?
? 0040: 00 00 00 00 00 00 00 00-00 03 50 00 60 4A 00 00 ゥゥゥゥゥP・`Jゥ ?
$40:$4a ^^ 桁4Ah=50h=80 0:$44a
? 0050: 06 03 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ゥゥゥゥゥゥゥゥ ?
? 0060: 07 26 00 D4 03 05 00 00-00 00 00 00 7B 0A 1C 00 ・&ピゥゥゥゥ{ゥ・ ?
? 0070: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ゥゥゥゥゥゥゥゥ ?
? 0080: 1E 00 3E 00 18 0C 00 00-09 99 00 00 00 00 00 00 ゥ>ゥゥゥゥゥゥ・ ?
行 $40:$84 18h=24 ^^ ^^ 高さ$40:$85 0Ch=12
? 0090: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ゥゥゥゥゥゥゥゥ ?
????????????????????????????????????????????????????????????????????????????
IBM: ;★ VTDOS対応の為ここで IBM 機種チェック
MOV AX,0040H
MOV DS,AX
MOV AX,WORD PTR DS:[004AH] ; 桁数
MOV AH,AL
MOV AL,BYTE PTR DS:[0084H] ; 行数