From: b52g AT usa DOT net Newsgroups: comp.os.msdos.djgpp Subject: Re: DOS vs WIN95 Date: Wed, 27 May 1998 08:52:09 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 47 Message-ID: <6kgk7p$gvu$1@nnrp1.dejanews.com> References: <3565CE8E DOT 15DF AT bluewin DOT ch> NNTP-Posting-Host: 195.11.199.175 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <3565CE8E DOT 15DF AT bluewin DOT ch>, leger_v AT bluewin DOT ch wrote: > > I have a very big question. > Do you think it's still possible to do a commercial product > under DOS and not under WIN95. I have an old 486/dx2 66 and most > of my friends have bought a recent computer like pentium 266 MMX. > I've often asked myself if I could write a commercial program under > DOS, now, in 1998. What do you think ? Should I give up to do that > program and write it only for me under the DOS of my old and slow > computer ? What you (and everyone else) ought to do is write your program in a modular fashion, and isolate all the platform dependencies so they can be easily replaced. If your program is a game or similar interactive graphical program, you will probably have.. - User Input - Timer - Graphics - Sound ..as the dependent sections. I render all my graphics onto a framebuffer using my own routines, and then I can blast the framebuffer to the display using specific routines for DOS '95 linux or whatever. For sound I am using a version of mikmod which is driver-based and can compile for output in most OSes. The timer is DOS-specific, but essentially anything which can call my function n times per second will do perfectly. I think that this is the sort of thing you should aim at, since you will then be able to make versions for many platforms with little effort, and thus please several groups of users instead of just one. > > THANX > -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading