English Amiga Board

Go Back   English Amiga Board > Support > New to Emulation or Amiga scene

Thread Tools
Old 11 November 2003, 23:42   #1
Posts: n/a
Usung UAE CPU core


I'd like to use the UAE CPU core in one of my apps, but it seems so tightly embedded that it will be difficult to separate from UAE itself.

Can anyone give me some ips and/or directions?


Old 12 November 2003, 18:48   #2
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 45
Posts: 23,905
It isn't that complex. Basically you only need pieces from newcpu.c, cpudefs.c, cpustbl.c and complete cpuemu.c (UAE, all CPU cores in one long file). I recommend WinUAE sources because cpuemu.c is separated to 3 files, cpuemu_0.c (generic 680x0), cpuemu_5.c (68000 + ínstruction prefetch emulation) or cpuemu_6.c (68000 cycle-exact, hard to separate from custom emulation)

Note that you need to run gencpu-project to create most cpu*.c files.
Toni Wilen is offline  
Old 12 November 2003, 20:59   #3
Posts: n/a
Thanks for the info Toni. So I'll be looking at cpuemu_0.c for an '020 core, and I need to start picking apart the other files to see what I need from them.

I was using Starscream, which simply supplies a few calls and lets me set up a memory map. It sounds like UAE will be a bit more complex than that.

Any hint on what header files are necesary just for the cpu core?
Old 12 November 2003, 21:29   #4
Posts: n/a
Me again. I'm looking at these files, and I'm not at all sure what to pull out. newcpu.c alone has 16 includes. Most of those have even more includes, and before you know it, I'm back into my mess.

It's obvious that I don't need blitter.h, uae.h, gui.h, and some of the others.

It doesn't look to me like there is a clean separation of the CPU from the rest of UAE.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deep Core issues dlfrsilver support.Games 68 03 September 2018 03:38
PC Engine Core Grafx II + ami_junkie MarketPlace 0 19 May 2012 14:49
Cheap dual core mobo/cpu/ram Smiley MarketPlace 0 16 May 2012 14:23
Hatari now uses WinUAE CPU Core Ian Retrogaming General Discussion 7 15 January 2012 10:36
For Sale: Core 2 Duo PC PowerPie5000 MarketPlace 0 04 March 2010 17:00

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 04:55.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.10279 seconds with 13 queries