Displaying 1 result from an estimated 1 matches for "swap_name".
2002 Jul 11
1
help with porting patch from 1.62 to 1.75
...d run the new one
;
+into_bootsec:
call vgaclearmode ; Reset video
cli ; Point of no return
@@ -4162,6 +4164,91 @@
linear_color db 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0
UsingVGA db 0
+;
+; Check for magic "swap" kernel -- wingel
+;
+check_for_swap:
+ mov si,swap_name
+ mov di,KernelName
+ mov cx,11
+ repe cmpsb
+ je is_swap
+ ret
+
+is_swap:
+ call crlf
+ mov si,swap_loading
+ call cwritestr
+
+ push bx
+ mov ax,0201h ; read disk, 1 sector
+ mov bx,trackbuf
+ mov cx,1 ; track 0, sector 1
+ xor dh,dh ; head 0
+ mov...