VOGONS


First post, by h6Dtq5

User metadata
Rank Newbie
Rank
Newbie

Hi there

I've been trying for a couple of days now to get this application working from an old 486. This application interfaces with a touchscreen via the serial port. After trying virtualbox, VMware, both of which don't play nicely with the serial (both are too slow in dealing with serial requests) I tried DOSBox. This does everything correctly, but the program appears blank. I know the program has loaded correctly as after monitoring the serial port, I can see the communications are as they should be.

Even without a touchscreen, the program should load and show something, even if briefly, but instead shows just a blank screen. I have tried:

  • All output modes
  • full screen / windowed
  • I have tried it on a second, clean install of XP (on a lenevo x61 laptop)
  • tried 0.72 and 0.74 of DOSBox
  • My main machine in W8.1, 16GB, i5-2500k

I'm now out of ideas. Do you have any suggestions?

Last edited by h6Dtq5 on 2014-05-10, 16:30. Edited 2 times in total.

Reply 1 of 6, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
h6Dtq5 wrote:

This does everything correctly, but the program appears blank.

It sure doesn't sound like it does everything correctly, then. 😉

I know the program has loaded correctly as after monitoring the serial port, I can see the communications are as they should be.

Are you sure about that? Communications are proceeding properly both ways? Many people use USB-to-serial adapters, and they don't always work very well.

Anyway, the first two things worth trying are the SVN Daum version of DOSBox, and booting DOS within DOSBox. (The 2GBFreeDOS image from Windows 9x DOSBox Guide (Not officially supported) should be fine for that purpose.) But keep in mind that using DOSBox for mission-critical business applications is generally a bad idea.

Reply 2 of 6, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

It displays the screen for me, but only if the 3AXLIB.PCL file can be found in the root of the D: drive, so you probably need to mount the D: drive correctly. That could be the least of the problems you'll run into, though.

Reply 3 of 6, by h6Dtq5

User metadata
Rank Newbie
Rank
Newbie

h6Dtq5 wrote:
It sure doesn't sound like it does everything correctly, then. 😉

What I meant was, using a couple of virtual serial ports as connectors (and lots of messing about!), plus a USB to serial dongle, I could get this to run menu.exe and touch.exe AND use the touch screen connected via the USB dongle. The problem came with UNIMS.exe. I forgot to mention, it will give a 'touch screen error' if there is no COM2 port detected (or set as dummy in the environment). The correct COM port settings for this system are serial2=directserial realport:com1 startbps:9600 parity:n bytesize:7 stopbits:2 irq:3

I know the program has loaded correctly as after monitoring the serial port, I can see the communications are as they should be.
Are you sure about that? Communications are proceeding properly both ways? Many people use USB-to-serial adapters, and they don't always work very well.

see above - though with UNIMS.exe, I could see serial comms both ways successfully, but a blank screen appeared.

ripsaw8080 wrote:
It displays the screen for me, but only if the 3AXLIB.PCL file can be found in the root of the D: drive, so you probably need to mount the D: drive correctly. That could be the least of the problems you'll run into, though.

How did you determine this!? I have been mounting /customer as C:\. I have just mounted it as D:\ and it's loaded the screen (with errors, but I don't have the serial gear connected right now...). Thank you! I will let you know how I progress.

Reply 4 of 6, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author
h6Dtq5 wrote:

How did you determine this!?

The DOSBox debugger lists file open requests in its log messages.

h6Dtq5 wrote:

I have been mounting /customer as C:\. I have just mounted it as D:\ and it's loaded the screen

The AUTOEXEC.BAT copies 3AXLIB.PCL from C: to D:\, and D: appears to be a ramdrive. You should probably run the app from the C: drive, but you can also mount D: to where the .PCL file is.

Reply 5 of 6, by h6Dtq5

User metadata
Rank Newbie
Rank
Newbie

It's booting! 😎

These are the commands to get it past the errors, that emulates the touch screen - I've created a virtual port in a program called VSPE and then sent these commands [below] to pretend to be the touchscreen. Thank you for your help ripsaw8080!

7EN8eT0.png

Reply 6 of 6, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
h6Dtq5 wrote:

I've created a virtual port in a program called VSPE and then sent these commands [below] to pretend to be the touchscreen.

Interesting; I wonder if that might be useful for other people trying to get DOSBox to work with serial devices.