Tuesday, March 19, 2024 | Toby Opferman
 

Source Code - Assembly



The software provided on this page is without warranty and provided "as is" for personal use. The user should use caution and run this software at their own risk. Resale or commerical use of these products is not permitted. The software on this page was written as practice and is provided here only as sample programs for those who may find them useful. While I will accept comments, bug reports and suggestions the software is considered legacy and is not under any on going development or support.

Cube
Year 2004
Language Assembly
Operating System Windows
This is a demo of drawing a cube in assembly in DirectX 8. The idea for this project was to attempt to get it to as small a file size as possible. This demo still does its own line drawing and treats DX8 as Direct Draw.


WIN32 Assembly Plasma
Year 2003
Language Assembly
Operating System Windows
Messing around with Direct Draw, slow plasma.


3D Wireframe Cube
Year 1998
Language Assembly
Operating System DOS
A 3D Rotating Cube on X, Y and Z axis. No Bounds checking so don't make it blow up off the screen. Scale it with +/-. Escape quits. Same program as under DEMOS, CUBE.COM, except this is the un-optimized version and is 1,173 bytes and not 899 bytes. This is a bit slower but they both rotate at a degree of 1.


Simple 3D Wire Frame Library
Year 1998
Language Assembly
Operating System DOS
Includes 3D.INC in which you can inlcude in your assembly programs to create & use Wire Frame 3D objects. Includes TEST3D.ASM sample on how to use 3D.INC. It supports World Coordinates, but not Camera Coordinates. No Bounds checking function, but you could easily add one to clip 2D Lines. Includes Rotation Functions, Line Drawing Function, 3D to 2D Projection Function, Scale Up/Down Functions and Draw Object Function.


Winpong
Year 1998
Language Assembly
Operating System Windows
This is source to my 4th Windows program, you can download the executable from the software page. This is just windows pong.


Random Number Generator
Year 1996
Language Assembly
Operating System DOS
A pseudo random number generator I wrote. I have commented the code extensively so it should be self explanatory!


_Secret Demo
Year 1996
Language Assembly
Operating System DOS
This is the source to the _Secret demo, it includes 3 demo effects (Fire, Triangles and Snow). There is a bat file included which appends the fire color palette to the end of the build assembly .COM file.


 
About Toby Opferman

Professional software engineer with over 15 years...

Learn more »
Codeproject Articles

Programming related articles...

Articles »
Resume

Resume »
Contact

Email: codeproject(at)opferman(dot)com