joergp@gmdzi.UUCP (Joerg Prust) (07/04/90)
Is there anybody out there who has experience with device access on MS-Dos platforms? I am trying to communicate with a transputerboard via a character-based driver. This driver doesn't make any problems when it is used by C or Pascal or whatever (Dos creates filehandle and this is used transparently to access the transputerboard as a file). Now in Objectworks things are different: When I create an IOAccessor on the driver and implement the board as an ExternalConnection (unbuffered), I am able to boot the board, but subsequent reads fail after 105 (??) Bytes, so I have to close and reopen the IOAccessor. The strange thing is that the read-request doesn't reach the driver, instead the primitive in primReadInto... returns immediately and signals an error. The booted code simply spills bytes forever, so the board is ready at any time to deliver data. Can anybody give me a hint how to solve this, or do I really have to buy the expensive C Compiler just to write two primitives? Thanks in advance Joerg Prust Expert System Research Group German National Research Center for Computer Science Schloss Birlinghoven P.O. Box 1240 5205 Sankt Augustin 1 West Germany Tel.: (+2241) 142675 E-mail: joergp@gmdzi.gmd.de Fax: (+2241) 142618