Displaying 1 result from an estimated 1 matches for "swap_boot".
Did you mean:
snap_root
2002 Jul 11
1
help with porting patch from 1.62 to 1.75
...ck 0, sector 1
+ xor dh,dh ; head 0
+ mov dl,81h ; second hard drive
+ int 13h
+ pop bx
+ jnc swap_read_ok
+ call crlf
+ mov si,swap_failed
+ jmp abort_load
+swap_read_ok:
+
+ mov bx,[bsBytesPerSec]
+ mov ax,[bx+trackbuf-2]
+ cmp ax,0AA55h ; Boot sector signature
+ je swap_bootsec_ok
+ jmp bad_bootsec
+swap_bootsec_ok:
+
+ call crlf
+ mov si,swap_booting
+ call cwritestr
+
+ push es
+
+ mov ax,[413h] ; Memory size in kBytes
+ dec ax ; reserve 1 kByte
+ mov [413h],ax
+ mov cl,6 ; convert to paragraphs
+ shl ax,cl
+ mov es,ax...