
Hello, My name is Matt Childress ("MadMatt" in the FlatAssembler forum), I've converted various Windows programming book's source code from c/c++ into Flat Assembler code. I have a lot of fun programming in assembly (reminds me of my commodore 64 days! ;>}), and thought I would share these examples with everyone so they can learn that it is not that difficult to make a decent windows/directx program using the excellent Flat Assembler (FasmW) by Tomasz Grysztar. It will help you understand the examples more if you had the books to go along with these examples, but they are not required. Because some of the examples require various DLL files, you should download the DLL.rar file (see bottom of webpage). If you want to re-compile any of the examples, then follow the steps below to set everything up:
***
I have upload my full fasmw work environment, which will have a
lot of benefits.
1. no complicated setup procedure, everythings already setup for
you!
2. You won't have to mess up your own fasmw envionment.
3. you now have a folder to put all the (future) examples into.
*NOTE: "FASMW16726.rar" must be extracted into your
root directory (c:\).
See the PROGRAMMERSNOTES.TXT file for more information.
Update
News: JUNE 7, 2008
It's
been awhile, sorry about that. I'm going to focus more of my
attention on maintaining the include directory (except macros)
and doing more indiviual examples (masm to fasm), rather than a
whole book of examples (programming windows Charles Petzold). One
last thing, I've decided to upload my complete fasmw compiler
system (minus a few personal projects)
"FASMW16726.rar".
see above^.
More updates for:
Direct3D Examples - Codesampler.com: Added examples 23 - 28
Programming Windows (Charles Petzold): A few previous examples
fixed, one partial chapter 22.
Masm to fasm examples: Some examples added.
*added new opengl examples: "More Opengl.rar".
Update
News: January 27, 2008
Because
of limited upload space on my website (less than 10mb), I've
decided to try using a free online file storage space. I'll be
getting 5GB! of storage. This will help me free up a LOT of space
on my website, and allow me to upload MUCH more assembly examples
without concern about running out of storage space. Hopefully the
majority of you will not have a problem downloading the examples.
Should also tell you that there are TWO pages for the downloads
currently, you'll have to click the "2" at the bottom
of the list to see the rest of the examples
I've finished the opengl Examples, and the download is renamed
to: Beginning OpenGL.rar
Update
News: January 14, 2008
Merry
Christmas and Happy New Year (better late than never, I guess.)!
Some more updates. There is a new section for older examples not
being worked on anymore and/or are finished.
Programming
Windows (Charles Petzold): Added Chapters 19-20 (Almost finished
with this
example set)
Old OpenGL renewed: Many examples added (Almost finished with
this example set also)
Masm to fasm examples: Many examples added
Direct3D Examples - Codesampler.com: Added examples 21, 22
*Minor Additions to the INCLUDE folder.
Update
News: October 12, 2007
Minor
update to the "3D Game programming with DirectX 9.0"
examples. Fixed a minor bug in all the code where I was using
invoke instead of cinvoke for a crtdll.dll->memset function
call.
Update News: September 5, 2007
Major
Updates to the source code, Minor Updates to the webpage.
"Old OpenGL renewed" examples are completely re-done to
work on Windows Vista and XP better, glut32 Initialization code
crashes on Vista so had to do the Initialize routines in raw
windows code, so the result should work on these systems:
Win98se, win2000, winxp, win-Vista. "Masm to Fasm
examples" are much of the masm 'examples folder' converted
to work with Flat Assembler, still have some to go though. Also
added a few gdi-plus examples. The "Direct 3d Examples"
are from "Codesampler.com", These examples
are very well done, short and to the point, and convert rather
easily to fasmw assembly, so lots of examples here. Decided to
repost the "windows game programming for dummies"
examples, you can get them at the flat assembler forum (see link
at bottom of this webpage).
FILE
DOWNLOADS (CURRENT):