From owner-linux-activists@joker.cs.hut.fi Mon Nov 23 21:56:03 1992
Status: RO
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	["166" "Mon" "23" "November" "1992" "21:50:46" "+0200" 
"Doctor Math" "root@sanger.chem.nd.edu" nil "6" "" "^From:" nil nil "11"])
Received: from joker.cs.hut.fi by hutcs.cs.hut.fi with SMTP id AA13861
  (5.65c8/HUTCS-S 1.4 for < arl@cs.hut.fi>); Mon, 23 Nov 1992 21:56:01 +0200
Received: from joker.cs.hut.fi by niksula.hut.fi id <61605-2>; 
Mon, 23 Nov 1992 21:55:45 +0200
Received: from nd.edu ([129.74.250.101]) 
by niksula.hut.fi with SMTP id <61531-1>; Mon, 23 Nov 1992 21:55:11 +0200
Received: from sanger.chem.nd.edu by nd.edu id aa11.23-145402:24048;
          23 Nov 92 14:54 EST
Received: by sanger.chem.nd.edu (920330.SGI/HACK-1.0)
	id AA28956; Mon, 23 Nov 92 14:51:14 -0500
Sender: owner-linux-activists@joker.cs.hut.fi
X-Note1: Remember to put 'X-Mn-Key: normal' to your mail body or header
Message-Id: <9211231951.AA28956@sanger.chem.nd.edu>
Apparently-To: linux-activists@joker.cs.hut.fi
From: Doctor Math < root@sanger.chem.nd.edu>
To: linux-activists@joker.cs.hut.fi
Date: Mon, 23 Nov 1992 21:50:46 +0200
X-Mn-Key: 680X0

So I'm not the only one who is considering such a port..

Questions: How much has been done? What remains? What platform is being used?
Is there anybody out there?

From owner-linux-activists@joker.cs.hut.fi Mon Nov 23 22:15:43 1992
Status: RO
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	["963" "Mon" "23" "November" "1992" "22:14:15" "+0200" 
"Dave Williams" "dwilliam@jabba.ess.harris.com " nil "29" 
"Re: (didn't have one: from Doctor Math?)" "^From:" nil nil "11"])
Received: from joker.cs.hut.fi by hutcs.cs.hut.fi with SMTP id AA13982
  (5.65c8/HUTCS-S 1.4 for < arl@cs.hut.fi>); Mon, 23 Nov 1992 22:15:41 +0200
Received: from joker.cs.hut.fi by niksula.hut.fi id <61598-1>; 
Mon, 23 Nov 1992 22:15:10 +0200
Received: from ess.harris.com ([130.41.1.251]) 
by niksula.hut.fi with SMTP id <61531-3>; Mon, 23 Nov 1992 22:14:38 +0200
Received: from jabba.ess.harris.com by ess.harris.com (4.1/SMI-4.0)
	id AA24043; Mon, 23 Nov 92 15:14:46 EST
Received: from cds1077.ess.harris.com by jabba.ess.harris.com (4.1/SMI-4.1)
	id AA11766; Mon, 23 Nov 92 15:14:45 EST
Message-Id: <9211232014.AA11766@jabba.ess.harris.com>
Sender: owner-linux-activists@joker.cs.hut.fi
X-Note1: Remember to put 'X-Mn-Key: normal' to your mail body or header
X-Mailer: ELM [version 2.4 PL11]
Content-Type: text
Content-Length: 962       
From: dwilliam@jabba.ess.harris.com (Dave Williams)
To: linux-activists@joker.cs.hut.fi
Subject: Re: (didn't have one: from Doctor Math?)
Date: Mon, 23 Nov 1992 22:14:15 +0200

X-Mn-Key: 680X0

> So I'm not the only one who is considering such a port..

   No, there's quite a batch of us out here, and more pop up everytime
I open my big mouth!

> Questions: How much has been done? What remains? What platform is being used?
> Is there anybody out there?

   How much:  Not too much, just an ISR structure, a bootloader, and some
serial code

   Remains:  Everything else :-)

   Platform:  Most of the work so far is on the Amiga.  We've got some 
