; Include file generated by PackConfASM (trap_cnf) ; Pack the configuration and send via the readout tree #ifdef cpu0 iext 0x3180 mov 0x3180, r14 ; address of TPL00 mov 128, r1 ; number of registers mov 1, r3 ; address step mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_5 ; block with 5 bit registers iext 0x30a0 mov 0x30a0, r14 ; address of FGA0 mov 21, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_6 ; block with 6 bit registers iext 0x3080 mov 0x3080, r14 ; address of FGF0 mov 21, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_10 ; block with 10 bit registers mov 0x0a20, r14 ; address of CPU0CLK mov 12, r1 ; number of registers mov 2, r3 ; address step mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_5 ; block with 5 bit registers #endif #ifdef cpu1 iext 0x3014 mov 0x3014, r14 ; address of EBIS mov 3, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_15 ; block with 6..15 bit registers iext 0x3042 mov 0x3042, r14 ; address of TPVT mov 10, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_6 ; block with 6 bit registers iext 0x3017 mov 0x3017, r14 ; address of EBIN mov 6, r1 ; number of registers mov 1, r3 ; address step mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_5 ; block with 5 bit registers iext 0x3100 mov 0x3100, r14 ; address of FLL00 mov 64, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_6 ; block with 6 bit registers iext 0x3000 mov 0x3000, r14 ; address of TPPT0 mov 16, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_7 ; block with 7 bit registers iext 0x3020 mov 0x3020, r14 ; address of FPTC mov 3, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_10 ; block with 10 bit registers iext 0x3028 mov 0x3028, r14 ; address of FGTA mov 3, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_15 ; block with 6..15 bit registers iext 0x3030 mov 0x3030, r14 ; address of FTAL mov 3, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_10 ; block with 10 bit registers iext 0x3038 mov 0x3038, r14 ; address of FCW1 mov 5, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_10 ; block with 10 bit registers iext 0x3040 mov 0x3040, r14 ; address of TPFP mov 2, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_15 ; block with 6..15 bit registers iext 0x3050 mov 0x3050, r14 ; address of ADCMSK mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits iext 0x3051 mov 0x3051, r14 ; address of ADCINB mov 2, r1 ; number of registers mov 1, r3 ; address step mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_5 ; block with 5 bit registers iext 0x3053 mov 0x3053, r14 ; address of ADCPAR mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits iext 0x3054 mov 0x3054, r14 ; address of ADCTST mov 2, r1 ; number of registers mov 1, r3 ; address step mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_5 ; block with 5 bit registers iext 0x3158 mov 0x3158, r14 ; address of PASADEL mov 4, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_10 ; block with 10 bit registers iext 0x315d mov 0x315d, r14 ; address of PASASTL mov 3, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_10 ; block with 10 bit registers iext 0x3161 mov 0x3161, r14 ; address of SADCTRG mov 3, r1 ; number of registers mov 1, r3 ; address step mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_5 ; block with 5 bit registers iext 0x3165 mov 0x3165, r14 ; address of L0TSIM mov 2, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_15 ; block with 6..15 bit registers iext 0x3170 mov 0x3170, r14 ; address of SADCMC mov 2, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_10 ; block with 10 bit registers iext 0x3172 mov 0x3172, r14 ; address of SADCGTB mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits iext 0x3178 mov 0x3178, r14 ; address of SEBDEN mov 2, r1 ; number of registers mov 1, r3 ; address step mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_5 ; block with 5 bit registers #endif #ifdef cpu2 mov 0x0a00, r14 ; address of SML0 mov 3, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_15 ; block with 6..15 bit registers mov 0x0a03, r14 ; address of SMMODE mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s16 ; up to 16 bits mov 0x0a08, r14 ; address of NITM0 mov 4, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_15 ; block with 6..15 bit registers mov 0x0a3f, r14 ; address of ARBTIM mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s16 ; up to 16 bits mov 0x0b00, r14 ; address of IA0IRQ0 mov 16, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_15 ; block with 6..15 bit registers mov 0x0b20, r14 ; address of IA1IRQ0 mov 16, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_15 ; block with 6..15 bit registers mov 0x0b40, r14 ; address of IA2IRQ0 mov 16, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_15 ; block with 6..15 bit registers mov 0x0b60, r14 ; address of IA3IRQ0 mov 16, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_15 ; block with 6..15 bit registers mov 0x0b80, r14 ; address of CTGDINI mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0b81, r14 ; address of CTGCTRL mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s16 ; up to 16 bits iext 0xd000 mov 0xd000, r14 ; address of MEMRW mov 4, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_10 ; block with 10 bit registers mov 0x0d40, r14 ; address of NMOD mov 5, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_31 ; block with 16..31 bit registers mov 0x0d47, r14 ; address of NBND mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s16 ; up to 16 bits mov 0x0d48, r14 ; address of NP0 mov 4, r1 ; number of registers mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_15 ; block with 6..15 bit registers #endif #ifdef cpu3 mov 0x0c00, r14 ; address of C08CPU0 mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c01, r14 ; address of C09CPU0 mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c02, r14 ; address of C10CPU0 mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c03, r14 ; address of C11CPU0 mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c04, r14 ; address of C12CPUA mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c05, r14 ; address of C13CPUA mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c06, r14 ; address of C14CPUA mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c07, r14 ; address of C15CPUA mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c08, r14 ; address of C08CPU1 mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c09, r14 ; address of C09CPU1 mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c0a, r14 ; address of C10CPU1 mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c0b, r14 ; address of C11CPU1 mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c10, r14 ; address of C08CPU2 mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c11, r14 ; address of C09CPU2 mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c12, r14 ; address of C10CPU2 mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c13, r14 ; address of C11CPU2 mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c18, r14 ; address of C08CPU3 mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c19, r14 ; address of C09CPU3 mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c1a, r14 ; address of C10CPU3 mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0c1b, r14 ; address of C11CPU3 mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0d45, r14 ; address of NES mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0d46, r14 ; address of NTP mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits mov 0x0d4c, r14 ; address of NCUT mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits iext 0x315c mov 0x315c, r14 ; address of PASACHM mvpcr, +2, r7 ; return address jmp cc_uncond, cm_pack_s32 ; > 16 bits #endif ; CPU0: 40 dwords, 182 registers ; CPU1: 62 dwords, 138 registers ; CPU2: 60 dwords, 89 registers ; CPU3: 48 dwords, 24 registers ; total dwords 210, registers 433