Package CPU

Class JavaComm

java.lang.Object
CPU.JavaComm
All Implemented Interfaces:
InstructionSet

public class JavaComm extends Object implements InstructionSet
This is used to communicate with the Java monitor for TRAP calls. It makes some unused 68000 instructions return to the emulator. This class is used to communicate with the Java monitor for TRAP calls. The actual "illegal instructions" that are used are defined as constants in the Types object. v. 1.02 instructions are no longer negative; "traps" up to TRAPf; add "trap" names to disassembled instruction. v. 1.01 use Aline instructions for "traps" up to TRAPd right now.
  • Constructor Details

    • JavaComm

      public JavaComm()
  • Method Details

    • register

      public final void register(MC68000Cpu cpu2)
      Registers the instruction with the CPU.
      Specified by:
      register in interface InstructionSet
      Parameters:
      cpu2 - the cpu with which to register.