people considering doing stuff for the Mac and Atari.  Nothing the Amiga
group has done so far (except for the bootloader and serial code) is set
specifically to that machine.  We're trying to be as open-minded as possible
here.

   Anyone?  Anyone?  Beuler?  :-)

  Dave Williams                                     | I'm lucky if I can
    dwilliam@jabba.ess.harris.com                   | even spell opinion,
      "Huh?  What?  Could you repeat the question?" | much less have one.

From owner-linux-activists@joker.cs.hut.fi Mon Nov 23 22:43:22 1992
Status: RO
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	["518" "Mon" "23" "November" "1992" "23:38:28" "+0200" 
"Joerg Hessdoerfer" "Joerg.Hessdoerfer@europa.rs.kp.dlr.de" nil "26" 
"ATARI port" "^From:" nil nil "11"])
Received: from joker.cs.hut.fi by hutcs.cs.hut.fi with SMTP id AA14119
  (5.65c8/HUTCS-S 1.4 for < arl@cs.hut.fi>); Mon, 23 Nov 1992 22:43:19 +0200
Received: from joker.cs.hut.fi by niksula.hut.fi id <61628-2>; 
Mon, 23 Nov 1992 22:43:08 +0200
Received: from musc3.rs.kp.dlr.de ([129.247.96.69]) 
by niksula.hut.fi with SMTP id <61648-1>; Mon, 23 Nov 1992 22:42:36 +0200
Received: from europa.rs.kp.dlr.de by musc4.rs.kp.dlr.de (MX V3.1C) with SMTP;
          Mon, 23 Nov 1992 20:39:41 GMT
Received: from QuickMail by europa.rs.kp.dlr.de id qm-00001; Mon, 23 Nov 1992
          21:38:56 +0000
Message-Id: <199211232138569146@europa.rs.kp.dlr.de>
X-Mailer: InterCon Dispatcher/SMTP for QuickMail
X-Priority: 4
Sender: owner-linux-activists@joker.cs.hut.fi
X-Note1: Remember to put 'X-Mn-Key: normal' to your mail body or header
From: Joerg Hessdoerfer < Joerg.Hessdoerfer@europa.rs.kp.dlr.de>
To: linux-activists@joker.cs.hut.fi
Subject: ATARI port
Date: Mon, 23 Nov 1992 23:38:28 +0200

X-Mn-Key: 680X0

Hi Dave!
Have you read the second part of my specs?
(I hope so... :-)
Nice mess, huh?

Btw., Greg doesn't seem to answer requests, are you in closer touch with
him?

I'd definitely like to take a look at your stuff before I start mine...

In hope, Joe.

	email: Joerg.Hessdoerfer@EUROPA.rs.kp.dlr.de

	snail mail:
	       Joerg Hessdoerfer  | Who am I to save the world?
	       Niehler Str. 332   | (Besides, I can't)
	       BRD 5000 Koeln 60

	Telephone: (Germany) 0221/714178 or 02203/6013335

From owner-linux-activists@joker.cs.hut.fi Tue Nov 24 00:53:21 1992
Status: RO
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	["1410" "Tue" "24" "November" "1992" "00:51:45" "+0200" 
"Dave Williams" "dwilliam@jabba.ess.harris.com " nil "36" 
"Re: ATARI port" "^From:" nil nil "11"])
Received: from joker.cs.hut.fi by hutcs.cs.hut.fi with SMTP id AA14738
  (5.65c8/HUTCS-S 1.4 for < arl@cs.hut.fi>); Tue, 24 Nov 1992 00:53:17 +0200
Received: from joker.cs.hut.fi by niksula.hut.fi id <62254-1>; 
Tue, 24 Nov 1992 00:53:04 +0200
Received: from ess.harris.com ([130.41.1.251]) 
by niksula.hut.fi with SMTP id <62010-3>; Tue, 24 Nov 1992 00:52:13 +0200
Received: from jabba.ess.harris.com by ess.harris.com (4.1/SMI-4.0)
	id AA25053; Mon, 23 Nov 92 17:52:15 EST
