OSDev.org

The Place to Start for Operating System Developers
It is currently Mon Aug 19, 2019 3:51 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Where to find old 1DIR DOS program??
PostPosted: Thu Jan 14, 2010 8:58 pm 
Offline
Member
Member
User avatar

Joined: Tue Mar 06, 2007 11:17 am
Posts: 1130
Did somebody use, has or knows how to find a copy of an old DOS shell called "The OneDir" or 1DIR.COM by Bourbaki? I have a very old 5 1/4 floppy with it but don't know if it is even in good condition since I don't have working drives of that type.

There was a variation which supposedly was hacked and turned from an EXE to a COM, and I have been able to find some version with web searches but doesn't seem to want to install nor seemed to be the same version I had.

Does anybody know also if I could reliably read a 360K floppy with a 1.2MB drive?

_________________
http://api.archefire.org (My OS compatible with DOS)

IP for hosts file (all domains):
190.53.3.113 archefire.org (udocproject@yahoo.com)


Top
 Profile  
 
 Post subject: Re: Where to find old 1DIR DOS program??
PostPosted: Fri Jan 15, 2010 6:59 am 
Offline
Member
Member
User avatar

Joined: Mon Jan 26, 2009 2:48 am
Posts: 792
http://vetusware.com/download/1dir%2B%203.51E/?id=3752


Top
 Profile  
 
 Post subject: Re: Where to find old 1DIR DOS program??
PostPosted: Fri Jan 15, 2010 10:06 am 
Offline
Member
Member
User avatar

Joined: Tue Mar 06, 2007 11:17 am
Posts: 1130
Yes, that's the one I found, but I think it's a different version, it seems too new, doesn't seem to install (it should just run) and the one I had was from the 8088 era.

It was as old as a program named XTree, which I have attached so you can have idea of its age.


Attachments:
xtree.zip [24.05 KiB]
Downloaded 117 times

_________________
http://api.archefire.org (My OS compatible with DOS)

IP for hosts file (all domains):
190.53.3.113 archefire.org (udocproject@yahoo.com)
Top
 Profile  
 
 Post subject: Re: Where to find old 1DIR DOS program??
PostPosted: Fri Jan 15, 2010 12:21 pm 
Offline
Member
Member
User avatar

Joined: Mon Jan 26, 2009 2:48 am
Posts: 792
I think abandonware sites are your best hope. Vetusware contains many kinds of software. Other abandonware sites contain games mostly, so I don't think you will find it anywhere else on the web.


Top
 Profile  
 
 Post subject: Re: Where to find old 1DIR DOS program??
PostPosted: Fri Apr 02, 2010 7:05 am 
Offline
Member
Member
User avatar

Joined: Fri Mar 07, 2008 5:36 pm
Posts: 2097
Location: Bucharest, Romania
Why don't you code your own? Doesn't look like a difficult job... I've quickly looked over the 2 formats. Normally, you can't make .COM file out of any MZ executable unless it uses the tiny memory model but since no one uses 8080 CPUs anymore you are free to have a multiple-segment version of the .COM format...

_________________
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]


Top
 Profile  
 
 Post subject: Re: Where to find old 1DIR DOS program??
PostPosted: Fri Apr 02, 2010 8:41 am 
Offline
Member
Member
User avatar

Joined: Fri Jun 13, 2008 3:21 pm
Posts: 1700
Location: Cambridge, United Kingdom
No you aren't. COM cannot have more than one segment by virtue of the fact that is is a non-format: COM is just the splatting of the code and static data into a file. DOS loads the file to offet 0x100 in a segment and runs it. No headers, no way for >64kb files. COM is very close to a flat binary.


Top
 Profile  
 
 Post subject: Re: Where to find old 1DIR DOS program??
PostPosted: Sat Apr 03, 2010 4:34 am 
Offline
Member
Member
User avatar

Joined: Fri Mar 07, 2008 5:36 pm
Posts: 2097
Location: Bucharest, Romania
I meant he could invent his own -- I did specify that .COM files typically occupy only one segment because they were meant to run under the 8080 CPU which only had one segment. However, on 8086+ CPUs, a .COM file is free to manually change segments and still run correctly. His linker could inject code to change the segment everytime he messes with data or do a far jump to switch between code segments for instance (all of this is only possible for non-SMC code).

_________________
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]


Top
 Profile  
 
 Post subject: Re: Where to find old 1DIR DOS program??
PostPosted: Sat Apr 03, 2010 4:57 pm 
Offline
Member
Member
User avatar

Joined: Fri Jun 13, 2008 3:21 pm
Posts: 1700
Location: Cambridge, United Kingdom
You'll have trouble running an x86 COM under an 8080 and vise versa. They're binary incompatible processors. But, yes, the COM format is a legacy of CP/M.

Nowhere does DOS or any other COM implementer say that you can't access other segments. The restriction is that your program's executable image may occupy only one.


