Class Core24bit

java.lang.Object
  extended by Core24bit

public final class Core24bit
extends java.lang.Object


Constructor Summary
Core24bit()
           
 
Method Summary
 int log2ofmemsize()
           
 Reg8 peek(Reg32 address)
           
 void poke(Reg32 address, Reg8 in)
           
 ByteArray read(Reg32 address, int num)
           
 Reg32 readlong(Reg32 address)
          readlong() returns null when the input address is odd.
 Reg16 readword(Reg32 address)
          readword() returns null when the input address is odd.
 void write(Reg32 address, ByteArray in)
           
 boolean writelong(Reg32 address, Reg32 in)
           
 boolean writeword(Reg32 address, Reg16 in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Core24bit

public Core24bit()
Method Detail

peek

public Reg8 peek(Reg32 address)

poke

public void poke(Reg32 address,
                 Reg8 in)

readword

public Reg16 readword(Reg32 address)
readword() returns null when the input address is odd. The MC68000 chip faults on memory reads/writes at an odd address.


writeword

public boolean writeword(Reg32 address,
                         Reg16 in)

readlong

public Reg32 readlong(Reg32 address)
readlong() returns null when the input address is odd. The MC68000 chip faults on memory reads/writes at an odd address.


writelong

public boolean writelong(Reg32 address,
                         Reg32 in)

read

public ByteArray read(Reg32 address,
                      int num)
               throws FeralcoreException
Throws:
FeralcoreException

write

public void write(Reg32 address,
                  ByteArray in)

log2ofmemsize

public int log2ofmemsize()