Received: from pizza.ess.harris.com by jabba.ess.harris.com (4.1/SMI-4.1)
	id AA10655; Mon, 23 Nov 92 17:52:15 EST
Message-Id: <9211232252.AA10655@jabba.ess.harris.com>
Sender: owner-linux-activists@joker.cs.hut.fi
X-Note1: Remember to put 'X-Mn-Key: normal' to your mail body or header
X-Mailer: ELM [version 2.4 PL11]
Content-Type: text
Content-Length: 1409      
From: dwilliam@jabba.ess.harris.com (Dave Williams)
To: linux-activists@joker.cs.hut.fi
Subject: Re: ATARI port
Date: Tue, 24 Nov 1992 00:51:45 +0200

X-Mn-Key: 680X0

> Hi Dave!
> Have you read the second part of my specs?
> (I hope so... :-)
> Nice mess, huh?

   Uh, yeah, you could say that.  Not being at all familiar with the 
Atari hardware, I was hopelessly lost.  Oh well.  Does someone who took
part in the ISR discussion and follows the Atari specs want to comment
on this critter?

> Btw., Greg doesn't seem to answer requests, are you in closer touch with
> him?

   I haven't heard anything from Greg in quite awhile.  (Or FMS, for that
matter!)  I hope we haven't lost him, he's got most of the good stuff in
his head for this critter.  I have a feeling his silence may be related to
the problems with the mailing list we had a week or so back.  (Which everyone
I've talked to denies - but hey, I got about 30 repeated messages one day
two weeks ago, then nothing for about a week.  Recent traffic has been very
sporadic, but looks like it's stabilizing again.)
 
   Greg?  You out there?  FMS?

> I'd definitely like to take a look at your stuff before I start mine...

   OK - what do you want to see?

   I'll have to go home and get the stuff, but I can piece the thing
together tomorrow, just tell me what you want...

  Dave Williams                                     | I'm lucky if I can
    dwilliam@jabba.ess.harris.com                   | even spell opinion,
      "Huh?  What?  Could you repeat the question?" | much less have one.

From owner-linux-activists@joker.cs.hut.fi Wed Nov 25 09:24:11 1992
Status: RO
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	["1231" "Wed" "25" "November" "1992" "09:21:47" "+0200" 
"fms@ccgr.technion.ac.il" "fms@ccgr.technion.ac.il" nil "33" "ATARI port" 
"^From:" nil nil "11"])
Received: from joker.cs.hut.fi by hutcs.cs.hut.fi with SMTP id AA24353
  (5.65c8/HUTCS-S 1.4 for < arl@cs.hut.fi>); Wed, 25 Nov 1992 09:24:08 +0200
Received: from joker.cs.hut.fi by niksula.hut.fi id <61663-1>; 
Wed, 25 Nov 1992 09:23:36 +0200
Received: from ccgr.technion.ac.il ([132.68.2.1]) 
by niksula.hut.fi with SMTP id <61701-3>; Wed, 25 Nov 1992 09:22:49 +0200
Return-Path: < fms@ccgr.technion.ac.il>
Illegal-Object: Syntax error in From: address found on niksula.hut.fi:
	From:	Fishman M.Shmuel < fms@ccgr.technion.ac.il>
		^	 ^-illegal period in phrase
		 \-phrases containing '.' must be quoted
Message-Id: <199211250722.AA00466@ccgr.technion.ac.il>
X-Mailer: Mail User's Shell (7.2.3 5/22/91)
Sender: owner-linux-activists@joker.cs.hut.fi
X-Note1: Remember to put 'X-Mn-Key: normal' to your mail body or header
From: < fms@ccgr.technion.ac.il>
To: linux-activists@joker.cs.hut.fi
Subject: ATARI port
Date: Wed, 25 Nov 1992 09:21:47 +0200
X-Mn-Key: 680X0

[ This was sent to Dave, instead of the list ]

>From fms Tue Nov 24 01:56:56 1992
From: fms@ccgr.technion.ac.il (Fishman M. Shmuel)
In-Reply-To: dwilliam@jabba.ess.harris.com (Dave Williams)
       "Re: ATARI port" (Nov 24,  1:34am)
X-Mn-Key: 680X0
Date: Tue, 24 Nov 1992 01:56:56 +0000
X-Mailer: Mail User's Shell (7.2.3 5/22/91)
To: dwilliam@jabba.ess.harris.com (Dave Williams)
Subject: Re: ATARI port

:    Greg?  You out there?  FMS?

I'm still here, working on the console stuff. I'm just pretty busy with
my studies.

I don't know the Atari too much, so I didn't comment about it. The ISR
code is pretty Amiga specific, so it will need to be rewritten for the
Atari, the interupt installation code can be #ifdef for Amiga/Atari code, 
though most of the code that references the hardware would need to be
rewritten for each platform just the same.

-- 
-- Fishman M. Shmuel (FMS)     Technion -- Israel Institue of Technology
-- fms@ccgr.technion.ac.il                 Taub Computer center.
-- fms@technion.BITNET         "PowerUser: He who knows, respects and uses
-- FMS@irc                      the Power"       -- Book of the Energotics


--- End of forwarded message from Fishman M. Shmuel 

From owner-linux-activists@joker.cs.hut.fi Wed Nov 25 11:52:19 1992
Status: RO
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	["2836" "Wed" "25" "November" "1992" "11:47:05" "+0200" 
"\"Gregory O. Harp\"" "harp@netcom.com" nil "57" "Re: ATARI port " 
"^From:" nil nil "11"])
Received: from joker.cs.hut.fi by hutcs.cs.hut.fi with SMTP id AA25478
  (5.65c8/HUTCS-S 1.4 for < arl@cs.hut.fi>); Wed, 25 Nov 1992 11:52:15 +0200
Received: from joker.cs.hut.fi by niksula.hut.fi id <61634-2>; 
Wed, 25 Nov 1992 11:51:51 +0200
Received: from netcom.netcom.com ([192.100.81.100]) 
by niksula.hut.fi with SMTP id <61598-1>; Wed, 25 Nov 1992 11:51:19 +0200
Received: by netcom.netcom.com (5.65/SMI-4.1/Netcom)
	id AA05613; Wed, 25 Nov 92 01:47:34 -0800
Message-Id: <9211250947.AA05613@netcom.netcom.com>
Sender: owner-linux-activists@joker.cs.hut.fi
X-Note1: Remember to put 'X-Mn-Key: normal' to your mail body or header
From: "Gregory O. Harp" < harp@netcom.com>
To: linux-activists@joker.cs.hut.fi
Subject: Re: ATARI port 
Date: Wed, 25 Nov 1992 11:47:05 +0200
X-Mn-Key: 680X0

>   Uh, yeah, you could say that.  Not being at all familiar with the 
>Atari hardware, I was hopelessly lost.  Oh well.  Does someone who took
>part in the ISR discussion and follows the Atari specs want to comment
>on this critter?

I think FMS already mentioned this, but the ISR code is somewhat Amiga
specific.  In particular, it works with the CIAs and the INTENA/INTREQ
hardware registers.  The general skeleton could be adapted, but it
would have to be modified for the Atari hardware.  I believe the
Ataris use autovectoring, don't they?  Since Amiga's don't there's
no provision for it in the ISR code.  

Basically, this code will have to be different for each platform -- no
big surprise.  Most of the low-level things will.  However, once you
get to the mid- and high-level code such as the scheduler and memory
management code (not including VM swap-to-disk) it should all port
directly.

Essentially, since everything we've developed so far is extremely
low-level code, there's not much to port to other systems.  The only
thing I can suggest is that anyone who's trying to do it take a look
at the specs for the ISR code and then come up with similar function
calls that relate to that system.  The scheduler, which is sort of the
next step in the process, will rely on this code.  It should be system
independant, though.  I can provide the ISR documentation if need
be...

