Abe's Demoschool
The swedish
version of Abe's demoschool has existed since the fall of 94, when I
began studying computer science at Mälardalens University in Västerås Sweden
and got access to the web. Many of the accesses to the demoschool have
been from out of sweden so now I'ts time for an English version.
It won't contain the Assembly-school, only the demo-school. So before
digging deeper into the wonderful world of demo-programming I suggest you
get some basic understanding of PC-assembly. A good book on the subject
is Mastering Turbo Assembler by Tom Swan. If you don't have the
money to buy a 900+ paged book you could take a look at the Assembly
tutors by Draeden of VLA. Requirements
- A PC compatible computer, at least a 386 equipped with MS-DOS
- A C-compiler for MS-DOS such as Borland C++ 3.1, Turbo C or Watcom C.
- An assembler, I use Borland Turbo Assembler. (tasm, tlink)
I have a 486 dx2 66Mhz and I also try all the programs on a 486 dx 33. I
have no idea of what the demos will look like on a slower machine but
most people do have 486:s nowadays. The programs will need at least
a 386 to run.
The C-compiler shouldn't make much difference but please, if you don't have Turbo Assembler, GET IT, because I'll use Turbo Assembler specific IDEAL MODE code.
Turbo Assembler comes with most of Borlands compilers, for instance
Borland C++, Turbo C, Turbo Pascal and so on.
Well now, after all that requirement crap I expect you have equipped youself with the assembly basics. You now should
be ready to enter the Demoschool. Part I will explain the basics of demo-programming and then, in the following parts,
I will guide you through some of those effects you've seen in all those great demos out there.
The Demoschool
- Part
I. Getting into demomode, rotating the palette and more. . .
- Part
II Fades, lookup-tables & virtual screen
- Part
III Sprites, Mixing C & Assembler
- Part IV
3D-rotation, perspective projection, fixed point math, sorting
-
Part V Lens and similar effects, color quantification.
Bag of Tricks
- svga
putpixel A small C program that demonstrates a way to put a pixel in
svga mode 640*480 256 colors
- Working
SVGA putpixel. VESA detection, faster (and working) bankswitching.
The Zipped Philes
Check out my Programming links
980211 Abe Racadabra
mail:dat94avi@mds.mdh.se.
Back to my Homepage.