Re: [Freedos-user] Bruce3

2012-11-28 Thread bruce.bowman tds.net
I have it working very well on one machine now, using 4 separate batch files and the FREETEST utility to ensure there's adequate space to do an installation. Next step is to test the CD on some of the other machines around here to probe for hardware and/or firmware dependencies before I start shari

Re: [Freedos-user] Bruce3

2012-11-28 Thread Marcos Favero Florence de Barros
Bernd wrote: > Maybe easiest even to use 4DOS as shell as that allows more > complex scripts. Agreed. As far as I can tell, the 4DOS structures IFF / ELSEIFF / ELSE / ENDIFF and SWITCH / CASE / DEFAULT / ENDSWITCH work perfectly -- and they can be nested to many levels. I have many 4DOS BAT

Re: [Freedos-user] Bruce3

2012-11-28 Thread Bernd Blaauw
Op 28-11-2012 6:39, bruce.bowman tds.net schreef: > Something is definitely wrong with nonexistent drive D:, and I suspected > the source to be one or both of the USB device drivers usbaspi.sys or > di1000dd.sys. These drivers were the ones recommended by the DFSee live > CD that I've been hacking

Re: [Freedos-user] Bruce3

2012-11-27 Thread bruce.bowman tds.net
Bret -- I booted up my CD and ran your DRIVES program. Here's the output in a small monospaced font, I hope you can read it: DRIVES 0.01, (C) 2007-2009, Bret E. Johnson. Shows details about all available disk drives in DOS. ATTRIBS Í A D N N S

Re: [Freedos-user] Bruce3

2012-11-27 Thread bruce.bowman tds.net
I'll give it a try later, thanks. It's important to understand that once I boot into FreeDOS there is no physical disk partition corresponding to drive D:. My FAT32 partition (which is drive D: under XP) gets mapped to drive C: in FreeDOS. However, I do have a drive E:, which is the USB thumbdrive

Re: [Freedos-user] Bruce3

2012-11-27 Thread Bret Johnson
You can look at the output of my DRIVES program for the D: drive when using FreeDOS. It will probably indicate that something is wrong in one or more of DOS's internal tables. DRIVES is not intended to be used in batch files, but simply displays some information about all of the drive letters

Re: [Freedos-user] Bruce3

2012-11-27 Thread bruce.bowman tds.net
I'm not inclined to bash XP too much. Windoze ME was the Vista of its time. You know what I'm talking about. If Linux had someone doing marketing -- and bundling it with new PCs -- that's what everyone would be running today. Don't get me started. :^) Bruce On Tue, Nov 27, 2012 at 8:29 PM, Rugx

Re: [Freedos-user] Bruce3

2012-11-27 Thread Rugxulo
Hi, On Tue, Nov 27, 2012 at 7:25 PM, bruce.bowman tds.net wrote: > I've not written or edited a lot of files using the command line in XP but > it seems to be able to read and write to any supported file system without > problems. Hard to say exactly what is handling that but I seriously doubt >

Re: [Freedos-user] Bruce3

2012-11-27 Thread Rugxulo
Hi, On Tue, Nov 27, 2012 at 7:21 PM, bruce.bowman tds.net >> >> But usually you should (mostly) be able to know in advance what drive >> letters you are choosing, and save that info for later. > > Having booted from a CD with an OS that probably can't read all his > partitions, we can't assume the

Re: [Freedos-user] Bruce3

2012-11-27 Thread bruce.bowman tds.net
I've not written or edited a lot of files using the command line in XP but it seems to be able to read and write to any supported file system without problems. Hard to say exactly what is handling that but I seriously doubt I'll be calling any interrupts in my batch program. :^) Thanks again for

Re: [Freedos-user] Bruce3