>> Btw., Greg doesn't seem to answer requests, are you in closer touch with
>> him?

>   I haven't heard anything from Greg in quite awhile.  (Or FMS, for that
>matter!)  I hope we haven't lost him, he's got most of the good stuff in
>his head for this critter.  I have a feeling his silence may be related to
>the problems with the mailing list we had a week or so back.  (Which everyone
>I've talked to denies - but hey, I got about 30 repeated messages one day
>two weeks ago, then nothing for about a week.  Recent traffic has been very
>sporadic, but looks like it's stabilizing again.)

I got some messed-up messages on this end, but I think I recieved
everything.  The headers were just broken.

As for working on the project, I'll have to try to find some time to
devote to it.  I'll at least keep up with my mail from now on, so I
don't hold anyone else back...

>   Greg?  You out there?  FMS?

I'm here, but very occupied at the moment.  I've got lots of mail
piled up, and I'll eventually get to all of it.  Perhaps I'll find
some time this week since it's a U.S. holiday.
--
-----------------Greg-Harp----------------harp@netcom.com------------------
  "I think I've reached that point / Where every word that you write /
  Of every blood dark sea / And every soul black night / And every dream
  you dream me in / And every perfect free from sin / And burning eyes /
  And hearts on fire / Are just the same old song" -- The Cure

From owner-linux-activists@joker.cs.hut.fi Wed Nov 25 16:33:55 1992
Status: RO
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	["1447" "Wed" "25" "November" "1992" "11:21:32" "+0200" 
"\"Hamish (H.I.) Macdonald\"" "hamish@bnr.ca" nil "34" "Re: ATARI port " 
"^From:" nil nil "11"])
Received: from joker.cs.hut.fi by hutcs.cs.hut.fi with SMTP id AA28287
  (5.65c8/HUTCS-S 1.4 for < arl@cs.hut.fi>); Wed, 25 Nov 1992 16:33:53 +0159
Received: from joker.cs.hut.fi by niksula.hut.fi id <61756-1>; 
Wed, 25 Nov 1992 16:33:38 +0200
Received: from bcars520 ([192.58.194.73]) 
by niksula.hut.fi with SMTP id <61637-2>; Wed, 25 Nov 1992 16:26:56 +0200
X400-Received: by mta bcars520 in /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed; 
               Wed, 25 Nov 1992 09:24:23 -0500 
X400-Received: by /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed; 
               Wed, 25 Nov 1992 09:23:16 -0500 
X400-Received: by /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed; 
               Wed, 25 Nov 1992 04:22:00 -0500 
X400-Originator: /DD.ID=1619692/G=Hamish/I=HI/S=Macdonald/@bnr.ca 
X400-Mts-Identifier: 
[/PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/;bcars520.b.308:25.10.92.14.23.16] 
X400-Content-Type: P2-1984 (2) 
Content-Identifier: Re: ATARI port 
Message-Id: <"12394 Wed Nov 25 09:24:03 1992"@bnr.ca>
Sender: owner-linux-activists@joker.cs.hut.fi
X-Note1: Remember to put 'X-Mn-Key: normal' to your mail body or header
From: "Hamish (H.I.) Macdonald" < hamish@bnr.ca>
To: linux-activists@joker.cs.hut.fi
Subject: Re: ATARI port 
Date: Wed, 25 Nov 1992 11:21:32 +0200

X-Mn-Key: 680X0

>>>>> 'harp@netcom.com' wrote:

Greg> I believe the Ataris use autovectoring, don't they?  Since
Greg> Amiga's don't there's no provision for it in the ISR code.

Eh?  The Amigas do use autovectoring.  When an interrupt acknowledge
cycle is run by the CPU, the AVEC (input) signal is asserted by
external logic, which causes the CPU to generate the interrupt vector
from the interrupt level.  This is autovectoring.

What (it seems) the Atari uses is the mechanism whereby the device
interrupting puts an interrupt vector (8 bits) on the data bus when an
interrupt acknowledge cycle is run by the CPU.  This externally
generated vector is then used by the CPU to get the ISR address.  From
what I remember of that Atari info which was posted to the list, the
vectors are generated by the interrupt controllers.  I think I
programmed one of those once, long ago.

