search for: dont_swap

Displaying 1 result from an estimated 1 matches for "dont_swap".

2002 Jul 11
1
help with porting patch from 1.62 to 1.75
...T13 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 + ; --------------------------------------------------------------------------- ------- ; Begin data section ; -------------------------------------------...