Avoid sys warning and have a VDISK signature in the HMA

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@205 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2001-04-22 01:19:34 +00:00
parent cb13571dab
commit 6882b1b13d
3 changed files with 18 additions and 14 deletions

View File

@ -30,6 +30,9 @@
; $Id$
;
; $Log$
; Revision 1.6 2001/04/22 01:19:33 bartoldeman
; Avoid sys warning and have a VDISK signature in the HMA
;
; Revision 1.5 2001/04/15 03:21:50 bartoldeman
; See history.txt for the list of fixes.
;
@ -85,13 +88,10 @@
%ifndef SYS
%include "..\kernel\segs.inc"
segment HMA_TEXT
%else
group TGROUP HMA_TEXT _TEXT
segment _TEXT class=CODE
segment HMA_TEXT class=CODE
%endif
segment HMA_TEXT
segment _TEXT class=CODE
%endif
;
;
; Reset both the diskette and hard disk system

View File

@ -62,7 +62,7 @@
%include "..\kernel\segs.inc"
segment INIT_TEXT
segment HMA_TEXT
;
;COUNT ReadATClock(bcdDays, bcdHours, bcdMinutes, bcdSeconds)

View File

@ -28,8 +28,8 @@
; $Id$
;
; $Log$
; Revision 1.10 2001/04/21 22:32:53 bartoldeman
; Init DS=Init CS, fixed stack overflow problems and misc bugs.
; Revision 1.11 2001/04/22 01:19:34 bartoldeman
; Avoid sys warning and have a VDISK signature in the HMA
;
; Revision 1.9 2001/04/15 03:21:50 bartoldeman
; See history.txt for the list of fixes.
@ -665,12 +665,16 @@ __HMATextAvailable
__HMATextStart:
;
; the HMA area is filled with 16+22(=sizeof VDISK) = 32 byte dummy data,
; so nothing will ever be below 0xffff:25
; the HMA area is filled with 1eh+3(=sizeof VDISK) = 33 byte dummy data,
; so nothing will ever be below 0xffff:0031
;
segment HMA_TEXT
times 16 db 0 ; filler [ffff:0..ffff:10]
times 22 db 0 ; filler [sizeof VDISK info]
segment HMA_TEXT
begin_hma:
times 13h db 0 ; filler [ffff:0..ffff:12]
db 'VDISK',0 ; VDISK3.3 signature at ffff:0013
times (2eh-($-begin_hma)) db 0
dw 1088 ; 0x2e: first free kb position for extended memory
db 0
init_ret_np: push ds
push word [retoff]