bae@ati.tis.llnl.gov (Hwa Jin Bae) (12/31/87)
Alan Bishop's bios_wini.c and bios_floppy.c use diskint() function but I can't find it anywhere. Does anyone know where it is? Or is it a new name for mpx88 interrupt routine disk_int ? Hwa Jin Bae "Don't follow leaders; watch the parking meters." Control Data Corporation bae@{ati,aftac}.tis.llnl.gov (Internet) 4234 Hacienda Drive {ames,ihnp4,lll-crg}!lll-tis!bae (UUCP) Pleasanton, CA 94566 hbae@plseca (smail)
bishop@ecsvax.UUCP (Alan Bishop) (12/31/87)
Ooops. It looks like I left it out. Here it is. ---diskint.s--- | This handles calling the BIOS for the floppy driver. | | The only entry point is _diskint .globl _diskint | This is called from C by: | status = diskint(AX, BX, CX, DX, ES) _diskint: push bp mov bp, sp | Get pointer to parameter table push es mov ax, 4(bp) | Load all parameters mov bx, 6(bp) mov cx, 8(bp) mov dx, 10(bp) mov es, 12(bp) int 0x13 | Call the BIOS movb al, ah | And pass back the result xorb ah, ah pop es pop bp ret ---end of diskint.s---