I'm a beginner with JAVA programming.
I try to make a JAVA API to comunicate with a
XS-1541 device to read whole diskettes into a D64 image file. Cause Java didn#t have own serial support for Win32 I use this RXTX library.
This RXTX works fine up to the moment data flow is very fast. It is a problem of RXTX or JAVA maybe, cause XS-1541 with Hyperterm work perfectly.
XS-1541 uses floppy code from OpenCBM to read fast. OpenCBM supports different protocolls:
+ S1 - slow
+ S2 faster
+ PAR for parallel floppyies
RXTX seems to loose chars if communication run permanently or big data blocks. S1 and S2 works fine, with PAR floppy send a whole track in 600ms (3 rotations, interleave 1:3).
In this RXTX lib I have tried all to get it run. Input buffers are 16K, so a whole track fit without troubles.
Any idea how to get a working serial communication under JAVA?
_________________
Final Expansion 3, the most powerful cartridge for your VIC-20