Re: SPI to RS232 Conversion
- From: "miso@xxxxxxxxx" <miso@xxxxxxxxx>
- Date: Mon, 13 Jul 2009 18:25:53 -0700 (PDT)
On Jul 13, 12:34 pm, Nobody <nob...@xxxxxxxxxxx> wrote:
On Mon, 13 Jul 2009 00:54:16 -0700, m...@xxxxxxxxx wrote:
There was a library that would work in win98 that would allow you do
program the registers of the UART directly, which you could set the
handshake lines. It didn't work in anything more advanced.
One thing to investigate is DOSBOX. It plays old DOS games, something
I never thought could be done. I'm playing Redneck Rampage on X64. It
might have better latency than using a modern windows OS.
On which OS are you planning on running DOSBox? It can't do any better
than what the OS permits. If you're using any NT-based version of Windows
(NT,2K,XP,Vista,7), direct access to the ports isn't available unless you
write a kernel-mode device driver.
If you need direct port access, DOSEmu on Linux is probably the best
option. Direct access to ports below 0x400 can be enabled via the CPU's
io-port bitmap; once enabled, inb/outb instructions will access the port
directly without involving a kernel trap or any kind of emulation.
Well, I was hoping DOSBOX did some magic. The software I generally run
alongside my dos app doesn't work well in wine. I will check out
DOSEmu. I see the documentation is nonexistent.
I gather I'd have to chown the port to the user running DOESEmu to get
direct access.
.
- Follow-Ups:
- Re: SPI to RS232 Conversion
- From: Nobody
- Re: SPI to RS232 Conversion
- References:
- SPI to RS232 Conversion
- From: Artist
- Re: SPI to RS232 Conversion
- From: Joerg
- Re: SPI to RS232 Conversion
- From: miso@xxxxxxxxx
- Re: SPI to RS232 Conversion
- From: Nobody
- SPI to RS232 Conversion
- Prev by Date: Re: Silly resistor values
- Next by Date: Re: Silly resistor values
- Previous by thread: Re: SPI to RS232 Conversion
- Next by thread: Re: SPI to RS232 Conversion
- Index(es):
Relevant Pages
|