search for: bsdrivenumb

Displaying 2 results from an estimated 2 matches for "bsdrivenumb".

Did you mean: bsdrivenumber
2002 Aug 07
0
Boot failed
...e 284 <----- ... ; ; DS:SI may contain a partition table entry. Preserve it for us. ; mov cx,8 ; Save partition info mov di,sp rep movsw mov ds,ax ; Now we can initialize DS... mov [di+bsDriveNumber-FloppyTable],dl and dl,dl ; If floppy disk (00-7F), assume no js harddisk ; partition table ... MODIFIED ----> starting at line 284 <----- ... ; ; DS:SI may contain a partition table entry. Preserve it for us. ; mov...
2002 Jul 11
1
help with porting patch from 1.62 to 1.75
...4eh] ; real INT13 segment + mov [es:real_int13+2],ax + + mov si,swap_int13 ; copy our INT13 handler + xor di,di + mov cx,swap_int13_len + repz movsb + + xor ax,ax ; install our INT 13 handler + mov [4ch],ax ; offset + mov [4eh],es ; segment + + pop es + + call crlf + + mov byte [bsDriveNumber],80h + + jmp into_bootsec + +swap_int13: + ; swap drives + cmp dl,80h + jb dont_swap + cmp dl,81h + ja dont_swap + xor dl,1h +dont_swap: + jmp far [cs:real_int13] +swap_int13_len equ $-swap_int13 + +real_int13 equ 256*3 + ; ---------------------------------------------------------------...