🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Stew Rubenstein Wed, 10 Apr 1985 07:43
Megamax C toolnames
#1046
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads