Re: Test Serial Ports Program on Vista?

new topic     » topic index » view thread      » older message » newer message

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
> > > the hardware. This was permitted but discouraged on Win9x. But it is
> > > possible
> > > to do this with a DLL. There are a number of demo's in the archive that do
> > > this.
> > > 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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu