flat assembler
Example projects.
This section contains programs created with the flat assembler and contributed by users as sample material for others to learn from. Most of them were submitted in the early days of this website, and they all have been designed for flat assembler 1.
Nowadays new examples are contributed on the relevant forum. You may find some tutorials there as well.
Examples for flat assembler g are gathered in dedicated thread on the message board.
Fractal Explorer 64 size: 100 kilobytes |
Mandelbrot set explorer for 64-bit Windows, implementing FPU, SSE, AVX and FMA code paths. Written by tthsqe (2011). |
Base Converter size: 2 kilobytes |
Conversion between different number systems. Written by Tommy Lillehagen (2003). |
Command line parameters size: 2 kilobytes |
Handling the command line parameters in Windows. Written by Theodor-Iulian Ciobanu (2004). |
Windows hooking example size: 3 kilobytes |
Run-time opcode modification and hooking an API by detouring method. Written by Bryan Power/RedGhost (2006). |
FASMCam size: 1 kilobytes |
Accessing webcam in Windows. Written by Marcus Araujo (2005). |
GTK examples size: 6 kilobytes |
Several small samples of GTK programming in Linux. Written by Sven Blumenstein (2003). |
Calling Java classes from assembly size: 3 kilobytes |
A console application for Win32 that uses the JVM.DLL interface to call some Java classes from the assembly code. Written by Tomasz Grysztar (2009). |
kelvar unREAL engine size: 1835 kilobytes |
A simple game engine for DOS, which runs in the 32-bit unREAL mode. It shows also how to use VESA and Sound Blaster. Written by Tomasz Grysztar (2001). |
Transparent window size: 2 kilobytes |
Example that uses scrollbar control to set the transparency of its window. Written by Carlos Hernandez/coconut (2007). |
Entering long mode size: 3 kilobytes |
The simplest examples of entering long mode starting from the real mode environment. Written by Tomasz Grysztar (2007). |
Mixing assembly with MS Visual C size: 2 kilobytes |
A somewhat-advanced example of mixing assembly and C. It uses MS Visual C, but it may apply to other C compilers. Written by vid (2006). |
FAT12 boot loader size: 13 kilobytes |
Boot loader capable of reading and executing code from the given file stored on floppy disk. Written by Leonid Petroff (2002). |
Quetannon size: 9 kilobytes |
Demonstration of using WinSock library to make TCP/IP connections. Written by Tomasz Grysztar (2003). |
JPEG screenshot with GDI+ size: 1 kilobytes |
A simple example of how to use GDI+ library. It takes a screenshot and saves it into JPEG file. Written by Tomasz Grysztar (2009). |
SEH/Hardware Breakpoint in Win32 size: 3 kilobytes |
Example that adds an exception handler, breakpoints, handles the exception and continues execution, then creates a fatal exception. The exception handler displays all the exception info to the user. Written by Bryan Power/RedGhost (2006). |
SysTray size: 2 kilobytes |
Simple example of windows tray application. Written by Mateusz Tymek (2004). |
Win64 drivers example size: 37 kilobytes |
A few example drivers for 64-bit Windows, with set of small applications for installing and removing them. Written by František Gábriš (2006). |
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.