>I'm sure you all know the graphical msdos games well. I really like
>them, and I want to make one myself. But how do I do this? I mean, can
>I make one with just msdos, or do I need additional programs?
How old are you? How old do you want to be when you are done? <g> The
technical answer is you can do it with just DOS and nothing else. Hand
assemble using debug, the works. Problem is it will take you about 20
years to get anythign significant!
>And with
>making one myself, I mean making a graphical one myself, not a
>textbase or something.
If, (big if) you are absolutely determined to make a DOS based program
(game) then look for a DOS based graphics library. For simple things,
maybe QBasic will be sufficient, but don't expect performance.
>Although making a textbase would be fun too.
>Anyone has an idea how to create graphical msdos games?
Yes, I know exactly how it is done. Did some once, about 20 or 25
years ago. Today? No way, I'll use a GUI based OS so I can do the good
stuff without worrying about the details of the graphics.
You need a good book on graphics... Wish I could recommend one, but
but they are all out of print. OK, try these, see if you can find 'em
at the local library:
Interactive Computer Graphics, Wolfgang K. Goloi
and
Raster Graphics Handbook, Conrac Corporation
I'll look as see if I can find any more if you want me to.
However, I do recommend a higher level language... C would be
excellent (there are a number of (old) C compilers for DOS
applications, most had simple graphics support. Also remember that
Graphics is memory intensive, and most native DOS development systems
are 16 bit, limited to < 640KB of RAM... That's not much.
You mean as batch programs? Then you need nothing but an editor.
But I would suggest to at least use an assembler. Here two simple
batch examples:
:: use mouse to fly, press any key to exit
@echo off
echo hD1X-s0P_kUHP0UxGWX4ax1y1ieimnfeinklddmemkjanmndnadmndnpbbn>erde.com
echo hhpbbnpljhoxolnhaigidpllnbkdnhlkfhlflefblffahfUebdfahhfkokh>>erde.com
echo AWR0//0I4//3XCP0C1S0//VXcL//EgX01/UQ0AAzkESnO/cm0Yc4lKEA/rw>>erde.com
echo A/x/Z5wO0sC0/B20A/f@m2siEyGL0hW/koJm2MSQW6PKfDM@ma4Au7Av/i6>>erde.com
echo xnI//9sPKk7XUz@HbwtxisfjiplgRN7yFi/17ul@/ohLLylwTN9K/kcD/W1>>erde.com
echo 2hu//B0EE5W4QIRgzEcZxUhJYv0/sfN4oOW2La/F/cp/7Sx0fy/YVM46Jbs>>erde.com
echo YxUh4Ea94B/UQ2E0U/ES132kxw2/qB/iz/EN7KkFp0iNs1//1/kWiIO0@uE>>erde.com
echo e43Qn33Qm3Ysu7yQkhnEkdnEWcvzkyTQAqXSu1U@3/Y1uEtzmcvh/M0MwDs>>erde.com
echo TkyzAuH@EWcvzkcng/81DU3blQ2UvzzDOf4wvk8MKiY0///QDoa4As9M5IC>>erde.com
echo ulg4M5Ka0ZNl7hNr6jNigcBZKUNigc@dKUN0PS1a4Qt8MK95PK/4PKkcTEW>>erde.com
echo nPKki2FUazD/a4Qv73Mt/wT1iPKW4PKkh2FHk7Bd0AQ3ivjmpRTG/aD0DIM>>erde.com
echo ezD7l3Uv2D7@4t1E/njO@03ER2UP/0sjmpxi2TU@m/wvj4IP/njul5IP0/m>>erde.com
echo kWqIP0VaO0r2R8D/E/56Of43XorPT0Y0kcrKEA/fP//QjxXaP0s1/Nc@T/8>>erde.com
echo umj8U@/eWCu0Yc@0bUNDQfla4As5MqcvKkUyIP0EI626Pkh4UA/6PEi4///>>erde.com
echo ahc2ZKUN06C2a4As6MK90jc4dKk/KIP00fC0aZsma4wuEUsplMz/CgP0GsF>>erde.com
echo j4szkYxUh6szmYdm0/mB/F4Rurby2g1x0Y8k8cfL/@mvj4Y7fzKUz2LaW6s>>erde.com
echo zmZdm0qrS//La/bYck@Gsj6Y7ZzSEUzTA/zNICjrbEL0J9jb1oNSzzOxpF0>>erde.com
echo 7Q1zX6@0yzl/wb9/uAktsHk8o62/Oyjtsnj8or//ODkKRJoi6cl2bEkbXE/>>erde.com
echo yX7BTtJCjnLmNNYF0uD/1wUUVxzUiIP0EwEVOvjj2bUX5wN0z11/nWQi/0k>>erde.com
echo waJuU62Yz@LrwCQ/h0og4od/AYrg4sC//B2lklYQAG2cDjK//oJ/i@/EnnY>>erde.com
echo EmpFE1GH6q0sEd4YW4dKEuWqjIEVvd0Rj8lKkxqAO08OFg4wUh06As1UI71>>erde.com
echo Xp2uOGg4YkQ1Qjq0/BS8onz/7b0kyzu132kOJ5W6AACBLrGHJq2qS/IH0km>>erde.com
echo H0kmZ8k0/GB/89Qocj4udyzKM0knH0knZ8k0/GB/Z8k4/OB/FXyKc2tz/gw>>erde.com
echo I/gA/DLa/L/cp/3gu1gJWEXiSzjpkEbCugyD/@2kmcLuz/wA/DXibzXmmcg>>erde.com
echo AuLyD9DXmnE6ykrPGi4gc@rKE9JDgxVHq2qSlxW6Ul26//2///0/k//wD/x>>erde.com
echo vzz03E/////rRr27U/5GE27cUmBpO23sUnD180E/w//GE2ED///ZE2EU/m6>>erde.com
echo ///c9/kzz2G5///7N///.>>erde.com
erde.com
del erde.com
:: use mouse to toggle all circles from red to green
@echo off
echo hD1X-s0P_kUHP0UxGWX4ax1y1ieimnfeinklddmemkjanmndnadmndnpbbn>hla.com
echo hhpbbnpljhoxolnhaigidpllnbkdnhlkfhlflefblffahfUebdfahhfkokh>>hla.com
echo AWR0//lC57//m4kkw62kBD2EpRDiH/EnEU@/Hcf66Yv0/gv//ofQ2oA3s1k>>hla.com
echo 3uy03tG//vC//xar/B20i0/EnnUf8/owA81BErP1N2QjBWBkcdUEW72oxaE>>hla.com
echo q/rP2M2Au87/2kuWw/i@YjaBEiA//fi@CzzSu/t1G/l/wwfu@G2wvd2gP//>>hla.com
echo o@2/c72L42knfOgLc12ekE/S2P/nfuL2SA50uDG27b1BJ6s2ui/rjxuKvvd>>hla.com
echo 2wvt4Y@E1k91/Hb/k9UeWPjjxBkjbF/u8/UjGCkjbO/OY8ki6/UHapOiM/U>>hla.com
echo NF2yQ2MQ0/QYspjIRgDQjz/EWc6As4/At43Bu8SQoc6kl0Sw97svd2wkciQ>>hla.com
echo p/nBUjbLUiM/EiM/kwY5slc2UGpFTHtpAi1/Ennsv97sc0IBkjM/kg/b@A/>>hla.com
echo AjNZ5sl/1kU52Yz@LrvCQ/i0/EnnEP/BP0R9/2tBP0i2/EnEAAi2/Enn/ss>>hla.com
echo 0Ebt81RAGTjBdUED6/kRNbsl8WQAGTjBbU/GslQD7//R6Tb9DgPVKBk2vK7>>hla.com
echo K23XoDgek7OBoW2UwEvC/m2HZLB/i2/Enn/ss0Ibxdnnz2yj/pFVN6PkJ2/>>hla.com
echo ////UN6PkK2/////kuYDsz4ErVfrR15I/027E/03//////U1///////////>>hla.com
echo //E0UA/M/////kDEU/2zE/Ak/XIZB6RV86R4VLOo0CEF/FEF/FEF/TET/FE>>hla.com
echo F/FEF/FTF/FCC/PFF/PEF/JCT/F0F/FFF/FCF/FC.>>hla.com
hla.com
del hla.com
Do you mean how to make a graphical program?
In MSDOS, you can call some BIOS interrupts to setting graphic screen
mode. And then set values in video buffer memory to draw points.
I'm not sure if this is you want.
google for svgacc26.zip , a fast graphics package for
16 bit computer programs , I am using is since about 1990.
It is also available in 32 bit version for the watcom compiler.
google for zsvga101.zip.
Both work in dos , about 5 to 10 times as fast as the standard
MS grapics included in MSC and watcom C compiler.
The watcom compiler is a free download nowadays.
Hi,
to make dos games with graphics I recommend:
1. get a C compiler.
http://www.pitt.edu/~stephenp/misc/downloadTC.html
http://www.programmersheaven.com/download/6619/download.aspx
has turbo C.
http://www.delorie.com/djgpp/
for a 32 bit dos compiler. I'd go with turbo c if you are a beginner.
2. Learn C - lots of books and web resources for this.
3. Pick a SIMPLE game, like break out, for your first game.
4. Write a small graphics library that will draw lines, rectangles, and
"sprites".
4a OR download one of the many small graphics libs on the web.
http://www.talula.demon.co.uk/allegro/
Allegro works with djgpp, but is pretty big and complicated.
5. Put your game together.
My web site
http://www3.telus.net/alexander_russell/course/introduction.htm
has a complete course on DOS game programming.
Alex