Login  •  Register


The time is now: Tue Sep 18, 2018 1:08 pm

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 4 posts ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Sat Mar 31, 2018 5:32 am 
Offline
Apple Corer
User avatar

Joined: Fri Aug 27, 2010 1:02 am
Posts: 215
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.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Apr 09, 2018 12:26 pm 
Offline
Tinkerer
User avatar

Joined: Fri Oct 13, 2017 4:34 pm
Posts: 74
Location: Mexico
Thanks :lol: , 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

_________________
I'll attempt to make a radio station in the hill.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Apr 11, 2018 8:16 pm 
Offline
Mac Mechanic
User avatar

Joined: Mon Sep 15, 2014 7:59 pm
Posts: 155
What's the upside of switching CPU emulation module?

_________________
There is an App for that!
https://github.com/rickyzhang82


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Apr 11, 2018 8:44 pm 
Offline
Tinkerer
User avatar

Joined: Fri Oct 13, 2017 4:34 pm
Posts: 74
Location: Mexico
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

_________________
I'll attempt to make a radio station in the hill.


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 4 posts ]


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group