Newsgroups: comp.sys.amiga.advocacy
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!sugar!peter
From: peter@sugar.hackercorp.com (Peter da Silva)
Subject: Re: 8-bit death
Message-ID: <1991May14.123433.8898@sugar.hackercorp.com>
Organization: Sugar Land Unix -- Houston, TX
References: <1991May12.181436.20304@NCoast.ORG> <3691.tnews@templar.actrix.gen.nz> <1991May13.224027.9132@NCoast.ORG>
Date: Tue, 14 May 1991 12:34:33 GMT

In article <1991May13.224027.9132@NCoast.ORG> allbery@ncoast.ORG (Brandon S. Allbery KF8NH) writes:
> And using a non-interrupt entry point runs the risk of somebody accidentally
> typo'ing a #define and making every program in existence break as a result.

No more than you can with interrupts. What's the difference between:

	TRAP	2, 15

and:

	JSR	-128(A6)

You're jumping through a table in either case. You can get the magic numbers
wrong in either case. And the results will be equally bad in either case.

> That's why people moved from JSR's to interrupts in the first place (I recall
> LDOS trumpeting their svc interface as an alternative to CALLs to invoke OS
> functions, waaaaay back when).

I remember LDOS. For the trash-80. No, people went to interrupts purely for
the sake of memory protection. "typoing header files" is a pure red herring.
> 
> ++Brandon
> -- 
> Me: Brandon S. Allbery			  Ham: KF8NH on 10m,6m,2m,220,440,1.2
> Internet: allbery@NCoast.ORG		       (restricted HF at present)
> Delphi: ALLBERY				 AMPR: kf8nh.AmPR.ORG [44.70.4.88]
> uunet!usenet.ins.cwru.edu!ncoast!allbery       KF8NH @ WA8BXN.OH


-- 
Peter da Silva.   `-_-'
<peter@sugar.hackercorp.com>.
