unix_main: Support specification of multiple disc images.#18
unix_main: Support specification of multiple disc images.#18jepler wants to merge 4 commits intoevansm7:mainfrom
Conversation
This doesn't do anything yet, only the first disc image is actually mounted.
with caveats
|
As an alternate implementation method I've also prototyped basilisk-like emulator operation opcodes, which required an addition to musashi. cpu_write_word(new_sp, 0xA02F); // PostEvent
cpu_write_word(new_sp+2, 0x7180); // emul_ret
m68k_set_reg(M68K_REG_PC, new_sp);
m68k_set_reg(M68K_REG_SP, new_sp);
int used = m68k_execute(20000);(while still avoiding calling m68k_execute recursively, which I don't think would work properly) the implementation in mushashi is quite simple: the range of |

Two disc images can now be mounted in umac, by specifying two
-darguments.However, it's only compatible with one of the two system images I tried it with: System-Disk-1-1g.dsk hates it, quickly exiting after attempting to access the address0x(de)adbeef. ButHyperCardBootSystem7.imgis happy and reaches the desktop.So, it's safe to say this needs more work.