public abstract class MOS6526 extends Object implements IComponent
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MOS6526.EventTa |
protected static class |
MOS6526.EventTb |
protected static class |
MOS6526.EventTod |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
cnt_high |
protected short |
cra |
static int |
CRA |
protected short |
cra_latch |
protected short |
crb |
static int |
CRB |
static int |
DDRA |
static int |
DDRB |
protected short |
dpa |
protected IEventContext |
event_context |
protected MOS6526.EventTa |
event_ta |
protected MOS6526.EventTb |
event_tb |
protected MOS6526.EventTod |
event_tod |
protected short |
icr |
static int |
ICR |
protected short |
idr |
static int |
IDR |
static int |
INTERRUPT_ALARM |
static int |
INTERRUPT_FLAG |
static int |
INTERRUPT_REQUEST |
static int |
INTERRUPT_SP |
static int |
INTERRUPT_TA |
static int |
INTERRUPT_TB |
protected long |
m_accessClk |
protected Event.event_phase_t |
m_phase |
protected short[] |
m_todalarm |
protected short[] |
m_todclock |
protected short[] |
m_todlatch |
protected boolean |
m_todlatched |
protected boolean |
m_todstopped |
static int |
PRA |
static int |
PRB |
protected short[] |
regs |
static int |
SDR |
protected boolean |
sdr_buffered |
protected int |
sdr_count |
protected short |
sdr_out |
protected int |
ta |
protected int |
ta_latch |
protected boolean |
ta_underflow |
static int |
TAH |
static int |
TAL |
protected int |
tb |
protected int |
tb_latch |
protected boolean |
tb_underflow |
static int |
TBH |
static int |
TBL |
static int |
TOD_HR |
static int |
TOD_MIN |
static int |
TOD_SEC |
static int |
TOD_TEN |
| Modifier | Constructor and Description |
|---|---|
protected |
MOS6526(IEventContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
clock(double clock) |
String |
credits() |
abstract void |
interrupt(boolean state) |
abstract void |
portA() |
abstract void |
portB() |
short |
read(short addr) |
void |
reset() |
protected void |
ta_event() |
protected void |
tb_event() |
protected void |
tod_event() |
protected void |
trigger(int irq) |
void |
write(short addr,
short data) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waiterrorpublic static final int INTERRUPT_TA
public static final int INTERRUPT_TB
public static final int INTERRUPT_ALARM
public static final int INTERRUPT_SP
public static final int INTERRUPT_FLAG
public static final int INTERRUPT_REQUEST
public static final int PRA
public static final int PRB
public static final int DDRA
public static final int DDRB
public static final int TAL
public static final int TAH
public static final int TBL
public static final int TBH
public static final int TOD_TEN
public static final int TOD_SEC
public static final int TOD_MIN
public static final int TOD_HR
public static final int SDR
public static final int ICR
public static final int IDR
public static final int CRA
public static final int CRB
protected short[] regs
protected boolean cnt_high
protected short cra
protected short cra_latch
protected short dpa
protected int ta
protected int ta_latch
protected boolean ta_underflow
protected short crb
protected int tb
protected int tb_latch
protected boolean tb_underflow
protected short sdr_out
protected boolean sdr_buffered
protected int sdr_count
protected short icr
protected short idr
protected long m_accessClk
protected IEventContext event_context
protected Event.event_phase_t m_phase
protected boolean m_todlatched
protected boolean m_todstopped
protected short[] m_todclock
protected short[] m_todalarm
protected short[] m_todlatch
protected MOS6526.EventTa event_ta
protected MOS6526.EventTb event_tb
protected MOS6526.EventTod event_tod
protected MOS6526(IEventContext context)
protected void ta_event()
protected void tb_event()
protected void tod_event()
protected void trigger(int irq)
public abstract void interrupt(boolean state)
public abstract void portA()
public abstract void portB()
public void reset()
reset in interface IComponentpublic short read(short addr)
read in interface IComponentpublic void write(short addr,
short data)
write in interface IComponentpublic final String credits()
credits in interface IComponentpublic void clock(double clock)
clock - Copyright © 2014. All rights reserved.