Re: [Freedos-user] Com1: corruption from PS2 mouse

2014-11-23 Thread Dinosaur
Hi All TJ, thanks for those tests. Opening a port for Random is an old habit that allows Input or output. Probably dropping that will mean the same result. What can I say Old habits die hard Your comment on the buffer is one that I will definitely take on board. Had not tried that. At the rate

Re: [Freedos-user] Com1: corruption from PS2 mouse

2014-11-22 Thread Tom Ehlert
The serial port is opened in FreeBasic with : Open Com COM1:38400,n,8,1,cs0,ds0,cd0,rs For Random As #CP FreeBasic doesn't support FIFO, and most likely no IRQ. try Open Com COM1:600,n,8,1,cs0,ds0,cd0,rs For Random As #CP and see if that changes your problem. Tom

Re: [Freedos-user] Com1: corruption from PS2 mouse

2014-11-22 Thread Tom Ehlert
FreeBasic doesn't support FIFO, and most likely no IRQ. try Open Com COM1:600,n,8,1,cs0,ds0,cd0,rs For Random As #CP and see if that changes your problem. sorry, not true. FreeBasic seems to use IRQ, but not FIFO. anyway, try Open Com COM1:600,n,8,1,cs0,ds0,cd0,rs For

Re: [Freedos-user] Com1: corruption from PS2 mouse

2014-11-22 Thread Bret Johnson
The mouse is a USB, but with a usb to PS2 adapter works on the PS@ port. I want to clarify this again, since some people who may have valid ideas on things to try may simply be throwing up their hands and saying, This is a USB problem, and I don't know anything about USB. Your mouse is not

Re: [Freedos-user] Com1: corruption from PS2 mouse

2014-11-22 Thread Dinosaur
Hi All Bret Johnson wrote I should also point out that the combination USB/PS2 mice were pretty common back when USB first came out (mid 1990's), but not so much any more. Most modern mice only do USB and not PS2. If you try to put one of those USB-to-PS2 adapters on a pure USB mouse, it

Re: [Freedos-user] Com1: corruption from PS2 mouse

2014-11-22 Thread TJ Edmister
On Sat, 22 Nov 2014 07:33:47 -0500, Tom Ehlert t...@drivesnapshot.de wrote: FreeBasic doesn't support FIFO, and most likely no IRQ. try Open Com COM1:600,n,8,1,cs0,ds0,cd0,rs For Random As #CP and see if that changes your problem. sorry, not true. FreeBasic seems to use IRQ,

Re: [Freedos-user] Com1: corruption from PS2 mouse

2014-11-22 Thread TJ Edmister
On Sun, 23 Nov 2014 00:55:42 -0500, TJ Edmister damag...@hyakushiki.net wrote: There is an argument that can be passed in the Open Com statement to specify a buffer size. Is it supported in DOS? Maybe I will have to whip out FB DOS compiler and experiment. BTW, I'm not sure why you are

Re: [Freedos-user] Com1: corruption from PS2 mouse

2014-11-21 Thread Tom Ehlert
More detail: The rs232 port Com1: is connected via a Null modem cable to an Adam 232 to 485 converter. In the Bios I have Com2 to 3 disabled. An IRQ clash is possible if Cutemouse uses IRQ4 from Com1. My next step is to try different mouse drivers, unless I get more suggestions. there

Re: [Freedos-user] Com1: corruption from PS2 mouse

2014-11-21 Thread Bret Johnson
Let me make sure I understand the mouse/keyboard setup correctly. I think you are saying that you are using a USB mouse, but you have it plugged in at the end of a PS2 Y cable. If that's the case, it's not actually a USB mouse. It's probably a mouse that can either do USB or PS2, and it's

Re: [Freedos-user] Com1: corruption from PS2 mouse

2014-11-21 Thread Dinosaur
Hi All Many thanks for the replies. I am using a third party library CGUI to develop and draw the GUI. But I am fairly confident that it uses Interupt / event driven control of the mouse. The mouse is a USB, but with a usb to PS2 adapter works on the PS@ port. The ctmouse that I first used was

Re: [Freedos-user] Com1: corruption from PS2 mouse

2014-11-20 Thread Christopher Evans
Venturing an guess of an IRQ conflict with rs485 and the usb hardware? -- -chris Computer Consultant, Programmer PC Technician Digitalatoll Solutions Group (Tawhaki Software) http://digitalatoll.com/ http://tawhakisoft.com/ Cell: 916-612-6904 On Nov 19, 2014 11:11 PM, Dinosaur

Re: [Freedos-user] Com1: corruption from PS2 mouse

2014-11-20 Thread Dinosaur
Hi All More detail: The rs232 port Com1: is connected via a Null modem cable to an Adam 232 to 485 converter. In the Bios I have Com2 to 3 disabled. An IRQ clash is possible if Cutemouse uses IRQ4 from Com1. My next step is to try different mouse drivers, unless I get more suggestions. -

Re: [Freedos-user] Com1: corruption from PS2 mouse

2014-11-20 Thread Ralf Quint
On 11/20/2014 9:49 PM, Dinosaur wrote: An IRQ clash is possible if Cutemouse uses IRQ4 from Com1. IRQ4 is the default for COM1 (and COM3) ever since the IBM PC, likewise IRQ3 is assigned by default to COM2 and COM4. This is a BIOS/Industry standard ever this the original IBM PC, nothing

[Freedos-user] Com1: corruption from PS2 mouse

2014-11-19 Thread Dinosaur
Hi All Have a usb mouse with usb/ps2 converter on a Y ps2 cable. This cable is supplied by the Industrial cpu board supplier, and it allows a ps2 mouse on one leg of the Y, and a ps2 keyboard on the other. Pure FreeDos install on a booting compact flash. The installation has cutemouse installed