This was quite unexpected way of reading mouse..
It reads JOY0DAT every line (not frame, line!) and only checks if difference compared to previous read is negative or positive. (mouse movement speed -1, 0 or 1)
UAE only updates mouse counters few times per frame which isn't really compatible with this weird method
Will be fixed soon..