🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.atari
Article #2570

Re: accessing CPM/68K on the 520ST

#2570
From: rex ballard
Date: Mon, 24 Feb 1986 16:22
51 lines
3009 bytes
In article <285@drivax.UUCP> holloway@drivax.UUCP (Bruce Holloway) writes:
>Agh, what does COMPUTE! magazine know about anything? The GEM Desktop (and
>GEM in general) is NOT built on CP/M-68K. CP/M-68K doesn't support sub-
>directories (aka folders), so we wrote a new operating system called GEMDOS
>(renamed by Atari to TOS) that supported subdirectories and an MS-DOS
>compatible file system.
>Bruce Holloway
>Digital Research, Inc.
>60 Garden Court
>Monterey, CA  93942
>....!ucbvax!hplabs!amdahl!drivax!holloway

From the horses mouth yet!!

Since he's to modest to point it out, GEMDOS has many other nice
characteristics that CP/M didn't, like direct interface to high level
languages like C (especially C).  This eliminates the need for the
time consuming "glue", of interface routines that stuff things from
the stack into registers, and back.  The calling technique is not
much different from UNIX calling proceedure.  Push arguments, trap,
pop or "drop" arguments, you're done.

To answer the original question (interfaces to OS calls), you may
find "ST Internals" and "Gem Programmers Guide" from ABACUS to be
quite useful.  These books are about $20 each.  The developers kit
is a good investment if you want to do some heavy programming.

Important note if you use the DRI C compiler, it uses 16 bit "Ints".
Assignment of ints to pointers, even with casting, is non-portable.
Using 16 bit Ints make things run lots faster too.

There are several good "shells", ranging from the command.prg, to
one that has most of the features of csh.

Since DRI is on the net, maybe they can tell us more about TOS/GEMDOS
re-entrancy and multitasking capabilities.  Assuming we know about
the 6 desk accessories plus various drivers, is it possible to add
a real-time clock interupt handler that can do the AES calls automatically?
(AES "Application Environment Services" is like the "system scheduler"
in UNIX, but currently has to be "called" periodically to give other
processes a chance to execute.)

Any plans for multiple forground tasks?

Any plans for multiple background tasks?

Pre-emptive multitasking?

Assuming there were some tradoffs to make the forground application
run faster, is it possible to alter these tradoffs?  If it is trivial,
could you give us some hints?
Technical Details
Message-ID: <429@ccivax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!genrad!panda!talcott!harvard!seismo!rochester!ritcv!ccivax!rb
References: <8602181908.AA07989@mitre-bedford.ARPA> <285@drivax.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!genrad!panda!talcott!harvard!seismo!rochester!ritcv!ccivax!rb
From: rb@ccivax.UUCP (rex ballard)
Newsgroups: net.micro.atari
Subject: Re: accessing CPM/68K on the 520ST
Message-ID: <429@ccivax.UUCP>
Date: Mon, 24-Feb-86 11:22:10 EST
Article-I.D.: ccivax.429
Posted: Mon Feb 24 11:22:10 1986
Date-Received: Sat, 1-Mar-86 04:34:17 EST
References: <8602181908.AA07989@mitre-bedford.ARPA> <285@drivax.UUCP>
Reply-To: rb@ccivax.UUCP (What's in a name ?)
Organization: CCI Telephony Systems Group,  Rochester NY
Lines: 51
Keywords: CP/M-68K, GEMDOS, TOS