Welcome, Guest. Please login or register.

Author Topic: How to move AROS forward  (Read 30487 times)

Description:

0 Members and 2 Guests are viewing this topic.

Offline koaftder

  • Hero Member
  • *****
  • Join Date: Apr 2004
  • Posts: 2116
    • Show all replies
    • http://koft.net
Re: How to move AROS forward
« on: July 26, 2008, 12:35:58 AM »
At some point, most people eventually learn when the fundamental architecture of a system is no longer worth saving...
 

Offline koaftder

  • Hero Member
  • *****
  • Join Date: Apr 2004
  • Posts: 2116
    • Show all replies
    • http://koft.net
Re: How to move AROS forward
« Reply #1 on: July 29, 2008, 04:37:34 PM »
@HenryCase

I wrote a small, very simple virtual machine last weekend which you may or may not find interesting along with a simple assembler. At the very least it shows how a simple vm can be written. It's a stack machine with ~25 opcodes and no registers.

The VM

assembler

example assembly program

It does have bugs.
 

Offline koaftder

  • Hero Member
  • *****
  • Join Date: Apr 2004
  • Posts: 2116
    • Show all replies
    • http://koft.net
Re: How to move AROS forward
« Reply #2 on: July 29, 2008, 11:14:09 PM »
Quote

HenryCase wrote:
Quote
itix wrote:
Again everything which is passed between applications and kernel must be public memory. Using private memory in Amiga is useless because such memory can not be passed to kernel calls because you dont know what kernel does with it. You can not trust that library calls can handle private memory.


So in an MP protected OS like, for example, FreeBSD, how do instructions/data get passed between applications and kernel?


There are a ton of ways to do this.

Signals
Shared memory segments
IPC
TCP

With the exception of the SYS V shared memory segment thing, which is hardly ever used in my experience, all the intra process data sharing consists of passing messages from the process through the kernel and to the other process.
 

Offline koaftder

  • Hero Member
  • *****
  • Join Date: Apr 2004
  • Posts: 2116
    • Show all replies
    • http://koft.net
Re: How to move AROS forward
« Reply #3 on: July 30, 2008, 01:57:05 AM »
Wouldn't it be nice to have Aros hosted under L4 and extend from there...