🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #26664

Re: Mark Williams C 2.0 (performance on a monodisk 1040)

#26664
From: minow
Date: Thu, 07 May 1987 00:37
60 lines
2345 bytes
I use Mark Williams C on a single-disk Atari 1040STf. Without more than
moderate pain, I built a 512K ramdisk, loading it as follows:

c:\desktop.inf

c:\auto:

c:\bin:
    as.prg         cc.ttp         ld.prg         make.prg       me.tos
    msh.prg        postfile       profile

c:\lib:
    cc0.prg        cc1.prg        cc2.prg        cc3.prg        cpp.prg
    crts0.o        crtsd.o        crtsg.o        libc.a         mactions
    mmacros

c:\tmp:

Using the Ramdisk setup program, I built a "cold-boot" disk that starts
the system in short order.  My C code is on a source disk that also
contains all #include files, as well as libaes.a, libm.a, and libvdi.a.

Here are the pieces of my profile file that I changed (... marks elisions):

...
set sys=a:
set usrdrive=b:
set tmp=c:

set drive1=$cwdisk:
setenv PATH=.cmd,,$tmp\bin,$drive1\bin,$drive1\lib,$sys\bin,$sys\lib
setenv SUFF=,.prg,.ttp,.tos
setenv LIBPATH=$tmp\lib,$drive1\lib,$drive1\bin,$sys\lib,$sys\bin,
setenv INCDIR=$drive1\include

# This directory is used by the shell when evaluating 
# `commands` substitutions, so the `getrez` and `getpal`
# below will fail if TMPDIR does not exist or TMPDIR is
# not defined and the default TMPDIR, \tmp, does not exist.

setenv TMPDIR=$tmp
setenv HOME=$drive1\tmp
setenv TIMEZONE=EST:0:EDT
...
# the list directory in columns command from the documentation

set in .cmd lc="ls -w"

echo `df` "free bytes in drive $cwdisk"

---

I also modified profile to give me black text on a white screen.

To give you an idea of MWC performance, a full rebuild of my
home-made terminal emulator (about 60,000 bytes of C source and
over 30,000 bytes .prg) takes about 4-5 minutes (compile + link).

Martin Minow
decvax!minow
Technical Details
Message-ID: <53@decvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ames!ucbcad!ucbvax!decvax!minow
References: <136@xrxns.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!utgpu!water!watmath!clyde!rutgers!ames!ucbcad!ucbvax!decvax!minow
From: minow@decvax.UUCP
Newsgroups: comp.sys.atari.st
Subject: Re: Mark Williams C 2.0 (performance on a monodisk 1040)
Message-ID: <53@decvax.UUCP>
Date: Wed, 6-May-87 20:37:39 EDT
Article-I.D.: decvax.53
Posted: Wed May  6 20:37:39 1987
Date-Received: Fri, 8-May-87 04:29:41 EDT
References: <136@xrxns.UUCP>
Reply-To: minow@decvax.UUCP (Martin Minow)
Organization: Digital Eq. Corp. - Merrimack NH.
Lines: 60