11 November 2003, 23:42 | #1 |
Posts: n/a
|
Usung UAE CPU core
Hi,
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? Thanks, Gerald |
12 November 2003, 18:48 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
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. |
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? |
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 |
|
|