Re: Test Serial Ports Program on Vista?
Andy Drummond wrote:
>
> Al Getz wrote:
> >
> > Andy Drummond wrote:
> > >
> > > Al Getz wrote:
> > > >
> > > > Andy Drummond wrote:
> > > > >
> > > > > Larry Miller wrote:
> > > > > >
> > > > > > Al Getz wrote:
> > > > > > >
> > > > > > > Hello,
> > > > > > >
> > > > > > > Anyone care to test serial com ports on Vista?
> > > > > > >
> > > > > > > I had Vista on a new computer a while back but i didnt like it
> > > > > > > at all and so took the thing back to the store.
> > > > > > >
> > > > > > > Anyway, the reason im asking this is because the usual serial com
> > > > > > > port
> > > > > > > assembler code works just fine in an .ex program but fails in an
> > > > > > > .exw
> > > > > > > program. The code always fails at the 'output port,al' (or
> > > > > > > similar)
> > > > > > > assm code instruction because Windows XP wont allow the Euphoria
> > > > > > > poked assmebler code to access the USART chips i/o ports using
> > > > > > > .exw
> > > > > > > programs (works ok with .ex programs). I would like to use .exw
> > > > > > > programs in Euphoria because i want the Windows gui interface,
> > > > > > > but im wondering now if even .ex programs work on Vista.
> > > > > > > I know there are other ways around this but i really want to use
> > > > > > > this method at least for now.
> > > > > > >
> > > > > > > I have a test program i can send you or post to the archive if
> > > > > > > you would like to try it on either WinXP or WinVista.
> > > > > > >
> > > > > > > Thanks in advance.
> > > > > > >
> > > > > > >
> > > > > > > Al
> > > > > > >
> > > > > > > E boa sorte com sua programacao Euphoria!
> > > > > > >
> > > > > > >
> > > > > > > My bumper sticker: "I brake for LED's"
> > > > > > >
> > > > > >
> > > > > > The problem is that NT platforms do not allow an application to
> > > > > > directly
> > access</font></i>
> > > > > > the hardware. This was permitted but discouraged on Win9x. But it is
> possible</font></i>
> > > > > > to do this with a DLL. There are a number of demo's in the archive
> > > > > > that
> do</font></i>
> > > this.</font></i>
> > > > > > I have not tried them.
> > > > > >
> > > > > > Larry Miller
> > > > >
> > > > >
> > > > > I have used the PCOMM.DLL for some time on Win XP quite happily.
> > > > > Obviously it needs the usual Euphoria interface work, but that is
> > > > > quite conventional; I have such a file if anyone wants it sent to
> > > > > them. But i never found any of the older serial port drivers worked
> > > > > at all on XP. I assume Vista (if anyone uses it) will accept it too.
> > > >
> > > > Hi Andy,
> > > >
> > > >
> > > > Did you try running them as .ex programs instead of .exw programs?
> > > > As .ex they seem to work, but as .exw they dont.
> > > > Sometimes i want to interface directly with the 16650 UART chips
> > > > (for special external hardware tests)
> > > > so i want this capability and apparently it works on Vista too as
> > > > reported by Quark.
> > > >
> > > >
> > > > Al
> > > >
> > > > E boa sorte com sua programacao Euphoria!
> > > >
> > > >
> > > > My bumper sticker: "I brake for LED's"
> > > >
> > >
> > > Al,
> > > I have not written any .ex programs for ages;
> > > once I started with WinLib & Judith's IDE, coding
> > > for Windows has been easy! So yes, I had no bother
> > > with Windows (XP anyway). My only problem was the
> > > tim eit takes Windows to pass back received data
> > > to the caller; 30mSec or so, which makes serial comm
> > > protocols a bit like hard work. I interface to external
> > > UARTs through the PC UARTs which are presumably 16550's.
> > > I have a general purpose Terminal program written using
> > > the PCOMM.dll, and it is fine.
> > > If you'd like anything sent to you, email me on:
> > > andy at kestreltele.com
> > > then I'll get it without having to remember to go to the
> > > forum - which I forget to do when I'm busy!
> > >
> > > Andy
> >
> >
> > Hi Andy,
> >
> > Perhaps you could describe this PCOMM.dll a bit more.
> > Also, is the source code available for it? I would
> > want to take a look at that before using it.
> >
> > And yes, the typical part number is 16550 not 16650,
> > but i've been reading about the older 8250 on up to 16750
> > and apparently the higher numbers always default to the
> > lower number parts functionality, so i guess you could
> > expect to get the same out of a 16650 as you do with
> > a 16550 but with extra features, and the 16750 would
> > have what the 16650 has but with more extra features.
> >
> >
> > Al
> >
> > E boa sorte com sua programacao Euphoria!
> >
> >
> > My bumper sticker: "I brake for LED's"
> >
>
> Al,
>
> I think that I got the PCOMM.DLL off the Euphoria
> contributions page! About 2001 - that's the file date.
> I assume it is still around, but if not - well, I have
> it and the PCOMM.ew and my (pretty rough) Terminal.ew
> all zipped up ready for anyone who wants it.
> As for source no, I have none. I don't know for sure
> that PCOMM.DLL was not a purchased item put on the
> contribs by its purchaser. I have no information about
> it beyond ...... aahhh!!! I have someplace a documentation
> file - I have a printout of it here in my hand! Let me go
> hunt for it ... Aha! Yes, it was all in a zip file which
> I seem to have as ser_comm.zip, and therefore I am sure
> you'll find it in the archive. Yes, I have found it:
>
> WIN Serial Communications 82K Kondor Attila May 2/05
>
> Go get it and see what you think. I guarantee it works on XP!
>
> Andy
Thanks Andy, i'll take a look.
Take care,
Al
E boa sorte com sua programacao Euphoria!
My bumper sticker: "I brake for LED's"
From "Black Knight":
"I can live with losing the good fight,
but i can not live without fighting it".
"Well on second thought, maybe not."
|
Not Categorized, Please Help
|
|