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: "FASMW.zip" must be extracted into your root directory (c:\). Also, you should use
the fasmw.exe in my folder rather than yours so the examples will compile properly.


Update News: APRIL 10, 2009
Here is the final update to my fasmw 64-bit package, I'll be going back to 32-bit programming
now, enjoy!
Download:
http://users.egl.net/talktomatt/fasmw64.zip

Update News: APRIL 6, 2009
Here is a direct link to my fasmw64 (64-bit) assembly package, Just in case esnips isn't working
for you: (see April 10, 2009 update)

Update News: March 27, 2009
Thanks to Mircrosoft for releasing the Windows 7 64bit beta build for free, I now can
present to you an assembly 64-bit package that you can download: FASMW64.zip. I have
converted the core includes from the 32bit package to work with 64bit programming now. I mainly
created this to do some 64bit Direct3D and DirectDraw programming. Because the Windows 7 beta
will expire August 1st, I won't be starting any major projects with this package. But, I will post
some more include and example updates before windows 7 trial period ends. Extract package to
your root directory c:\ and use the fasmw.exe from the folder you just extracted to recompile the
examples.

Update News: DECEMBER 20, 2008
Well, FINALLY, I have some new updates! I've re-organized the examples into different
programming packages, they are: DirectX7, DirectX8, DirectX9, DirectX10, OpenGL, Windows
Programming (including some DOS Examples), TurboAsmDD (my DirectDraw Library, also
includes some fMod examples), FASMW, My whole FasmW compiler folder for recompiling the
examples EXACTLY as they are, including major enhancements/additions to the include folder and
pcount (parameter count) folder, plus other mods and enhancements!, and, finally, the DLL folder
for the dll files the examples require. I've also made an "all in one" file which includes the
examples/compiler above, for those with broadband. I suggest re-downloading all the examples
because of the new addtional, and, better error handling code.

Three more major anouncements concerning the example folders listed above:
FIRST, all the files will now be in the ".zip" format after some reports
of problems with the ".rar" format. SECOND, I've re-structured the error checking code in
ALL the code base because the previous was buggy and inconsistant in its implementations. And,
THIRD, I've added some DirectX10 examples for those with Windows Vista OS (These will not work
with Windows XP or earlier.)

I've also added a major windows include "mshtml.inc' to the include mix, along with other minor
tweaks and enhancements. I'm also working on a new and improved winsock2.inc, but won't
be ready until after the new year, or so. One final note, I'm hoping to be able to post some internet
examples (launching Explorer, data sending/receiving, client/server, etc.) for a future update.

I guess that's about all! Any question or comments email me, or join a discussion in the flat
assembler forums! Enjoy! !!Merry Christmas and Happy New Year!!

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):



View My Stats