Package smsqmulator

Class SMSQE

java.lang.Object
smsqmulator.SMSQE

public class SMSQE extends Object
Methods to setup smsqe.
  • Constructor Details

    • SMSQE

      public SMSQE()
  • Method Details

    • setupSMSQE

      public static boolean setupSMSQE(MC68000Cpu cpu, inifile.IniFile iniFile)
      Checks that SMSQE is correct, sets many of the different config options.
      Parameters:
      cpu - what cpu loaded the rom file
      iniFile - where to find config options
      Returns:
      true if SMSQE setup ok. NB split off from CPU.
    • loadRom

      public static boolean loadRom(String filename, MC68000Cpu cpu)
      Load the rom file into the cpu memory.
      Parameters:
      filename - name of entire path to file.
      cpu - the cpu into which the rom is to be loaded.
      Returns:
      true if rom was loaded ok
    • CheckForValidSMSQE

      public static boolean CheckForValidSMSQE(MC68000Cpu cpu)
      Checks that SMSQ/E is valid (the right version) and prepares the CPU for starting execution (sets the initial stack pointer and pc)
      Parameters:
      cpu - the cpu to check
      Returns:
      true if valid SMSQE