
| BMP File Format Loading the ubiquitous bitmap format image. (Page under development) My BMP loading code is available at GPWiki.org |
|
| PCX File Format PCX Image Loader. (Page under development) My PCX loading code is available at GPWiki.org |
|
| TGA File Format TGA includes support for alpha channels, handy for OpenGL. (Page under development) My TGA loading code is available at GPWiki.org |
|
| SBM File Format My own simple bitmap format, supports 24-bit RGB and 32-bit RGBA. |
|
| 3DS File Format Model loading and UV mapping. (Under development) |
|
| MD2 File Format The Quake 2 object format supports animated models. (Under development) |
![]() | The Basics Setting up OpenGL in a Windows environment. |
![]() | Colour Because black and white is boring. |
![]() | Projection Setting up Orthographic and Perspective views. (Under development) |
![]() | Input Making it interactive. (Under development) |
![]() | Texture Mapping Making our polygons pretty. (Under development) |
![]() | Hungarian Notation Or how to make your code more readable but less pronounceable. |
![]() | Endian Conversion Some handy macros. |
DOS is pretty rare now. WinME, 2K and XP don't even have real DOS built in.
However, if you use Win 9x, or even real MS-DOS, there are a few compilers like DJGPP around that still support DOS targets.
If you really want to do some DOS coding, my old tutorials are archived here.
The information in this section is the result of much fiddling and experimenting by yours truly, burning the midnight oil as usual.
All the code and info is free, with no warranty or guarantee. Take what you like and use it as you will.
The source code for DOS programs is written, tested and complied with Borland C++ 4.52.
   Graphics 101
    Getting into Mode 13h, Plotting pixels, Drawing Lines, Handling Palettes and Double Buffering
    Pages
    Source
   Graphics II
    PCX images, Sprites and FLI playback
    Pages
    Source
   Sound
    Sound Blaster programming
    Pages
    Source
   I/O Stuff
    Mice, Joysticks and Extended Keystokes
    Pages
    Source
   Misc
    Odds and Ends
    Pages
    Source
Problems, ideas, better routines ?
Mail me or drop into the forums