Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to run an old DOS program in win XP?

Status
Not open for further replies.

amtalan

Junior Member level 3
Joined
Jul 24, 2001
Messages
31
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
176
ms dos old prograns

How to run an old DOS program in win XP?

This program has no graphic but uses the serial port (it's an old bootloader) and doesn't work.

I tried with property->compatibility with no results.

Best regards.

A.
 

Fish4Fun

Junior Member level 1
Joined
Feb 27, 2004
Messages
19
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,283
Activity points
329
access old dos program

A lot will depend upon the DOS application. DOS allowed fairly direct control of hardware devices, like serial ports and IRQs. Additionally many DOS applications require direct management of resources that windows simply will not allow. Best thing to do is simply boot your computer in DOS and run the application. (I am assuming that the application will not run from the command prompt, lol)

Fish
 

    V

    Points: 2
    Helpful Answer Positive Rating

pisoiu

Advanced Member level 3
Joined
Dec 31, 2002
Messages
750
Helped
43
Reputation
86
Reaction score
17
Trophy points
1,298
Location
Romania
Activity points
7,883
direct serial io for dos inxp

Hi,
Generally, in winxp you cannot access directly ports from dos, like in win9x. The same problem ocurs at old programmers which are connected to lpt port and have a dos application. The only resonable sollution is to run it on win9x. However, maybe others have some tricks to share....
 

tlp71@hotmail.com

Full Member level 4
Joined
May 14, 2002
Messages
220
Helped
6
Reputation
12
Reaction score
2
Trophy points
1,298
Activity points
1,596
dos greek old programm

yu can't use the serial port in DOS emulation of XP.
The only one is to install a WIN09 partition.
Bye.
G.
 

palesha

Full Member level 2
Joined
Apr 16, 2001
Messages
142
Helped
6
Reputation
12
Reaction score
2
Trophy points
1,298
Activity points
922
dlportio.dll source code

i hv seen new DOS 7.10 on one website. It has many new features. I don't know whether it will work or not.
This is for ur information.
Features:
What's new in MS-DOS 7.10 since MS-DOS 6.x?
There are many enhancements, new features and bugfixes in MS-DOS 7.10 since MS-DOS 6.x. For example:
* FAT32 and FAT32X drives support (*very* important nowadays)
* Extended FAT16 (a.k.a. FAT16X, type 0E, usually being the primary partition) drives support
* Large hard disk and LBA ExtendedX (Int 13x) partition (type 0F) support (*very* important nowadays)
* Long File Names (LFN) support
* Full Y2K (Year 2000) compliant and supports 4-digit years (e.g. DIR /4)
* Large memory (>64MB) and XXMS 3.0 support
* Euro sign support (Code Page 850, Right Alt+5)
* The protection that keeps the stability of DOS
* Efficient use of UMB memory (The DOS kernel and COMMAND.COM are loaded high automatically)
* Extended commands in CONFIG.SYS to use UMB memory, such as FILESHIGH, BUFFERSHIGH
* Environments variables can be used in the DOS command line directly, e.g. ECHO %PATH%
* The maximum length for path variable is expanded
* Some new commands added, such as ACCDATE, LOGO(in CONFIG.SYS)
* Volume LOCK/UNLOCK feature added to protect data and LFN on the (hard) disks
* EDIT can be used to edit both text and binary files and multiple files
* REN can rename a directory as well as files
* The locations of DOS system files (especially IO.SYS) are much more flexible
* Dual-boot with older versions of MS-DOS (e.g. DOS 6.x) feature added
* Animated startup logo support by using a custom LOGO.SYS file
* You can decide whether to execute a command using Enter/ESC key now while using the step-by-step feature
* Support for loading Win9x GUI (including all versions from Win95/95A to Win98SE GUI) on top added
* Many undocumented but useful options and switches added, such as COMMAND /Z
* Updated and newer versions of DOS commands and tools included, such as MORE, MSCDEX, MSD
* And many more...
 

pardal

Member level 5
Joined
Dec 29, 2001
Messages
81
Helped
4
Reputation
8
Reaction score
2
Trophy points
1,288
Activity points
587
how to run an old dos programs

I never tried, but I heard it's very nice
https://www.freedos.org/
Other possibility (I think) is to install a true DOS under a VMware machine.
 

Tornado

Full Member level 3
Joined
Apr 26, 2002
Messages
167
Helped
11
Reputation
22
Reaction score
9
Trophy points
1,298
Activity points
1,265
run *.bas program in winxp

My advise to your problem is Windows Service pack 1, SP1 has solved many problems I had before with Dos apps that they could not run under XP, try to find SP1 and update your Windows XP.

Tornado
 

shariat

Newbie level 6
Joined
Feb 24, 2003
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
89
+portio +vb +example

use Virtual PC. install any version of dos you want under vitual pc. It a lot better than vmware.
 

eltonjohn

Advanced Member level 4
Joined
Feb 22, 2002
Messages
1,435
Helped
64
Reputation
126
Reaction score
28
Trophy points
1,328
Activity points
16,326
is windows run on top of dos

I dont' know specifically if is a problem with just XP ! I have manage to run applications IN DOS mode that required access to the IO address space .. I have an OLD DEVICE Programmer ( EPLD + CPU + EPROM) But also OLD program and in DOS MODE .. .Windows run DOS programs inside a hardware emulation BOX. When the software tries to access the IO space .There is an exception .that looks is there is a DRIVER but there is no DEFAULT driver .. so it just COMPLAINS .. But you can get those drivers /. I particuliarly USE "PortIO" . I downloaded from free from a GERMAN site ..Do a search .. to locate the driver and the programming DLL (DLL not needed in dos mode)
see http://www.hallogram.com/portio/

Once again i don't know id 95,NT,2k.XP have different behaviours reagrding the DOS programs .. I would assume NOT!

My old DOS programmer still works under win2K!

I just found some doc with my driver:
DriverLINX Port I/O Driver for Win95 and WinNT

(C) Copyright 1996, Scientific Software Tools, Inc.
All Rights Reserved.


Scientific Software Tools, Inc. is pleased to provide you with this utility
for performing hardware port I/O under Windows 95 and Windows NT. This
product allows your 32-bit C/C++ or Visual Basic apps (or any language that
can call a DLL) direct access to the I/O ports over the range 0100H to FFFFH.

This product contains the following components:
DLPortIO.DLL -- Win32 DLL hardware I/O functions
DLPortIO.H -- C/C++ interface to DLPortIO.DLL
DLPortIO.BAS -- Visual Basic interface to DLPortIO.DLL
DLPortIO.SYS -- Kernel mode driver for WinNT (not required for Win95)
MSVC example
VB example

If you're unsure how to interface your app to DLPortIO.DLL, please look at
the source code files for simple examples.

You are free to copy and distribute this product as long as this package is
distributed in its entirety and SST's copyright and trademark notices are not
removed. Please see the license file for more information.

This product is provided without charge so we can't provide any technical
support for it. However, if you find any problems, please e-mail us at
support@sstnet.com with a complete description of the problem.



About Scientific Software Tools, Inc.
-------------------------------------

Scientific Software Tools, Inc. (SST) develops and markets award-winning,
commercial Windows products for the test/measurement and industrial
marketplace and provides product development services for other companies.
SST's product development expertise spans from systems-level components,
e.g., OCX/ActiveX, VxD, and NT kernel drivers to full commercial
applications.

For more information, please contact us at

Scientific Software Tools, Inc.
19 E. Central Avenue
Paoli, PA 19301
(610) 889-1354
(610) 889-1556 Fax
E-mail: sales@sstnet.com
Web: www.sstnet.com

-----

DriverLINX is a registered trademark of Scientific Software Tools, Inc.
Microsoft, Windows, Win95, WinNT, and Visual Basic are registered trademarks
of Microsoft Corporation.
 

amtalan

Junior Member level 3
Joined
Jul 24, 2001
Messages
31
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
176
arabic dos 7.10

I found this solution.

I went to

https://www.ntfs.com/boot-disk.htm

and downloaded

NtfsFloppySetup.exe

With this program I created a DOS boot disk. In DOS I asn't able to run the program from the NTFS HD then I then copied my program on a floppy. I rebooted and executed the program from the floppy and everything worked. Next step I will try to create a FAT32 partition and run the program from the HD.

Ciao.
A.
 

rauol

Full Member level 6
Joined
Oct 2, 2002
Messages
325
Helped
16
Reputation
32
Reaction score
4
Trophy points
1,298
Location
India
Activity points
2,647
send old dos command from kernel mode

8) right click on your DOS programm and in properties select compatibility for WIN98 or WIN95 and try to run your programm.
 

amtalan

Junior Member level 3
Joined
Jul 24, 2001
Messages
31
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
176
vb gui für dos programm

I tried but it doesn't work. The program uses the serial port.

Ciao.

A.
 

eltonjohn

Advanced Member level 4
Joined
Feb 22, 2002
Messages
1,435
Helped
64
Reputation
126
Reaction score
28
Trophy points
1,328
Activity points
16,326
run arabic ms-dos on xp

IT does work ! read my post ...
i can send you the io driver .!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top