2014-08-14 09:48:52 +00:00
|
|
|
; Hiper library
|
|
|
|
;
|
|
|
|
; Description:
|
|
|
|
; FM-R かどうかを check する
|
|
|
|
;
|
|
|
|
; Procedures/Functions:
|
|
|
|
; int check_machine_fmr( void );
|
|
|
|
;
|
|
|
|
; Parameters:
|
|
|
|
;
|
|
|
|
; Returns:
|
|
|
|
; ==0 : FM-R
|
|
|
|
; !=0 : not FM-R
|
|
|
|
;
|
|
|
|
; Binding Target:
|
|
|
|
; Microsoft-C / Turbo-C
|
|
|
|
;
|
|
|
|
; Running Target:
|
|
|
|
;
|
|
|
|
; Requiring Resources:
|
|
|
|
; CPU: 8086
|
|
|
|
;
|
|
|
|
; Notes:
|
|
|
|
;
|
|
|
|
; Compiler/Assembler:
|
|
|
|
; OPTASM 1.6
|
|
|
|
;
|
|
|
|
; Author:
|
|
|
|
; のろ/V(H.Maeda)
|
|
|
|
;
|
|
|
|
; Revision History:
|
|
|
|
; 94/ 3/25 Initial
|
|
|
|
|
2014-08-20 13:25:40 +00:00
|
|
|
func CHECK_MACHINE_FMR
|
2014-08-14 09:48:52 +00:00
|
|
|
mov AX,0ffffh
|
|
|
|
mov ES,AX
|
|
|
|
mov AX,0fc00h
|
|
|
|
sub AX,ES:[0003h]
|
|
|
|
ret
|
2014-08-20 13:25:40 +00:00
|
|
|
endfunc
|