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
9 crawler(s) on-line.
 55 guest(s) on-line.
 3 member(s) on-line.


 amigakit,  kolla,  Matt3k

You are an anonymous user.
Register Now!
 kolla:  24 secs ago
 Matt3k:  1 min ago
 amigakit:  1 min ago
 retrofaza:  24 mins ago
 pixie:  34 mins ago
 pavlor:  36 mins ago
 acer:  57 mins ago
 Gunnar:  1 hr 38 mins ago
 kinchan:  1 hr 44 mins ago
 VooDoo:  2 hrs 6 mins ago

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

PosterThread
matthey 
Re: ARPi - AROS on Raspberry Pi
Posted on 25-Aug-2018 20:24:14
#1 ]
Elite Member
Joined: 14-Mar-2007
Posts: 2019
From: Kansas

Quote:

bobson wrote:
Could memory protection be introduced - with a sandboxing for the classic Amiga stuff? else the whole exercise is pointless...


Yes, I believe full memory protection and resource tracking could be added to the AmigaOS with major changes to the API. Classic Amiga software could then run safely in a sandbox.

The AmigaOS works much different than Linux/BSD/Windows. The CPU instructions generate an effective address (EA) which the AmigaOS usually has mapped directly to a physical address (PA) in a flat shared memory model. Linux/BSD/Windows CPU instructions generate an EA which is mapped to a virtual address (VA) which is mapped to the PA with the aid of a memory management unit (MMU). Each task/process has its own virtual address space which remains separate and isolated from others. The CPU uses translation lookaside buffer (TLB) caches which quickly translate virtual to physical addresses. Programs usually start at low virtual addresses and often historically at the same address which is poor for security (AmigaOS programs have always loaded and started anywhere in physical memory). Task switching involves slower swapping of virtual address spaces which the AmigaOS has no concept of. CPUs have grown to support the virtual address spaces and paging concepts of these popular OSs despite their performance handicap, especially on less than high end CPUs. Despite multi-levels of TLB caches, TLB misses can easily cause double digit and sometimes as much as 50% performance losses (worse with 64 bit and SMP). The AmigaOS can easily create MMU pages with protections for memory but isolation of process address spaces is difficult without breaking compatibility. To make matters worse, the AmigaOS being a microkernel places almost everything in user space for best performance (Linux/BSD/Windows started as monolithic kernels with practically the whole OS in supervisor space). Separating the address spaces likely needs some kind of privilege based system like capability based security or a protection ring (needs hardware support but may be able to give the AmigaOS efficient security with the fewest changes). Embedded systems struggle with the same decision between better security with the overhead of modern CPU "virtual" support and better performance, lower jitter and better energy efficiency without it. It's possible the responsiveness, efficiency and small footprint of the AmigaOS we like would disappear when fully assimilated.

Quote:

I thought thats what AROS was - an Amiga OS compatible api, running in a sandbox + some enhancements?


AROS does not have full memory protection so it can't provide a sandbox. It may be possible to run hosted in another OS's sandbox or using hardware assisted virtualization.

Quote:

So how much work would be involved in porting OS4 to RPi / ARM? or are we better off binning it all, and starting again?


I expect a simple port with no modern enhancements would be moderately difficult if big endian was enabled (the difficult parts being everything in supervisor mode, the drivers and the 68k and possibly new PPC JIT). Unfortunately, we don't know what condition the source code is in.

I'm not sure Hyperion would be interested anyway as they passed up the chance to proliferate the AmigaOS on the PS3 and PPC Macs. They seem to have a different business model that looks snobbish and arrogant to me but maybe the rumors about their financial situation are wrong.

 Status: Offline
Profile     Report this post  
 Top | Parent

