https://gist.github.com/uyjulian/2081c3 ... edafc067f9
I took a old version of UAE and Basilisk II and compared them; the result is located at the link above.
Key differences:
Include files were changed, or integrated into the source file
The "currprefs" structure is not used; variables in that structure have been integrated into the code
Different naming:
currprefs.address_space_24 -> TwentyFourBitAddressing
currprefs.cpu_level -> CPUType
Amiga memory mapping has changed to Mac memory mapping
REGPARAM2 is used
update_68k_cycles removed
m68k_reset first two lines changed:
m68k_areg (regs, 7) = 0x2000;
m68k_setpc (ROMBaseMac + 0x2a);
EMUL_OP 71xx opcode handled
m68k_go turned re-entrant
That's the major changes that I caught. Hopefully this information allows anybody who wants to update the CPU core in Basilisk II to use the CPU core from Previous, Hatari, or WinUAE.
UAE vs Basilisk II CPU emulation code diff
Moderators: Cat_7, Ronald P. Regensburg
- SistemaRayoXP
- Tinkerer
- Posts: 82
- Joined: Fri Oct 13, 2017 4:34 pm
- Location: Mexico
- Contact:
Re: UAE vs Basilisk II CPU emulation code diff
Thanks , this really helps me to develop the new VirtualMac engine, which is, basically WinUAE merged with Basilisk II to emulate an almost complete Mac.
Read it here: viewtopic.php?f=1&t=9505
In my last post, I explain a bit what I do, and the information about the code on GitHub will help me to make it a bit more easy, thanks
Read it here: viewtopic.php?f=1&t=9505
In my last post, I explain a bit what I do, and the information about the code on GitHub will help me to make it a bit more easy, thanks
Hill radio station first attempt: Failure. Retrying...
- rickyzhang
- Apple Corer
- Posts: 205
- Joined: Mon Sep 15, 2014 7:59 pm
Re: UAE vs Basilisk II CPU emulation code diff
What's the upside of switching CPU emulation module?
There is an App for that!
https://github.com/rickyzhang82
https://github.com/rickyzhang82
- SistemaRayoXP
- Tinkerer
- Posts: 82
- Joined: Fri Oct 13, 2017 4:34 pm
- Location: Mexico
- Contact:
Re: UAE vs Basilisk II CPU emulation code diff
Not so much. But UAE has more than that, it has emulation of entire devices like Video Cards, SCI and so on. And that, added to Basilisk, would be a great improvement
Hill radio station first attempt: Failure. Retrying...