🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #26637

Re: A/UX window systems, Mac toolbox, etc

#26637
From: Ralph Hyre
Date: Tue, 22 Mar 1988 15:38
31 lines
2179 bytes
In article <7670@apple.Apple.Com> goldman@apple.UUCP (Phil Goldman) writes:
...
>I think one point you are both missing out on is that preemptive multitasking
>requires hardware support not available on a 68000.  
I'm operating under the assumption that preemptive multitasking only requires
a regular source of interrupts, which will trigger a 'context switch' (save
all registers & other task-specific data someplace 'safe', restore the next
tasks registers & globals, then go to the next task).  A stock IBM PC can do
this, and even an Apple //e or Commodore 64 can.

One problem on the Mac is that the globals are 'everywhere'.

All Macs that I know of have provisions for a Vertical Blanking interrupt.
If you can do your context switch in 1/60th of a second (before the next 
interrupt comes along), then you're on your way, but I'm glad it's not my
job to try to implement it.

The ability to do preemptive multitasking is separate from the issue of 
protection, which helps keep multiple tasks from stepping on each other's
address space.  This is where you a memory management unit (such as the
unit that can be plugged into a Mac ][) to help keep things separate.
--
					- Ralph W. Hyre, Jr.

Internet: ralphw@ius2.cs.cmu.edu    Phone:(412)268-{2847,3275} CMU-{BUGS,DARK}
Amateur Packet Radio: N3FGW@W2XO, or c/o W3VC, CMU Radio Club, Pittsburgh, PA
-- 
					- Ralph W. Hyre, Jr.

Internet: ralphw@ius2.cs.cmu.edu    Phone:(412)268-{2847,3275} CMU-{BUGS,DARK}
Amateur Packet Radio: N3FGW@W2XO, or c/o W3VC, CMU Radio Club, Pittsburgh, PA
Technical Details
Message-ID: <1194@PT.CS.CMU.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bbn!rochester!PT.CS.CMU.EDU!IUS3.IUS.CS.CMU.EDU!ralphw
References: <4129@hoptoad.uucp> <283@rhesus.primate.wisc.edu> <1710@ssc-vax.UUCP> <9829@steinmetz.steinmetz.UUCP> <7593@apple.Apple.Com> <3609@bloom-beacon.MIT.EDU> <7656@apple.Apple.Com> <7670@apple.Apple.Com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bbn!rochester!PT.CS.CMU.EDU!IUS3.IUS.CS.CMU.EDU!ralphw
From: ralphw@IUS3.IUS.CS.CMU.EDU (Ralph Hyre)
Newsgroups: comp.sys.mac,comp.windows.misc
Subject: Re: A/UX window systems, Mac toolbox, etc
Message-ID: <1194@PT.CS.CMU.EDU>
Date: 22 Mar 88 15:38:01 GMT
References: <4129@hoptoad.uucp> <283@rhesus.primate.wisc.edu> <1710@ssc-vax.UUCP> <9829@steinmetz.steinmetz.UUCP> <7593@apple.Apple.Com> <3609@bloom-beacon.MIT.EDU> <7656@apple.Apple.Com> <7670@apple.Apple.Com>
Sender: netnews@PT.CS.CMU.EDU
Organization: Carnegie-Mellon University, CS/RI
Lines: 31