2012-11-27 Thread bruce.bowman tds.net
> > for %%d in (c d e f g h i j k l m n o p q r s t u v w x) do ( > > for %%d in (c d e f g h i j k l m n o p q r s t u v w x) do call blah1.bat > > > if exist %%d:\mygame\ ( > > if exist %%d:\mygame\ call blah2.bat Yeah, that's pretty much where I was headed. > Perhaps you could run a subshe

Re: [Freedos-user] Bruce3

2012-11-27 Thread Rugxulo
Hi, On Tue, Nov 27, 2012 at 6:50 PM, bruce.bowman tds.net wrote: > > One correction: on my XP machine using the CMD command interpreter, whichfat > reports every existing drive as FAT16. I guess that kinda makes sense as > it's the native format for DOS and I guess Windows converts file formats >

Re: [Freedos-user] Bruce3

2012-11-27 Thread Rugxulo
Hi, On Tue, Nov 27, 2012 at 6:43 PM, bruce.bowman tds.net wrote: > > My batch file seems to have two problems, one of which is that FreeDOS does > not allow compound IFs and/or FOR nesting of any kind. I can work around > that, but the second problem is the one that I'm really struggling with. .

Re: [Freedos-user] Bruce3

2012-11-27 Thread bruce.bowman tds.net
And clarification: I get the dreaded (A)bort (I)gnore (R)etry (F)ail options along with the error message. Bruce On Tue, Nov 27, 2012 at 7:50 PM, bruce.bowman tds.net wrote: > One correction: on my XP machine using the CMD command interpreter, > whichfat reports every existing drive as FAT16. I

Re: [Freedos-user] Bruce3

2012-11-27 Thread bruce.bowman tds.net
One correction: on my XP machine using the CMD command interpreter, whichfat reports every existing drive as FAT16. I guess that kinda makes sense as it's the native format for DOS and I guess Windows converts file formats before doing disk i/o. Booting under DOS 6.22, whichfat reports FAT drive f

Re: [Freedos-user] Bruce3

2012-11-27 Thread bruce.bowman tds.net
My batch file seems to have two problems, one of which is that FreeDOS does not allow compound IFs and/or FOR nesting of any kind. I can work around that, but the second problem is the one that I'm really struggling with. Some background: When I boot up using my new CD, the floppy drive image is a

Re: [Freedos-user] Bruce3

2012-11-27 Thread bruce.bowman tds.net
Right now I have something like this going on. A: is the floppy bootup image. B: could be a floppy so I don't want that to be probed Y: is the drive letter assigned to the CD that I booted from. Z: is a ramdrive. for %%d in (c d e f g h i j k l m n o p q r s t u v w x) do ( if exist %%d:\mygame

Re: [Freedos-user] Bruce3

2012-11-27 Thread Bernd Blaauw
Op 27-11-2012 6:45, bruce.bowman tds.net schreef: > In fact I am essentially done with my project but still want something I > can throw in a batch file to probe for writeable drive letters so I can > give the user an opportunity to save a game and resume later (like they > used to). DOS kernels

Re: [Freedos-user] Bruce3

2012-11-26 Thread Rugxulo
Hi, On Mon, Nov 26, 2012 at 11:45 PM, bruce.bowman tds.net wrote: > > Freeware program VFD (virtual floppy drive) seems to be doing quite well for > me at the moment for editing floppy images. The program will not fit on a > floppy but this appears to be a prerequisite. Even compressed? I can cr

Re: [Freedos-user] Bruce3

2012-11-26 Thread bruce.bowman tds.net
Freeware program VFD (virtual floppy drive) seems to be doing quite well for me at the moment for editing floppy images. The program will not fit on a floppy but this appears to be a prerequisite. In fact I am essentially done with my project but still want something I can throw in a batch file to

Re: [Freedos-user] Bruce3

2012-11-25 Thread Rugxulo
Hi, If you just want to make a bootable .ISO from floppy image, you can use MKBISO. http://www.terabyteunlimited.com/downloads-free-software.htm You can edit and modify the floppy image file from QEMU (etc). Reading and writing to floppy can be done with dd and/or Raread and Rawrite (etc). O

[Freedos-user] Bruce3

2012-11-25 Thread kurt godel
Whoa!!, The magicdisk appears to be a hack; from some of it's online description, probably from Asia, judging by grammatical errors. It does'nt work right: when you click on the shortcut, it only puts a virtual cd in the task panel, and keeps trying to access the internet. Fortunately, I always