In any case, it shold be possible to make the ISR code be fairly
general (this is what we are aiming for, no?) by having the interrupt
vectors be manifest constants based on the interrupting device.  This
may be tough however, due to the sharing of certain interrupt vectors
by some Amiga devices, whereas the Atari probably has a separate
vector for each device.

Or perhaps it would be better to have the low-level ISR stuff be
completely machine dependent, and have the low level ISRs call higher
level routines based on the actual device interrupting.

Hamish.

From owner-linux-activists@joker.cs.hut.fi Thu Nov 26 10:51:07 1992
Status: RO
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	["1904" "Thu" "26" "November" "1992" "08:38:38" "+0200" 
"\"Gregory O. Harp\"" "harp@netcom.com" nil "41" "Re: ATARI port " 
"^From:" nil nil "11"])
Received: from joker.cs.hut.fi by hutcs.cs.hut.fi with SMTP id AA01020
  (5.65c8/HUTCS-S 1.4 for < arl@cs.hut.fi>); Thu, 26 Nov 1992 10:51:05 +0200
Received: from joker.cs.hut.fi by niksula.hut.fi id <61664-1>; 
Thu, 26 Nov 1992 10:50:26 +0200
Received: from santra.hut.fi ([130.233.224.1]) 
by niksula.hut.fi with SMTP id <61637-1>; Thu, 26 Nov 1992 10:49:44 +0200
Received: from netcom.netcom.com by santra.hut.fi
	(5.65c/8.0/TeKoLa) id AA05533; Thu, 26 Nov 1992 08:44:15 +0200
Received: by netcom.netcom.com (5.65/SMI-4.1/Netcom)
	id AA08334; Wed, 25 Nov 92 22:39:08 -0800
Message-Id: <9211260639.AA08334@netcom.netcom.com>
Sender: owner-linux-activists@joker.cs.hut.fi
X-Note1: Remember to put 'X-Mn-Key: normal' to your mail body or header
From: "Gregory O. Harp" < harp@netcom.com>
To: linux-activists@joker.cs.hut.fi
Subject: Re: ATARI port 
Date: Thu, 26 Nov 1992 08:38:38 +0200
X-Mn-Key: 680X0

>Greg> I believe the Ataris use autovectoring, don't they?  Since
>Greg> Amiga's don't there's no provision for it in the ISR code.

Hamish writes:

>Eh?  The Amigas do use autovectoring.  When an interrupt acknowledge
>cycle is run by the CPU, the AVEC (input) signal is asserted by
>external logic, which causes the CPU to generate the interrupt vector
>from the interrupt level.  This is autovectoring.
>
>What (it seems) the Atari uses is the mechanism whereby the device
>interrupting puts an interrupt vector (8 bits) on the data bus when an
>interrupt acknowledge cycle is run by the CPU.  This externally
>generated vector is then used by the CPU to get the ISR address.  From
>what I remember of that Atari info which was posted to the list, the
>vectors are generated by the interrupt controllers.  I think I
>programmed one of those once, long ago.

This is what I refer to as autovectoring.  Am I misusing the term?
This allows multiple service routines to be attached to a particular
interrupt request.  The different routines are selected according to
the 8-bit value.

In the case of the Amiga, the ISR for a particular request much check
the interrupt registers to find out what caused the interrupt.  Since
that's only basically two byte registers and a word register, it's not
as slow as it sounds...

>Or perhaps it would be better to have the low-level ISR stuff be
>completely machine dependent, and have the low level ISRs call higher
>level routines based on the actual device interrupting.

I think it's better to separate these for each machine.  Using tons of
#ifdef's would make the code quite unreadable.  It's not a horribly
large amount of code, especially compared to the drivers, which will
all have to be machine-dependant anyway.  In the case of the general
OS routines that call the ISR code, conditional compilation based on
the system is the way to go, IMO.

--Greg