Hello All I have a complete suite of image-handling and text processing programs which I wrote in 1989-1990 in Borland C and which thus run under MSDOS.
There are no complex device-specific functions, but the suite does an awful lot of screen handling and, given the date it was written, does so in standard VGA (640 x 480, 16-colour palette) or EGA (so long ago I forget what EGA runs at !) Since WINDOZE got rid of DOS some time after W'98, none of the programs in the suite now work, of course (certainly not at the Command prompt from Vista.) What I'd like to do is set up a separate partition on my (large, fast) HD and eliminate WINDOZE from this completely. I can of course buy a copy of MS-DOS and install this on the new partition. But I think, hang on a bit, FreeDOS ought to be just as good? QUESTION: Is it likely that my existing code will simply transfer from running under MSDOS to running under FreeDOS, just like that, bing! ? By this I mean: given that the suite only handles the keyboard and mouse, plus making calls to memory and banging pixels up on the screen in VGA or EGA --- no sound, no peculiar external device drivers etc --- are all the calls now made to DOS for doing this going to be the same (when recompiled of course) when made to FreeDOS instead? All advice heeded here, with thanks, Cheers to all, Martin -----Original Message----- From: Amedee Van Gasse [mailto:ame...@amedee.be] Sent: 25 January 2009 13:17 To: freedos-user@lists.sourceforge.net Subject: Re: [Freedos-user] Loading old DOS programs under FreeDOS Amedee Van Gasse schreef: > Eric Auer schreef: >> Hi :-) >> >> I think WordPerfect 5.1 was a really popular word processor >> for DOS, much more suited for DOS use than graphical Word >> versions today... >> >> The ODF and MS-OOXML formats are, as far as I remember, both >> actually "renamed" ZIP files with several XML files inside. >> >> I think MS-OOXML also has binary files inside for printer >> settings or similar sometimes. While the full office formats >> are indeed extremely complex, you can often get a quite good >> idea of the text content by unzipping the XML inside which has >> the focus on content, as opposed to layout etc, and then >> removing all XML tags and attributes. Example: >> >> ... >> <fancyname fancyproperty="greenish">Hello</fancyname> >> ... >> >> ...would simply be reduced to "Hello", easy to read in DOS. >> Does anybody know a nice program for that for DOS? When in >> doubt, you can always use the DJGPP port of GNU textutils, >> for example the SED tool, to remove the XML markups... ;-) > > > I know there is a program on Linux that does exactly that, but I forgot > its name. Shouldn't be hard to find. If someone could port that... > Found it: odt2txt http://stosberg.net/odt2txt/ I don't see a reason to reinvent the weel. ---------------------------------------------------------------------------- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user