; SRDISK - EMS memory device driver specific code
; Copyright (C) 1993-1996, 2005 Marko Kohtala
; Released under GNU GPL, read the file 'COPYING' for more information

; EMS 3.2

%define MEMSTR 'EMS3'      ; Define 4 char memory type string
MAX_SIZE equ 7FFFh      ; Maximum possible size
ALLOCBLOCK equ 16       ; Memory allocation block size

;=== Push trace listing source: ems.mac
%include "ems.mac" ; NASM included file
;=== Pop trace listing source
METHOD equ 3

EMS_alloc_s struc       ; Changing this structure needs changes in srdisk.exe
EMS_handle      dw ? ; -1           ; EMS handle to disk memory (-1=no handle)
EMS_frame       dw ?            ; EMS page frame segment
EMS_alloc_s ends
