The memdisk install code previously controlled EDD features by controlling
how many INT 13 functions were available. Since we have EDD and non-EDD
versions of the memdisk hooking code now, this is no longer needed.
mov bp,sp ; Point BP to the entry stack frame
TRACER 'F'
; Note: AH == P_AH here
- cmp ah,[Int13MaxFunc]
+ cmp ah,[Int13FuncsCnt-1]
ja Invalid_jump
xor al,al ; AL = 0 is standard entry condition
mov di,ax
MDI_Len equ $-MemDisk_Info
; ---- MDI structure ends here ---
-Int13MaxFunc db Int13FuncsCnt-1 ; Max INT 13h function (to disable EDD)
- db 0 ; pad
-
- dw 0 ; pad
MemInt1588 dw 0 ; 1MB-65MB memory amount (1K)
Cylinders dw 0 ; Cylinder count
uint16_t dpt_ptr;
/* End of the official MemDisk_Info */
- uint8_t maxint13func;
- uint8_t _pad2;
-
- uint16_t _pad3;
uint16_t memint1588;
uint16_t cylinders;