![]() |
![]() |
#1 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
68030, 68040 and 68060 MMU support (really!)
Aranym's 68040 MMU code was finally enabled today. (and executable size is now about 8 megabytes, 5th CPU core. yay..)
No, it isn't really working yet but at least it gets as far as setpatch setting up MMU tables and then it does something weird.. No, JIT is not supported and never will. Note that I am not going to fix/update the code if it has some missing features that Amiga software requires. UPDATE: 68040.library works now, enforcer still causes infinite bus errors. Last edited by Toni Wilen; 22 August 2009 at 15:49. |
![]() |
![]() |
#2 |
Registered User
Join Date: Nov 2008
Location: Swedun'
Posts: 397
|
Is Aranym another developer then? Some guy who decided to pitch in with some 68040-code? If so, cudos to him. Must be nice knowing you're not all alone in the world, trying to get Amiga-emulation to perfection.
![]() |
![]() |
![]() |
#3 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
Aranym is (expanded) Atari ST/TT/Falcon emulator
![]() |
![]() |
![]() |
#4 | |
Zone Friend
|
![]()
FANTASTIC ! This might mean: the future *may* bring Amiga UNIX alternatives to Minix (which only works in ancient version on the current emulation core)
Quote:
![]() JIT is great for gaming or Mandelbrot-ish gfx, but when it comes to alien file-systems emulated in an emulator on its part, I'll gladly live without ![]() |
|
![]() |
![]() |
#5 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
AFAIK "official" Amiga Unix is 68030 only. (68040 MMU is totally different than 68030 MMU. 68030 MMU is extremely complex, 68040 is relatively simple)
|
![]() |
![]() |
#6 | |
Zone Friend
|
Ouch. so my enthusiasm might have been a bit over the top once more...
Quote:
![]() Maybe someday there will be in fact a volunteer to code this awfully cumbersome 68030 MMU emulation. We have to face the fact you do not want to do it (your decision, isn't it) Surely Dave Haynie could help you a lot with this - but he seems to have disappeared from public reach for good... |
|
![]() |
![]() |
#7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
Enforcer seems to work now. It is more than enough for me
![]() Problem reports will be posted here when beta is available.. (MMU is bonus feature that may or may not work in next official version) |
![]() |
![]() |
#8 |
Registered User
Join Date: Aug 2009
Location: UK
Posts: 23
|
If I get chance, I'll see if I can boot a NetBSD kernel, but that might be asking a lot...
|
![]() |
![]() |
#9 |
Registered User
Join Date: Jun 2008
Location: Boston USA
Posts: 466
|
|
![]() |
![]() |
#10 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
It is guaranteed to not boot yet (some instructions won't restart properly after bus error) but some kind of 68040 Unix/Linux installation would be nice compatibility test case.
|
![]() |
![]() |
#11 |
Longplayer
|
I havent done much to stress mmu testing yet, but have tried a couple of things. MuMove4k (MMULIB Module) seems to cause a ramlib error (not mumove4k itself - just the effect of having it running with some other prog i havent identified yet). It will error on every boot if i manualy reboot but clicking reboot on the error message box, it will guru but then wb will load fine.
Once working MuFastZero seems to work ok, but expansion.lib still seems stuck in chipmem even though sysinfo says Fast Mem (instead of usual 32bit fastmem). mmulib 68k libs in use (doesnt auto move vbr like phase5 libs do). lastly CPU FASTROM doesnt appear to do anything still. (tried a few 68040 libs). ill see if i can enable virtual memory in mac emu later (mmu enabled mode) and try Asp spectrum emu (Although i think that already works anyway without mmu) |
![]() |
![]() |
#12 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
MMULib 68040.library does not seem to work but without sources it will be too time consuming task..
EDIT: what happens is that mmu.library or 68040.library does some kind of test read, which causes bus error (access violation) as expected, error handler does some MMU page reconfiguration and when handler exits, test read instruction restarts but it still causes bus error which probably shouldn't happen. (MMU table has been changed, bus error isn't exactly the same) Last edited by Toni Wilen; 24 August 2009 at 19:05. |
![]() |
![]() |
#13 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
It seems to work now (note that this isn't beta 11, ignore title bar text) but I am not sure if there is any point..
|
![]() |
![]() |
#14 |
Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
Hi Toni,
The point is that if you can get this working, it might stimulate the development of an "official" Amiga Unix for the 68040. ![]() |
![]() |
![]() |
#15 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
You're great Toni, thanks!
I tried merging Aranym back by myself (which led exactly nowhere so far ![]() Did you use Linux/m68k for that screenshot? |
![]() |
![]() |
#16 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
Quote:
|
|
![]() |
![]() |
#17 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
Beta 12 includes Linux compatible 68040 MMU.
If someone is interested with M68K Linux: please upload working Linux HDF (using SCSI or IDE emulated hardware) with basic utilities included, thanks ![]() |
![]() |
![]() |
#18 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
The last Debian with proper Amiga support was probably Slink. (Sarge has floppy installers for Atari only.) Let's see whether these installation instructions are useful.
EDIT: Sarge can be installed from HD. see here and load images from here Last edited by gilgamesh; 29 August 2009 at 15:35. |
![]() |
![]() |
#19 |
Registered User
Join Date: Aug 2009
Location: UK
Posts: 23
|
This is a rather old NetBSD kernel, but it did boot (note the details of sd0):
|
![]() |
![]() |
#20 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
Great
![]() Mulib crash is due to bug in original Aranym MMU emulation (I sent report to original authors), this will be fixed in next beta. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
68040 vs 68060 | tesla | support.Hardware | 10 | 20 April 2013 19:13 |
68040 MMU jsr/bsr | Toni Wilen | Coders. General | 5 | 28 April 2010 20:57 |
68060 fpu not available mmu not active | amigarlz | support.Hardware | 6 | 18 March 2010 06:35 |
WTB: 68030 or 68040 accelerator for A2000 | Shadowfire | MarketPlace | 2 | 19 September 2009 17:52 |
68030/mmu Support in WinUAE | dkovacs | request.UAE Wishlist | 19 | 22 August 2005 14:42 |
|
|