VOGONS


Serial port setting in dosbox.conf

Topic actions

Reply 20 of 22, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
captain73 wrote:

I also tried different CPU cycles, high (~10000) and low (~1000).

That still might not be low enough, depending on your program. I think you should try to go as low as possible.

How fast is the real-DOS computer you've been using for testing?

Reply 21 of 22, by captain73

User metadata
Rank Newbie
Rank
Newbie

When I run the PC with MS-DOS the operation speed is similar, when I adjust DOSBox to about 10500 cycles. I just compare the compilation times of a Lauer project, when compiling with MS-DOS against DOSBox.
So I make then some trials according to your suggestion with less than 1000.

Reply 22 of 22, by captain73

User metadata
Rank Newbie
Rank
Newbie

I made some trials with 50, 250 and 500 cycles. Results are just the same. Here an exerpt of the log with 50 cycles:

10003490.891 [10057098] rx interrupt off.
10003490.891 [10057098] read 0x50 from RHR.
10003490.945 [10057098] rx 0x47 (G)
10003490.945 [10057098] rx interrupt on.
10003491.091 [10057098] Directserial: block on continued rx (retry=0).
10003491.200 [10057098] write 0x 0 to THR.
10003491.200 [10057098] tx interrupt off.
10003491.200 [10057098] tx 0x00 (0) [FIFO= 1]
10003491.255 [10057098] tx interrupt on.
10003491.291 [10057098] msr interrupt off.
10003491.291 [10057098] read 0x18 from MSR.
10003491.455 [10057098] read 0x21 from LSR.
10003491.527 [10057098] tx buffer empty.
10003491.564 [10057099] rx interrupt off.
10003491.564 [10057099] read 0x47 from RHR.
10003491.600 [10057099] rx 0x39 (9)
10003491.600 [10057099] rx interrupt on.
10003491.764 [10057099] Directserial: block on continued rx (retry=0).
10003491.855 [10057099] write 0x 0 to THR.
10003491.855 [10057099] tx interrupt off.
10003491.855 [10057099] tx 0x00 (0) [FIFO= 1]
10003491.909 [10057099] tx interrupt on.
10003491.964 [10057099] read 0x10 from MSR.
10003492.000 [10057099] rx 0x30 (0)
10003492.000 [10057099] with error: framing=0,overrun=1,break=0,parity=0
10003492.000 [10057099] rx overrun (IF=1)
10003492.000 [10057099] rx 0x30 (0)
10003492.000 [10057099] with error: framing=0,overrun=1,break=0,parity=0
10003492.000 [10057099] rx overrun (IF=1)
10003492.000 [10057099] rx 0x30 (0)
10003492.000 [10057099] with error: framing=0,overrun=1,break=0,parity=0
10003492.000 [10057099] rx overrun (IF=1)
10003492.000 [10057099] rx 0x2e (.)
10003492.000 [10057099] with error: framing=0,overrun=1,break=0,parity=0
10003492.000 [10057099] rx overrun (IF=1)
10003492.000 [10057099] rx 0x32 (2)

Is it still too fast?