VOGONS

Common searches


DirectSerial patch

Topic actions

Reply 102 of 353, by smile-

User metadata
Rank Newbie
Rank
Newbie

Hi h-a-l-9000

i have a problem using serial port and an old application for using it - mbus (i can upload it if you'd like)
the problem is that the serial driver receives local echo - i have nothing connected to port and the program receives everything that i send out - can this be disabled?

thanks for your answer...

matija

Reply 103 of 353, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

This should only happen if the program requests the loopback mode.
Which dosbox.exe were you using?
I don't see the error with this app:
http://www.m-bus.com/files/default.html

1+1=10

Reply 104 of 353, by smile-

User metadata
Rank Newbie
Rank
Newbie

i se the same application as you specified in the link & dosbox 0.63 + ser4
I fixed the local echo if there's nothing connected to port - one of my port spying hardware was the reason...
but the problem isn't over ...the mbus hardware chip also generates local echo...in win95 there isn't any problem with that...the program simply ignores it...where here it doesn't...so it must be something with the dosbox settings...
any idea how to fix that?

Reply 105 of 353, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Modem improvements:

- fix problem with space in dial command
- don't connect to yourself
- implement &k0 (no handshake) and &k3 (hardware handshake) commands
- set default to no handshake
- clear buffer on disconnect - improves reusability of modem
- implement predefined phone numbers:

dosbox.conf

[serial]
serial1=modem

phonelistsize=3
phone1=localhost:1023
phone2=xxxxx.dialin.net
phone3=192.168.0.1

Type 1 as phone number to connect to localhost:1023, it can also be changed in runtime.
(Maybe somebody knows better names for those variables?)

Thested succesful with:
Global Conquest
Warcraft 2
C&C
Retaliator
Tyrian
OMF
Descent 2
Armada
Radix

Tested unsuccessful with:
BARIS: connects but crashes after first turn (modem too fast?)
Doom (probably serial port problem)
Moo2 (as usual)
ttd (tries to use software handshake)

Attachments

  • Filename
    modempatch.txt
    File size
    19.62 KiB
    Downloads
    106 downloads
    File comment
    diff file
    File license
    Fair use/fair dealing exception
  • Filename
    dosbox.zip
    File size
    426.45 KiB
    Downloads
    103 downloads
    File comment
    Binary
    File license
    Fair use/fair dealing exception

Reply 106 of 353, by microdesigns

User metadata
Rank Newbie
Rank
Newbie

Boy, did I get lost through this jargon.
Sorry, my needs to get working a simple qb45 compiled exe
for a dumb terminal (not end application) using
com1 or com2! but either links in messages are wrong or I do not understand what to do (most likely) HELP!
Thanks,
Ray

Reply 108 of 353, by microdesigns

User metadata
Rank Newbie
Rank
Newbie

Device unavailable in module SERIAL at address 0088:005B
Device would be com1
Serial is the name of my compiled program
in Qb45 I write qbasic program that inits serial com port
then uses dos to check for any bytes in the FIFO
input then, and in my small program, write to screen.
My small program writes out anything I type to com port
and displays anything received.
So when I tie pins 2 & 3 on DB9 whatever I type goes out to com port
then back to my screen (full duplex)
But so far no luck.

Reply 111 of 353, by Alkarion

User metadata
Rank Member
Rank
Member

I tried your latest version with Stunt Driver and Warcraft 1 and both don't work. I can confirm that Tyrian and Command and Conquer work fine.

Stunt Driver seems to have serious problems since it doesn't even initialize the modem. Warcraft initializes the modem but then aborts dialing with the error "no carrier".

Reply 117 of 353, by aphuk

User metadata
Rank Newbie
Rank
Newbie

I have downloaded and unzipped dosbox_noisy.exe and dosbox.conf.

How do I use it please? Sorry but I am a newbie and chanced on this thread whilst trying to get a Serial port working for my old DOS application which I am using in DOSbox.

If someone points me at a README then I will disappear to there!!