The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Virtual PC 2007 and DOS program needs serial emulator

    Discussion in 'Windows OS and Software' started by SyntaxOveride, Nov 1, 2007.

  1. SyntaxOveride

    SyntaxOveride Newbie

    Reputations:
    0
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    5
    Hi all,

    My question concerns Virtual PC 2007 and a DOS application that utilizes a serial BIC card.

    A little background is in order. I use VPC for testing. One of the programs that I test is a legacy DOS program (completely DOS no windows - REALLY old school!) this program uses a serial BIC card to access several serial ports (about 8 in total).

    My question:

    How can I emulate these serial ports INSIDE Virtual PC without actually having these ports available? Sort of "tricking" the system.

    Any thoughts would be appreciated. I also do some light programming (C#, VB 2005, ASP.Net...) so if you think you may know OF an answer requiring some programming, that's ok too just throw in a link or two and I will check them out.

    Thanks a ton,

    Syntax Overide
     
  2. ScuderiaConchiglia

    ScuderiaConchiglia NBR Vaio Team Curmudgeon

    Reputations:
    2,674
    Messages:
    6,039
    Likes Received:
    0
    Trophy Points:
    205
    I don't think VPC will allow you to simulate hardware that doesn't exist. Even if it did, how would the application react if there was no device attached to these 8 serial ports?

    Does the app require all 8 ports? Would one or two suffice? If so, you might try a couple of serial to USB devices. I have not tried this but I know these devices do show up as serial ports under WinXP and assume the would be virtualized to the guest OS. They are cheap and come embedded in serial cables, with a DB9 at one end and a USB connector at the other. About $15 if I remember correctly. I have one at home that I used for some software development I did for a company with a serial port device. But I never tried it under VPC.

    Gary
     
  3. SyntaxOveride

    SyntaxOveride Newbie

    Reputations:
    0
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    5
    Thanks Scuderia for your reply.

    I think that you have pointed me in the right direction. I hadn't thought about using hardware as a solution instead of software (that's what I get for being a software guy :)

    I found this

    USB Serial Adapter


    I think this will be the beginning of my solution.

    Thanks again!

    ~SyntaxOveride
     
  4. ScuderiaConchiglia

    ScuderiaConchiglia NBR Vaio Team Curmudgeon

    Reputations:
    2,674
    Messages:
    6,039
    Likes Received:
    0
    Trophy Points:
    205
    Cool! I've not seen the multiport variety, only the in-line cable type. But since I only needed a single RS232 port I didn't look any further.

    Now the question will be HOW does VPC virtualize these RS232 ports that will appear under the HOST operating system. Will it make them visible to the GUEST operating system?

    Please come back here and post a reply so the rest of us will know your results whether positive OR negative.

    Thanks,
    Gary
     
  5. SyntaxOveride

    SyntaxOveride Newbie

    Reputations:
    0
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    5
    Will do! From what I see on the site the computer actually sees everything as actual COM ports that doesn't require any special driver installations. So my hope is that the session environment inside VPC will see them as well.

    I will let you all know!


    ~SyntaxOveride
     
  6. ScuderiaConchiglia

    ScuderiaConchiglia NBR Vaio Team Curmudgeon

    Reputations:
    2,674
    Messages:
    6,039
    Likes Received:
    0
    Trophy Points:
    205
    Yes the host will see them as "true" COM ports. So I hope the guest os does too! You do have the VPC "virtual machine additions" running on the guest side, right? OH wait this is DOS, do those work with DOS??? If not the virtualization may not be as effective. I know they make a HUGE difference to XP as a guest OS under a Vista host.

    Hmm, I just checked and found this: DOS Virtual Machine Additions under VPC 2004 which looks promising. But then I found this: Virtual PC 2007 release notes which sates that the DOS Virtual Machine Additions are NOT provided.

    Gary
     
  7. ScuderiaConchiglia

    ScuderiaConchiglia NBR Vaio Team Curmudgeon

    Reputations:
    2,674
    Messages:
    6,039
    Likes Received:
    0
    Trophy Points:
    205