mirror of
https://github.com/simh/simh.git
synced 2026-02-14 11:55:51 +00:00
AltairZ80: M68K: Changes for SIMH.
Build: Compiled with VS 2022, Clang, gcc. Test: Boot and run CP/M-68K from: https://schorn.ch/cpm/zip/cpm68k.zip
This commit is contained in:
committed by
Mark Pizzolato
parent
129ed5e1a9
commit
7fec24dbde
@@ -244,6 +244,8 @@ void m68k_clear_memory(void ) {
|
||||
void m68k_cpu_reset(void) {
|
||||
WRITE_LONG(m68k_ram, 0, 0x00006000); // SP
|
||||
WRITE_LONG(m68k_ram, 4, 0x00000200); // PC
|
||||
m68k_init();
|
||||
m68k_set_cpu_type(M68K_CPU_TYPE_68000);
|
||||
m68k_pulse_reset(); // also calls MC6850_reset()
|
||||
m68k_CPUToView();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user