Fix spelling and add Conclusion

This commit is contained in:
Michaelangel007 2016-01-10 10:24:46 -08:00
parent 72b8c3f216
commit 0cbfdba37b

View File

@ -30,10 +30,11 @@ Revision: 3, Jan 10, 2016.
## Copy text screen to HGR ## Copy text screen to HGR
## Exercise 1: ScrollHgrUpLine() ## Exercise 1: ScrollHgrUpLine()
## Exercise 2: ScrollHgrUpPixel() ## Exercise 2: ScrollHgrUpPixel()
## Conclusion
## Solution 1: ScrollHgrUpLine() ## Solution 1: ScrollHgrUpLine()
## Solution 2: ScrollHgrUpPixel() ## Solution 2: ScrollHgrUpPixel()
## References ## References
## Utilities and Misc. ## Misc. Utilities and Files
## TODO ## TODO
## Introduction ## Introduction
@ -1335,14 +1336,18 @@ Hey! Homework? Yes, the only (true) way to demonstrate you understand the theo
* one scan line (1 pixel) * one scan line (1 pixel)
Hint: For scrolling up one pixel we can spot the pattern if we inspect the memory flow of how pixels get shuffled around:
For scrolling up one pixel we can spot the patter if we inspect the memory flow of how pixels get shuffled around:
40 bytes from $2400.$2427 -> $2000.$2027 40 bytes from $2400.$2427 -> $2000.$2027
40 bytes from $2800.$2827 -> $2400.$2427 40 bytes from $2800.$2827 -> $2400.$2427
etc etc
Hope this tutorial helped you understand the inner workings of a font blitter! Don't forget that you only need to copy 191 rows, not 192, since the very bottom scanline should be "blank."
## Conclusion
Hope this HGR font tutorial helped you understand the inner workings of a font blitter!
Happy (Apple ][ //e //c) Hacking! Happy (Apple ][ //e //c) Hacking!
Michael "AppleWin Debug Dev" Michael "AppleWin Debug Dev"
@ -1832,7 +1837,7 @@ That's all folks! Now go write some cool font blitter code.
* http://www.6502.org/tutorials/compare_instructions.html * http://www.6502.org/tutorials/compare_instructions.html
* http://www.6502.org/tutorials/6502opcodes.html * http://www.6502.org/tutorials/6502opcodes.html
## Utilties and Misc. ## Misc. Utilities and Files
* Convert [font image to C array](image_2_c.html) * Convert [font image to C array](image_2_c.html)
* Convert [C array to binary font](c_2_fontbin.c) * Convert [C array to binary font](c_2_fontbin.c)
@ -1846,4 +1851,3 @@ That's all folks! Now go write some cool font blitter code.
* Double Hi-Res * Double Hi-Res
* PDF of this document * PDF of this document