VOGONS


First post, by logitechnoob

User metadata
Rank Newbie
Rank
Newbie

Hello,
I'm trying to use an old SDK-86 board with a modern computer using Windows 7 Pro 64bit. The computer does has a serial port on the motherboard, so no Serial2USB adapters

Im using the DOSBox Megabuild6 because it supports serial logging and is most suited for serial coms.

       0.000 [    313] Serial1: BASE 3f8, IRQ 4, initstring "realport:com1 startbps:4800 parity:n stopbits:2 dbgirq dbgreg dbgtr dbgmd"

0.000 [ 314] RTS 0.
0.000 [ 314] DTR 0.
0.000 [ 314] New COM parameters: baudrate 9600, parity none, wordlen 5, stopbits 1
0.000 [ 314] New COM parameters: baudrate 9600, parity none, wordlen 5, stopbits 1
0.000 [ 314] New COM parameters: baudrate 9600, parity none, wordlen 8, stopbits 1
0.000 [ 314] RI 0.
0.000 [ 314] msr interrupt on.
0.000 [ 314] CD 0.
0.000 [ 314] msr interrupt off.
847684.000 [ 850985] rx 0x1e ()
847684.000 [ 850985] rx interrupt on.
847684.000 [ 850985] with error: framing=1,overrun=0,break=0,parity=0
847685.000 [ 850986] rx 0x66 (f)
847685.000 [ 850986] with error: framing=1,overrun=1,break=0,parity=0
847685.000 [ 850986] rx overrun (IF=1)
847685.000 [ 850986] rx 0x18 ()
847685.000 [ 850986] with error: framing=0,overrun=1,break=0,parity=0
847685.000 [ 850986] rx overrun (IF=1)
847685.000 [ 850986] rx 0x66 (f)
847685.000 [ 850986] with error: framing=0,overrun=1,break=0,parity=0
847685.000 [ 850986] rx overrun (IF=1)
847685.000 [ 850986] rx 0x86 (†)
847685.000 [ 850986] with error: framing=0,overrun=1,break=0,parity=0
847685.000 [ 850986] rx overrun (IF=1)
847685.000 [ 850986] rx 0x66 (f)
847685.000 [ 850986] with error: framing=0,overrun=1,break=0,parity=0
847685.000 [ 850986] rx overrun (IF=1)
847685.000 [ 850986] rx 0x86 (†)
847685.000 [ 850986] with error: framing=0,overrun=1,break=0,parity=0
847685.000 [ 850986] rx overrun (IF=1)
847685.000 [ 850986] rx 0x80 (€)
847685.000 [ 850986] with error: framing=0,overrun=1,break=0,parity=0
847685.000 [ 850986] rx overrun (IF=1)
847694.000 [ 850995] rx 0x18 ()
847694.000 [ 850995] with error: framing=1,overrun=1,break=1,parity=0
847694.000 [ 850995] rx overrun (IF=1)
847694.000 [ 850995] rx 0x1e ()
847694.000 [ 850995] with error: framing=0,overrun=1,break=0,parity=0
847694.000 [ 850995] rx overrun (IF=1)
847694.000 [ 850995] rx 0x00 (0)
847694.000 [ 850995] with error: framing=0,overrun=1,break=0,parity=0
847694.000 [ 850995] rx overrun (IF=1)
847694.000 [ 850995] rx 0x98 (˜)
847694.000 [ 850995] with error: framing=0,overrun=1,break=0,parity=0
847694.000 [ 850995] rx overrun (IF=1)
847694.000 [ 850995] rx 0x1e ()
847694.000 [ 850995] with error: framing=0,overrun=1,break=0,parity=0
847694.000 [ 850995] rx overrun (IF=1)
847694.000 [ 850995] rx 0xe6 (æ)
847694.000 [ 850995] with error: framing=0,overrun=1,break=0,parity=0
847694.000 [ 850995] rx overrun (IF=1)
847694.000 [ 850995] rx 0x98 (˜)
847694.000 [ 850995] with error: framing=0,overrun=1,break=0,parity=0
847694.000 [ 850995] rx overrun (IF=1)
847694.000 [ 850995] rx 0xf8 (ø)
847694.000 [ 850995] with error: framing=0,overrun=1,break=0,parity=0
847694.000 [ 850995] rx overrun (IF=1)
847705.000 [ 851006] rx 0x98 (˜)
Show last 6 lines
  847705.000 [ 851006] with error: framing=1,overrun=1,break=1,parity=0
