Re: SPI to RS232 Conversion



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.
.



Relevant Pages

  • Why to up/not grade to/from W98 (was: new Pulsonix version 3 PCB software released)
    ... > direct access to the serial chip. ... > port is blocked. ... and reading BOT/EOT markers and the raw MFM. ... calibration against CPU clock speed and unfettered raw access to ...
    (comp.arch.embedded)
  • Re: SPI to RS232 Conversion
    ... Direct access to ports below 0x400 can be enabled via the CPU's ... I gather I'd have to chown the port to the user running DOESEmu to get ... I/O ports don't have individual device files. ... DOSemu uses iopermto ...
    (sci.electronics.design)
  • Re: WinVista as Host for C64?
    ... allow for direct access to the printer port which X-cables tend to use. ... The main thing is not emulating. ... So the main thing is the software has to support the interface cable/device ...
    (comp.sys.cbm)
  • Re: DAC software
    ... Win95/98/ME allows the direct access to ports with the interrupts disabled. ... There are the special drivers for the port hacking in WinNT/2k/XP. ... solution using the dos found on the windows boot disk. ...
    (sci.electronics.design)
  • Re: DTR _outp( 0x3F8 + 4, 1 )
    ... I don't have to use anything special to gain direct access ... to the port, so giveio is not needed. ... int main(int argc, char **argv) ...
    (comp.programming)