mirror of https://github.com/nmlgc/ReC98.git
41 lines
504 B
NASM
41 lines
504 B
NASM
|
; 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
|
||
|
|
||
|
check_machine_fmr proc
|
||
|
mov AX,0ffffh
|
||
|
mov ES,AX
|
||
|
mov AX,0fc00h
|
||
|
sub AX,ES:[0003h]
|
||
|
ret
|
||
|
endp
|