English Amiga Board


Go Back   English Amiga Board > Support > support.OtherUAE

 
 
Thread Tools
Old 31 October 2018, 18:08   #1
rsn8887
Registered User
 
rsn8887's Avatar
 
Join Date: Oct 2006
Location: USA
Posts: 1,058
Amiga emulator for 64 bit ARM?

Is there any working Amiga emulator that runs natively on 64Bit ARM, compiled as true 64Bit elf?
rsn8887 is offline  
Old 31 October 2018, 18:20   #2
rsn8887
Registered User
 
rsn8887's Avatar
 
Join Date: Oct 2006
Location: USA
Posts: 1,058
Would Amiberry work compiled as a 64bit executable? I have run into a roadblock trying to port UAE4ALL2 to Switch because the toolchain only supports 64bit elf, and the famec core does all kinds of pointer gymnastics that crash when compiled as 64bit app.
rsn8887 is offline  
Old 31 October 2018, 19:14   #3
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Quote:
Originally Posted by rsn8887 View Post
Would Amiberry work compiled as a 64bit executable? I have run into a roadblock trying to port UAE4ALL2 to Switch because the toolchain only supports 64bit elf, and the famec core does all kinds of pointer gymnastics that crash when compiled as 64bit app.
You can probably compile fs-uae for ARM64. I need to ask why you'd want to though? Do you suspect the ARM64 instructions might make it run faster?
plasmab is offline  
Old 31 October 2018, 20:47   #4
rsn8887
Registered User
 
rsn8887's Avatar
 
Join Date: Oct 2006
Location: USA
Posts: 1,058
I am just trying to get an emulator to run on a 64bit system without crashing.

I think I understand it now. The problem was that the famec core did a bunch of pointer gymnastics. I used -fpermissive when compiling that code. So what should have been compilation errors just returned warnings. Those errors led to crashing.

Now that I understand the problem, I think I might be able to fix the code, so it becomes 64 bit compatible.
rsn8887 is offline  
Old 31 October 2018, 21:50   #5
rsn8887
Registered User
 
rsn8887's Avatar
 
Join Date: Oct 2006
Location: USA
Posts: 1,058
I tried to make famec, as used by UAE4All2, 64bit compatible. At least as long as emulated memory is located in the lower 32bits it might work.

I have zero knowledge about 68k emulation details. Maybe someone with more experience could look over my commit and tell me if this is an ok approach, or if it will never work this way?

Here is my commit:
https://github.com/rsn8887/uae4all2/...261a55d541a57e

I simply tried to elevate all pointers to 64bit, and make sure all the other uae* types have the correct widths.

Something in my gut tells me that this will never work. But I don't know why?

If it will never work this way, I'd rather not waste more time on it.

Last edited by rsn8887; 31 October 2018 at 22:30.
rsn8887 is offline  
Old 02 November 2018, 12:40   #6
twenty90seven
twenty90seven
 
twenty90seven's Avatar
 
Join Date: Jun 2012
Location: Brisbane, Australia
Posts: 196
An Amiga emulator for Switch would be very cool! Glad it is being looked into (nice work with the one on the Vita!)
twenty90seven is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
64-bit WinUAE doesn't work on 64-bit Windows XP mark_k support.WinUAE 6 24 December 2017 21:17
UAE4ARM, actually for ARM? Enverex support.OtherUAE 3 08 June 2016 11:58
REQ: 17-Bit Artwork 2 (1988-04)(17-Bit Software) Sea7 request.Demos 5 13 May 2011 01:07
8 bit to optimized 6 bit palette histogram improvements needed NovaCoder Coders. General 0 14 April 2011 02:13
Amiga 600 (16 BIT), Amiga 1200 (??? BIT)? etheridge support.Hardware 9 20 May 2002 02:25

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 14:31.

Top

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