847705.000 [ 851006] rx overrun (IF=1)
847705.000 [ 851006] rx 0x86 (†)
847705.000 [ 851006] with error: framing=0,overrun=1,break=0,parity=0
847705.000 [ 851006] rx overrun (IF=1)

and it goes on and on.

The weirdest thing I'm noticing is that I set the parameters for serial communication but it rewrites them with NEW COM paramters.

Why is it doing this?

Reply 1 of 9, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
logitechnoob wrote:

Im using the DOSBox Megabuild6 because it supports serial logging and is most suited for serial coms.

Portmon should also work for serial port logging.

If I'm not mistaken, overrun errors may be influenced by the DOSBox cycles being too high. Try slowing them down as far as you can.

Reply 2 of 9, by logitechnoob

User metadata
Rank Newbie
Rank
Newbie

Well if you mean changing the serial port configuration, I could. But take a closer look at the Serial log, my settings are detected but are rewritten after. How can I change the settings if DOSBox changes them to something else?

Reply 3 of 9, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
logitechnoob wrote:

Well if you mean changing the serial port configuration, I could.

Huh? I wrote nothing about that. I meant that your program might be running faster in DOSBox than originally intended, resulting in "overrun=1" over and over again.

If you are concerned about the serial port parameters being sent, that might well be a function of whatever software you are trying to use.

Reply 4 of 9, by logitechnoob

User metadata
Rank Newbie
Rank
Newbie

Just a little background info: I'm trying t run this program in a university lab environment. The program had been running in Windows XP mode on Windows 7 in the past, but now I need to change my setup for security reasons.

For the moment, let's forget the serial configuration and all that. Do you know of a way I can get the program (I believe it's 16 bit) to run on Windows 7 and also use serial communication? DOSBox seemed like the best option but I'm not sure anymore.

Back to what you said, how can I adjust my program to communicate properly and run as fast as DOSBox?

Reply 5 of 9, by collector

User metadata
Rank l33t
Rank
l33t

If this is something important, you should probably be looking at a different solution than DOSBox. DOSBox was designed for Games. The developers have taken a number of shortcuts with things that games do not need that help performance. This makes it less than ideal for other applications and can break things that many apps might rely on to the point that they do not work properly, if at all.

The Sierra Help Pages -- New Sierra Game Installers -- Sierra Game Patches -- New Non-Sierra Game Installers

Reply 6 of 9, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

VMware, at least, will let you run another operating system that can access to the physical serial ports in your computer. I'm not sure if Virtual PC (which is used by Microsoft in XP Mode included with Windows 7 Professional and Ultimate) offers the same feature. This will likely work better for you than DOSBox.
https://www.vmware.com/support/ws3/doc/ws32_devices3.html

Do you know of a way I can get the program (I believe it's 16 bit) to run on Windows 7

If it's a DOS program, then yes, it's 16-bit. The 32-bit version of Windows 7 will still run 16-bit programs; the primary disadvantage is that 32-bit Windows 7 can access only a relatively limited amount of physical RAM.

Back to what you said, how can I adjust my program to communicate properly and run as fast as DOSBox?

I'm not sure you're reading what I'm posting.

Reply 7 of 9, by logitechnoob

User metadata
Rank Newbie
Rank
Newbie

The 32-bit version of Windows 7 will still run 16-bit programs; the primary disadvantage is that 32-bit Windows 7 can access only a relatively limited amount of physical RAM.

True and the machines are currently 32bit Windows 7 but they have to be switched over to 64bit. I'm not my decision to make so I can't change that.

I can see now that DOSBox is not a suitable emulator for this program at all. I'll see if VMWare is a viable option. Are there any other solutions you can think of that can allow me to run the application (in a freeware program)?

Reply 9 of 9, by logitechnoob

User metadata
Rank Newbie
Rank
Newbie

Okay so I used VirtualBox to emulate a modified version of FreeDOS. I transferred the files to it via FTP and the program runs now.

Now I need to test the virtual machine with the equipment

Thanks for the help