Replies
SubjectPosterDate
      Re: ARPi - AROS on Raspberry Pikolla26-Aug-2018 10:23:38
          Re: ARPi - AROS on Raspberry Pimatthey26-Aug-2018 20:33:54
              Re: ARPi - AROS on Raspberry Pinikosidis26-Aug-2018 21:03:23
              Re: ARPi - AROS on Raspberry Pibison26-Aug-2018 22:15:50
                  Re: ARPi - AROS on Raspberry Pinikosidis26-Aug-2018 23:41:20
                      Re: ARPi - AROS on Raspberry Pibison27-Aug-2018 14:36:57
                          Re: ARPi - AROS on Raspberry Pimatthey28-Aug-2018 1:29:37
                  Re: ARPi - AROS on Raspberry Pinikosidis27-Aug-2018 0:02:24
                      Re: ARPi - AROS on Raspberry Pitonyw27-Aug-2018 0:54:12
                          Re: ARPi - AROS on Raspberry Piterminills27-Aug-2018 1:24:44
                              Re: ARPi - AROS on Raspberry Pinikosidis27-Aug-2018 1:34:37
                  Re: ARPi - AROS on Raspberry Pimatthey27-Aug-2018 1:39:57
                      Re: ARPi - AROS on Raspberry PiAdvancedFollower27-Aug-2018 9:19:37
                          Re: ARPi - AROS on Raspberry Piwawa27-Aug-2018 9:44:58
                              Re: ARPi - AROS on Raspberry Piterminills27-Aug-2018 11:51:56
                                  Re: ARPi - AROS on Raspberry Piwawa27-Aug-2018 12:30:13
                                      Re: ARPi - AROS on Raspberry Piterminills27-Aug-2018 12:35:47
                                          Re: ARPi - AROS on Raspberry PiOlafS2527-Aug-2018 12:40:08
                                              Re: ARPi - AROS on Raspberry Piterminills27-Aug-2018 12:59:32
                                                  Re: ARPi - AROS on Raspberry PiOlafS2527-Aug-2018 13:01:52
                                                      Re: ARPi - AROS on Raspberry Pinikosidis27-Aug-2018 14:04:36
                                          Re: ARPi - AROS on Raspberry Pimegol27-Aug-2018 19:01:24
                          Re: ARPi - AROS on Raspberry Pimatthey27-Aug-2018 23:45:43
                      Re: ARPi - AROS on Raspberry PiOldAmigan27-Aug-2018 9:50:29
                          Re: ARPi - AROS on Raspberry Pinikosidis27-Aug-2018 12:08:09
              Re: ARPi - AROS on Raspberry Pigregthecanuck28-Aug-2018 4:55:42
                  Re: ARPi - AROS on Raspberry Pimatthey29-Aug-2018 17:15:49


PosterThread
nikosidis 
Re: ARPi - AROS on Raspberry Pi
Posted on 16-Dec-2018 23:25:38
#1 ]
Cult Member
Joined: 9-Dec-2008
Posts: 994
From: Norway, Oslo

USB works now. There will be an image for us to test very soon :)
This is great and exiting. This could realy boost AROS development.

https://www.patreon.com/posts/fight-with-usb-23357589?utm_medium=post_notification_email&utm_source=post_link&utm_campaign=patron_engagement

Hope to see Janus-uae for arm or some other 68k emulator.

Last edited by nikosidis on 16-Dec-2018 at 11:29 PM.

 Status: Offline
Profile     Report this post  
 Top | Parent

Replies
SubjectPosterDate
      Re: ARPi - AROS on Raspberry Pinikosidis16-Dec-2018 23:43:21
          Re: ARPi - AROS on Raspberry PiLou17-Dec-2018 0:55:31
              Re: ARPi - AROS on Raspberry Pinikosidis22-Jan-2019 13:38:31
                  Re: ARPi - AROS on Raspberry Piterminills3-Feb-2019 0:18:03
                      Re: ARPi - AROS on Raspberry Pideadwood3-Feb-2019 14:54:17
                          Re: ARPi - AROS on Raspberry Pinikosidis3-Feb-2019 21:02:33
                              Re: ARPi - AROS on Raspberry Pig01df1sh4-Feb-2019 8:56:20
                                  Re: ARPi - AROS on Raspberry Pig01df1sh4-Feb-2019 8:58:55
                                      Re: ARPi - AROS on Raspberry Piterminills4-Feb-2019 9:53:20
                              Re: ARPi - AROS on Raspberry Pippcamiga16-Feb-2019 8:27:50
                                  Re: ARPi - AROS on Raspberry PiOlafS256-Feb-2019 9:53:37
                                  Re: ARPi - AROS on Raspberry Pivision6-Feb-2019 12:01:06
                          Re: ARPi - AROS on Raspberry Piterminills4-Feb-2019 9:54:20
                      Re: ARPi - AROS on Raspberry Piterminills8-Feb-2019 19:08:28
                          Re: ARPi - AROS on Raspberry Piterminills11-Feb-2019 9:15:06



[ 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