Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
11 crawler(s) on-line.
 90 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 Musashi5150:  10 mins ago
 michalsc:  20 mins ago
 Rob:  22 mins ago
 pixie:  29 mins ago
 roar:  1 hr 28 mins ago
 MEGA_RJ_MICAL:  1 hr 35 mins ago
 VooDoo:  1 hr 43 mins ago
 Hammer:  2 hrs 14 mins ago
 Massi:  2 hrs 19 mins ago
 DiscreetFX:  2 hrs 38 mins ago

/  Forum Index
   /  AROS Software
      /  ARPi - AROS on Raspberry Pi
Register To Post

PosterThread
Wumpus 
Re: ARPi - AROS on Raspberry Pi
Posted on 30-Aug-2018 20:13:04
#1 ]
Member
Joined: 12-Apr-2018
Posts: 61
From: Unknown

@matthey
Quote:

I hope "that level of [68k] compatibility" is not required as we don't know if it is possible yet on the Raspberry Pi. Michal hasn't said anything about finding a way to enable big endian support without using a deprecated instruction. A compatibility breaking little endian AROS ARM port for the Raspberry Pi probably makes more sense otherwise. Big endian hardware is a dying breed and 68k compatibility is much less efficient without it.


For the newer 64bit pi, setend is gone, not just deprecated.

You can set the data endianness using a bit in the system control register though. You could set this early on and just leave it as far as I can tell.

The instruction endianness is always LE, but that doesn't really matter as long as the data structures are BE for 68k code to access.

Edit: I found one of the reference I remembered:

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0024a/BABEGIJE.html

Quote:

This data endianness is controlled independently for each Execution level. For EL3, EL2 and EL1, the relevant register of SCTLR_ELn.EE sets the endianness. The additional bit at EL1, SCTLR_EL1.E0E controls the data endian setting for EL0. In the AArch64 execution state, data accesses can be LE or BE, while instruction fetches are always LE.

Whether a processor supports both LE and BE depends upon the implementation of the processor. If only little-endianness is supported, then the EE and E0E bits are always 0. Similarly, if only big-endianness is supported, then the EE and E0E bits are at a static 1 value.

When using AArch32, having the CPSR.E bit have a different value to the equivalent System Control register EE bit when in EL1, EL2, or EL3 is now deprecated. The use of the ARMv7 SETEND instruction is also deprecated. It is possible to cause the Undef exception to be taken upon executing a SETEND instruction, by setting the SCTLR.SED bit.

Last edited by Wumpus on 30-Aug-2018 at 08:43 PM.

 Status: Offline
Profile     Report this post  
 Top | Parent

Replies
SubjectPosterDate
      Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 9:41:20
          Re: ARPi - AROS on Raspberry PiWumpus5-Sep-2018 16:17:59
              Re: ARPi - AROS on Raspberry Pinikosidis5-Sep-2018 16:22:31
              Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 17:06:12
                  Re: ARPi - AROS on Raspberry PiWumpus5-Sep-2018 20:42:56
                      Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 20:54:43
                          Re: ARPi - AROS on Raspberry Pihth3136-Sep-2018 7:10:13
                              Re: ARPi - AROS on Raspberry Pimichalsc6-Sep-2018 7:47:05
                          Re: ARPi - AROS on Raspberry PiOlafS256-Sep-2018 10:32:59
                              Re: ARPi - AROS on Raspberry Piwawa6-Sep-2018 17:52:44
                                  Re: ARPi - AROS on Raspberry Piterminills18-Sep-2018 12:55:02
                                      Re: ARPi - AROS on Raspberry Piwawa18-Sep-2018 14:25:11
                                          Re: ARPi - AROS on Raspberry Pinikosidis18-Sep-2018 15:21:21
                                      Re: ARPi - AROS on Raspberry Piterminills19-Oct-2018 12:56:49
                                          Re: ARPi - AROS on Raspberry Pinumber619-Oct-2018 14:50:03
                                              Re: ARPi - AROS on Raspberry Piwawa19-Oct-2018 16:58:30
                                          Re: ARPi - AROS on Raspberry PiOlafS2519-Oct-2018 17:00:10
                                          Re: ARPi - AROS on Raspberry Piterminills9-Nov-2018 11:00:45
          Re: ARPi - AROS on Raspberry Pimatthey5-Sep-2018 20:22:59
              Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 20:38:30
                  Re: ARPi - AROS on Raspberry Pibison5-Sep-2018 21:03:09
                  Re: ARPi - AROS on Raspberry Pimatthey5-Sep-2018 21:28:52
                      Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 21:40:24



[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle