Commodore Amiga 1000 — Commodore Amiga 1000 Hardware Reference Manual PDF Download

COMPLETE SAMPLE COPPER LIST The following example shows a complete Copper list. This list is for two bitplanes-one at $21000 and one at $25000. At the top of the screen, the color registers are loaded with the following values: REGISTER COLOR COLOR00 white COLOR01 red COLOR02 green COLOR03 blue At line 150 on the screen, the color registers are reloaded: REGISTER COLOR COLOR00 black COLOR01 yellow COLOR02 cyan COLOR03 magenta The complete Copper list follows. ; ; Notes: ; 1. Copper lists must be in CHIP ram. ; 2. Bitplane addresses used in the example are arbitrary. ; 3. Destination register addresses in copper move instructions ; are offsets from the base address of the custom chips. ; 4.

As always, hardware manual examples assume that your ; application has taken full control of the hardware, ; and is not conflicting with operating system use of ; the same hardware. ; 5. Many of the examples just pick memory addresses to ; be used. Normally you would need to allocate the ; required type of memory from the system with AllocMem() ; 6. As stated earlier, the code examples are mainly to help ; clarify the way the hardware works. ; 7. The following INCLUDEs are required by all example code ; in this chapter. ; INCLUDE "exec/types.i" INCLUDE "hardware/custom.i" INCLUDE "hardware/dmabits.i" INCLUDE "hardware/hw_examples.i" - 24 Coprocessor Hardware -