VOGONS

Common searches


DirectSerial patch

Topic actions

Reply 300 of 353, by tijeff

User metadata
Rank Newbie
Rank
Newbie

My second dosbox is receiving stuff by the virtual Com3 , but my app is still displaying:(waiting for data)

Ok , here is the log file I got

I've seen many thing talking about Fifo, is the last version 0.72 implementing a FIFO? You did a patch for this some time ago , didn’t you ?

Thank you so much for this development , my desk will benefit a lot to have this old win95-pc kiked out !

Attachments

  • Filename
    dosbox_000.serlog.txt
    File size
    7.41 KiB
    Downloads
    112 downloads
    File license
    Fair use/fair dealing exception
Last edited by tijeff on 2007-10-25, 15:16. Edited 1 time in total.

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

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Glad it works.

@tijeff:
0.72 doesn't have the FIFO patch, its a separate download (serial10 or 11).

According to the log your application is not responding to the interrupt from the serial port, maybe it's misconfigured? Maybe try COM1 (serial1) instead of COM3.

1+1=10

Reply 303 of 353, by tijeff

User metadata
Rank Newbie
Rank
Newbie

Wow this is a quick answer !

I'm 100% sure it use com3 and 4, but thank's for the hint , my irq setting were wrong. (they were set in my software to irq5 and irq9 )

Also , I’ve been told it use to work only on a certain type of serial card, This card is using a 16c650 uart. From the datasheet this uart is using a 32 byte Fifo, compare to the more common 16c550 16 byte fifo , maybe this can have and impact ? Do you think your code is easily modifiable for this ? I still haven’t been able to compile the hole project on my own , but if you think it feasible I'll try harder.

I've no experience watsoever in C except in the microcontrolers world 😜

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

User metadata
Rank DOSBox Author
Rank
DOSBox Author

This is a build with FIFO (16 bytes).
http://home.arcor.de/h-a-l-9000/test/dosbox_serial11.zip

Try to increase the DOSBox speed, maybe the program then can process the data faster and buffers don't grow as full.

Changing the fifo size might be as simple as changing a #define, but dont know exactly right now.

1+1=10

Reply 306 of 353, by Alfaend

User metadata
Rank Newbie
Rank
Newbie

Hi 😁

i have another problem 😁

i have a program the use a hardware key connected at my parallel port.

i use the porttalk driver e the version of DosBos linked on your site.

DOSBos write:

"The port at 0x378 was detected as ECP port"

but when i start the application it don't see the key.... why?

Reply 309 of 353, by LordSnark

User metadata
Rank Newbie
Rank
Newbie

Ok, I need some help. I have installed your patch along with the dlls. And I am still getting an error when DOSBox tries to access the serial port. Error on the DOSBox status is "BIOS INT14: unhandled call AH=81 DX= 0"

I had it set to create a serial log file, it does it, but there is nothing listed in it.

BTW I am running Windows 2000 and I am trying to program a Kenwood radio.

Any help at all thanks.

Reply 311 of 353, by LordSnark

User metadata
Rank Newbie
Rank
Newbie

As far as I know, all you need is the cable and the software. I cant find anything that mentions needing a driver. The cable is supposed to do all the conversions from and to RS232 and the TTL (5 volt) logic. So that link you sent me, how do I use those settings?

-Thanks.

Reply 318 of 353, by tijeff

User metadata
Rank Newbie
Rank
Newbie

Ok great , I didn't thought the serial10.diff could be source code , sorry for my ignorance.

Do you know if version10 will eventually be incorporated into the main dosbox ?

I’m a bit concerned that I still get a bunch of error like
Serial9600: Desired serial mode not supported (5,0,0,4
Serial9600: Desired serial mode not supported (5,0,0,4
But even with those , it’s working, maybe I’m to perfectionist ?