| Property | Defined By | ||
|---|---|---|---|
| A : int | CPU | ||
| interruptFlag : int | CPU | ||
| mmu : MMU | CPU | ||
| operations : * | CPU | ||
| wait : int | CPU | ||
| ZN_TABLE : Vector.<int> | CPU | ||
| Method | Defined By | ||
|---|---|---|---|
CPU() | CPU | ||
clearIRQ(irqFlag:int):void | CPU | ||
exec(cycles:int):int | CPU | ||
read(addr:int):int | CPU | ||
readW(addr:int):int | CPU | ||
reset():void | CPU | ||
setIRQ(irqFlag:int):void | CPU | ||
setNMI():void | CPU | ||
write(addr:int, data:int):void | CPU | ||
| Constant | Defined By | ||
|---|---|---|---|
| $IRQ : int = 0xfffe [static] | CPU | ||
| $NMI : int = 0xfffa [static] | CPU | ||
| $RES : int = 0xfffc [static] | CPU | ||
| BF : int = 0x10 [static] | CPU | ||
| CF : int = 0x01 [static] | CPU | ||
| DF : int = 0x08 [static] | CPU | ||
| IF : int = 0x04 [static] | CPU | ||
| IRQ_DPCM : int = 0x08 [static] | CPU | ||
| IRQ_FLAG : int = 0xfc [static] | CPU | ||
| IRQ_FRAMEIRQ : int = 0x04 [static] | CPU | ||
| IRQ_MAPPER : int = 0x10 [static] | CPU | ||
| IRQ_MAPPER2 : int = 0x20 [static] | CPU | ||
| IRQ_TRIGGER : int = 0x40 [static] | CPU | ||
| IRQ_TRIGGER2 : int = 0x80 [static] | CPU | ||
| IZN : int = 0x7d [static] | CPU | ||
| NF : int = 0x80 [static] | CPU | ||
| NMI_FLAG : int = 0x01 [static] | CPU | ||
| RF : int = 0x20 [static] | CPU | ||
| VF : int = 0x40 [static] | CPU | ||
| ZF : int = 0x02 [static] | CPU | ||
| A | property |
public var A:int| interruptFlag | property |
public var interruptFlag:int| mmu | property |
public var mmu:MMU| operations | property |
public var operations:*| wait | property |
public var wait:int| ZN_TABLE | property |
public var ZN_TABLE:Vector.<int>| CPU | () | Constructor |
public function CPU()| clearIRQ | () | method |
public function clearIRQ(irqFlag:int):voidParameters
irqFlag:int |
| exec | () | method |
public function exec(cycles:int):intParameters
cycles:int |
int |
| read | () | method |
public function read(addr:int):intParameters
addr:int |
int |
| readW | () | method |
public function readW(addr:int):intParameters
addr:int |
int |
| reset | () | method |
public function reset():void| setIRQ | () | method |
public function setIRQ(irqFlag:int):voidParameters
irqFlag:int |
| setNMI | () | method |
public function setNMI():void| write | () | method |
public function write(addr:int, data:int):voidParameters
addr:int | |
data:int |
| $IRQ | Constant |
public static const $IRQ:int = 0xfffe| $NMI | Constant |
public static const $NMI:int = 0xfffa| $RES | Constant |
public static const $RES:int = 0xfffc| BF | Constant |
public static const BF:int = 0x10| CF | Constant |
public static const CF:int = 0x01| DF | Constant |
public static const DF:int = 0x08| IF | Constant |
public static const IF:int = 0x04| IRQ_DPCM | Constant |
public static const IRQ_DPCM:int = 0x08| IRQ_FLAG | Constant |
public static const IRQ_FLAG:int = 0xfc| IRQ_FRAMEIRQ | Constant |
public static const IRQ_FRAMEIRQ:int = 0x04| IRQ_MAPPER | Constant |
public static const IRQ_MAPPER:int = 0x10| IRQ_MAPPER2 | Constant |
public static const IRQ_MAPPER2:int = 0x20| IRQ_TRIGGER | Constant |
public static const IRQ_TRIGGER:int = 0x40| IRQ_TRIGGER2 | Constant |
public static const IRQ_TRIGGER2:int = 0x80| IZN | Constant |
public static const IZN:int = 0x7d| NF | Constant |
public static const NF:int = 0x80| NMI_FLAG | Constant |
public static const NMI_FLAG:int = 0x01| RF | Constant |
public static const RF:int = 0x20| VF | Constant |
public static const VF:int = 0x40| ZF | Constant |
public static const ZF:int = 0x02