V1.2 11th Dec 2000 |
QuickBasic Graphics Programming in Assembly languageBy Alan O'Hagan (CGI Joe) of Shimmer [V1.1 15th June 2000] Revised 11th Dec 2000 |
1. Introduction
1.1 Architecture of the PC
Figure 1: Simple plan of the PC workings
1.2 Alternative number systems
1.3 Data types
2. Addressing memory
3. The CPU
Figure
2: CPU (Actual size...hehe ;)
4. Some Assembly instructions/mnemonics
5. Plotting your first Pixel
5.1 Binary Shifts
5.2 Yup, still plotting this damn pixel...
6. The Stack
7. Creating/Editing Libraries
8. Contructing an ASM file
8.1 Review of the code
9. So, what are we gonna do?
9.1 Using double buffering
9.2 Review of the code
10. Conditions and looping
11. Interrupts
12. ASM Data and Arrays
12.1 Arrays
13. Writing your routines
13.1 A good example: A keyboard handler
13.2 A Super Fast Pixel Plot
13.3 Algorithms
14. Optimization
14.1 32-Bit programming
14.2 Fixed Point Math
14.3 Inner loops
14.4 Other tips
15. Closing words
Um. I wrote this entire document over the weekend and sacrificed my
social life.
Feel free to point out my mistakes, I just love that sort of thing.
Also, if you'd like to contribute to this document, then that's great!
Send me your stuff and I'll release a 1.5 version. The same applies to
anything you'd like to see included in a future version.
I hope this document has helped in some way, if it hasn't, then I've
successfully wasted 18 hours of my life.
If however you were enlightened in one way or another by this document
then I'd love a bit of
email...
Thanks for listening!
Hi to Duncan!
- Alan O'Hagan 2000