Top
 Profile  
 
 Post subject: Re: Where to find old 1DIR DOS program??
PostPosted: Sun Apr 04, 2010 9:34 am 
Offline
Member
Member

Joined: Sat Nov 21, 2009 5:11 pm
Posts: 653
While it would be possible to have code at the beginning of a COM file to apply a list of segment relocations like those in an MZ file, it would be pointless since the result would probably be larger than the corresponding MZ file.


Top
 Profile  
 
 Post subject: Re: Where to find old 1DIR DOS program??
PostPosted: Sun Apr 04, 2010 6:01 pm 
Offline
Member
Member
User avatar

Joined: Fri Mar 07, 2008 5:36 pm
Posts: 2097
Location: Bucharest, Romania
Relocations? No relocations, PSP stays intact. My version .COM will run under DOS just fine, you won't need to modify the loader... The code itself contains "links" (JMP's and CALL's across segment boundaries). You don't care what those segments are in a monotasking environment (DOS). Under modern OSes, you have other techniques...

_________________
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]


Top
 Profile  
 
 Post subject: Re: Where to find old 1DIR DOS program??
PostPosted: Thu Apr 08, 2010 4:17 pm 
Offline
Member
Member
User avatar

Joined: Wed Oct 27, 2004 11:00 pm
Posts: 853
Location: WA
Love4Boobies wrote:
Relocations? No relocations, PSP stays intact. My version .COM will run under DOS just fine, you won't need to modify the loader... The code itself contains "links" (JMP's and CALL's across segment boundaries). You don't care what those segments are in a monotasking environment (DOS). Under modern OSes, you have other techniques...



please note: dos is NOT entirely single tasking, and before using additional segments, you should ask dos if they are available and tell dos that you are going to use them... that way you dont overwrite (or get overwritten by) other tasks

dos is not single-tasking, its just more difficult to multi-task, and doesnt have an auto-multi-tasking user interface, it also doesnt have any hardware method of preventing programs from overwriting each other -- but it does have software methods, as long as all programs use them properly

_________________
## ---- ----- ------ Intel Manuals
OSdev wiki


Top
 Profile  
 
 Post subject: Re: Where to find old 1DIR DOS program??
PostPosted: Thu Apr 08, 2010 4:47 pm 
Offline
Member
Member
User avatar

Joined: Fri Jun 13, 2008 3:21 pm
Posts: 1700
Location: Cambridge, United Kingdom
Indeed. The average DOS system has multiple TSR (Terminate and stay resident) programs, providing drivers to the system.


Top
 Profile  
 
 Post subject: Re: Where to find old 1DIR DOS program??
PostPosted: Fri Apr 09, 2010 8:37 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 27, 2004 11:00 pm
Posts: 853
Location: WA
more than just drivers... most power users in the old days, would run several programs which could pop up over your current program with a shortcut key, which would do various things... from scheduling programs, charts and databases, programing tools, spellcheckers, etc -- while these programs arnt truly running at the same time as your program, they are loaded in memory at the same time... of course that is in addition to the various parts of DOS -- which are not always in the same places (the DOS memory manager defines 2 types of DOS segments -- some can be freely trashed by applications, and will be reloaded from disk if they are needed -- as long as you inform DOS your doing so -- and others that cannot be touched, and should never be overwritten

in fact, even the typical user would often have trouble finding enough free conventional memory to load larger programs, which is why a lot of games would actually come with there own boot files (config/autoexec) so that they could be loaded without any of those other things in the way -- when you run it, it would reboot the system, using its own 'clean' files, then when it terminated, it would reboot again using your standard files

_________________
## ---- ----- ------ Intel Manuals
OSdev wiki


Top
 Profile  
 
 Post subject: Re: Where to find old 1DIR DOS program??
PostPosted: Wed Oct 21, 2015 12:05 am 
Offline
Member
Member
User avatar

Joined: Tue Mar 06, 2007 11:17 am
Posts: 1130
I think I managed to found the original 1DIR.COM at the Wayback Machine, and it has just been uploaded on June 16, 2015, although it looks like I need to extract it from a so-called "TeleDisk archive" to supposedly write it to a floppy or a virtual floppy disk image.


Description:
----------------------
https://archive.org/details/The1DIR


Program (it's packed in something called "TeleDisk" instead of ZIP, etc.):
----------------------
https://archive.org/download/The1DIR/THE1DIR.TD0

_________________
http://api.archefire.org (My OS compatible with DOS)

IP for hosts file (all domains):
190.53.3.113 archefire.org (udocproject@yahoo.com)


Top
 Profile  
 
 Post subject: Re: Where to find old 1DIR DOS program??
PostPosted: Wed Oct 21, 2015 10:30 am 
Offline
Member
Member
User avatar

Joined: Thu Mar 27, 2014 3:57 am
Posts: 568
Location: Moscow, Russia
In ZIP: http://old-dos.ru/dl.php?id=12178

_________________
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
- Alan Kay


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group