Package smsqmulator
Class SMSQE
java.lang.Object
smsqmulator.SMSQE
Methods to setup smsqe.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Checks that SMSQ/E is valid (the right version) and prepares the CPU for starting execution (sets the initial stack pointer and pc)static boolean
loadRom
(String filename, MC68000Cpu cpu) Load the rom file into the cpu memory.static boolean
setupSMSQE
(MC68000Cpu cpu, inifile.IniFile iniFile) Checks that SMSQE is correct, sets many of the different config options.
-
Constructor Details
-
SMSQE
public SMSQE()
-
-
Method Details
-
setupSMSQE
Checks that SMSQE is correct, sets many of the different config options.- Parameters:
cpu
- what cpu loaded the rom fileiniFile
- where to find config options- Returns:
- true if SMSQE setup ok. NB split off from CPU.
-
loadRom
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
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
-