Short: Randy/Comax AGA doc v2.5 for AGA coders Author: Randy/Comax Uploader: Kyzer/CSG Type: docs/misc Architecture: generic This is a classic document full of information for AGA coding. This is one of the documents that started the trend of 'AGA fixing' old demos, and also led to producing AGA demos. It's also useful today, in the world of writing JST and WHDLoad loaders for demos. If you look at section on patching in the JST developer's JOTDHDInstall.guide, or look at the AGA-fixing section of http://zap.to/action, you will see that much of the information comes from this document. Contents: - AGA chipset detection routine - overview of AGA (from Commodore's reference document) - how to make a standard Amiga demo run on AGA chipset - HAM-8 format - the magic FMODE register - colour registers (how does 256 go into 32?) - sprites resolution - moving sprites with quarter-pixel accuracy - super-hires mode - switching palette banks - 31KHz VGA modes - How to make a VGA monitor adapter - AllocBitmap() - how to get the VBR - don't use self modifing code! - fit loops in the 256 byte cache - enabling and disabling caches - 040 copyback mode - blitter clearing memory versus movem.l - Report on fixing old demos - absolute address crunchers - missing blitterwaits - assuming graphics.library is exactly two entries down from exec.library in the library list - self modifying code - capslock flash routines (ie continually crashing the keyboard controller and making it blink on reset) - crap replayroutines - assuming A500 trapdoor RAM at $c00000 - 040 problems - DBRA timer loops for disk loading - NOP/DBRA loops for timing - using clr.w on custom registers - align code on longwords for a speedup - using reserved bits of custom registers - use Disable() before using INTENA