Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!rutgers!mcnc!ecsvax!bishop From: bishop@ecsvax.UUCP (Alan Bishop) Newsgroups: comp.os.minix Subject: Re: PS/2 bios hacks for wini - a question Message-ID: <4374@ecsvax.UUCP> Date: 31 Dec 87 06:59:42 GMT References: <21938@tis.llnl.gov> Reply-To: bishop@ecsvax.UUCP (Alan Bishop) Organization: NCSU (Student) Lines: 35 Summary: Here is diskint() 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---