🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #1046

Megamax C toolnames

#1046
From: Stew Rubenstein
Date: Wed, 10 Apr 1985 07:43
24 lines
1777 bytes
I have fixed a bunch of bugs in the Megamax C header files.  They made a lot
of mistakes in capitalization, as well as misspellings and wrong type
declarations.  I am in the process of going through the header files
fairly carefully and will post diffs in a couple of days.  If anyone else has
fixed any header file bugs in Megamax C 2.0 and would like to consolidate
their known problems with mine, please send mail.

Also, I would like to create a list of lomem globals in the correct
format, such as

#define uTableBase (* (dCtlEntry ** (*) []) 0x11c)

i.e. 0x11c is a pointer to an array of dCtlEntry handles, dereferenced
for your convenience.  Then you can refer to things like
uTableBase[-1 - diskRefNum] to get the dCtlEntry handle for the sony
driver.  The question is, should these be #defines in the header files
as above, or should they be extern statements resolved by the linker?
If the latter, does anyone know how to create the object file (short of
writing a C program that knows about the object format in section 3.5 of
the manual) so that it can be included in syslib and automatically resolved?
-- 
-----------------------
Stew Rubenstein     UUCP: ihnp4!harvard!stew
Harvard Chemistry   ARPA: stew@harvard
Technical Details
Message-ID: <27@harvard.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!harvard!stew

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site harvard.ARPA
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!harvard!stew
From: stew@harvard.ARPA (Stew Rubenstein)
Newsgroups: net.micro.mac
Subject: Megamax C toolnames
Message-ID: <27@harvard.ARPA>
Date: Wed, 10-Apr-85 02:43:11 EST
Article-I.D.: harvard.27
Posted: Wed Apr 10 02:43:11 1985
Date-Received: Fri, 12-Apr-85 05:30:40 EST
Distribution: net
Organization: Aiken Computation Laboratory, Harvard
Lines: 24