[comp.os.minix] IBM PS/2 esdi_wini

dbx@olympic.atmos.colostate.edu (Doug Burks) (01/15/91)

Greetings,
     I've gotten a number of reports that my esdi_wini doesn't work for 16-bit
Minix 1.5.10.  I tried it this weekend and was unable to duplicate the reported
bug on my Model 70.  However, I was also unable to assemble the 'out_word' that
I posted with the driver.  I also posted that function without my brain fully
in gear, so that may be the problem.  So, let's try again.  Add the following
function to the following file(s) (I put it right after out_byte):

for klib88.x:                        for klib386.x:

_out_word:                           _out_word:
        pop     bx                           mov     edx,4(esp)
        pop     dx                           mov     ax,4+4(esp)
        pop     ax                           outw
        sub     sp,#2+2                      ret
        outw
        jmp     (bx)

A line ".define _out_word" must be added near the top of both files.  when you
re-compile the kernel, be sure to copy the appropriate klib(88|386).x to
klib.x, besides copying esdi_wini.c to wini.c.
     Since I have been unable to duplicate the bug, this comes with no
guarantee.  I'll only say that my version is working under 16-bit Minix 1.5.10.
If you try this and it still doesn't work, could you mail me a copy of your
'esdi_wini.c' and 'klib.x' so that I can check that the versions pulled off the
newsgroup match my versions?  By the way, has anyone successfully gotten this
running (besides lonely little me)?

Doug Burks                                     _O_
dbx@olympic.atmos.colostate.edu                 |<