VOGONS


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 !

Last edited by tijeff on 2007-10-25, 15:16. Edited 1 time in total.

Reply 301 of 353, by Alfaend

User metadata
Rank Newbie
Rank
Newbie

i have resolved my problem!!

thx h-a-l-9000!!!! 😊

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 305 of 353, by tijeff

User metadata
Rank Newbie
Rank
Newbie

Wow, I still have more test to do , but for now it seem to work perfecly even with this 16 byte fifo.

Cheers for h-a-l-9000 !

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 307 of 353, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Some sort of incompatibility, probably...

There are some hints here: Application uses dongle

You can't have everything 😀

1+1=10

Reply 308 of 353, by Alfaend

User metadata
Rank Newbie
Rank
Newbie

ok thx 1000 hal!!!

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 310 of 353, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Are you sure this works on a normal pc without additional stuff?
http://www.ctyme.com/intr/rb-1027.htm
It appears to be a third-party driver.

1+1=10

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 312 of 353, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

It's because AH=81 is a weird call...
there are a few options there, would be easier if I had access to that software...

1+1=10

Reply 313 of 353, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Suppose they just check for the commdrv, and it doesn't have anything
to do with the app not working.

Reply 314 of 353, by LordSnark

User metadata
Rank Newbie
Rank
Newbie

Here is the link to the software if you think that will help. http://hamradio.online.ru/ftp/kpg29d.zip

Sorry about then gap in response, I was out of town.

[/url]

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

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Are you sure your serial log was empty? You have to quit DOSBox to see its full contents (file caching).

1+1=10

Reply 316 of 353, by tijeff

User metadata
Rank Newbie
Rank
Newbie

I would be interested to have a look at your code, it isn't on you’re web page , is there a way to obtain-it ?

Reply 317 of 353, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

See page13 of this thread.

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 ?

Reply 319 of 353, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Don't know if serial10 is the latest one, maybe somewhen adding
it if hal is content with his work 😀