MPW 3.2 Toolbox Interfaces And Libraries 199107
MPW 3.2 Toolbox Interfaces And Libraries 199107
Game Manuals · PDF
| Filename | MPW_3.2_Toolbox_Interfaces_and_Libraries_199107.pdf |
|---|---|
| Size | 2.97 MB |
| Subsection | MPW 3.2 Toolbox Interfaces And Libraries 199107 |
| Downloads | 1 |
Enjoying MacTrove?
Anonymous downloads are free and unlimited.
Create a free account to track favorites,
contribute metadata corrections, and join the
community chat.
Reader
Loading…
OCR / Text contents
®
Macintosh®Programmer's Workshop
Toolbox Interfaces and Libraries
Version 7.0
M0615LUB
030-B0 16-A
030-3622-A
MPW 3.2 Libraries/Interfaces
Release Notes
Libraries
Changes to the libraries since MPW 3.0 include the elimination of CInterface.o and
CRuntime.o, their functionality having been merged into Interface.o and Runtime.o. The
libraries have been resegmented so as to reduce the number of modules in segment "main".
The MPW 3.2 C libraries conform to the current ANSI C standard. A number of modifi-
cations and additions have been made to the set of library functions, including new C-like
string functions for Pascal strings and a C function for setting the type and creator on any
file. A new library provides for the creating of applications that use a simple text I/O win-
dow to display and read console I/O (SlOW). For details, see the MPW 3.2 Simple
Input/Output Window Release Notes.
Linking Requirements
The library CLib881.0 has a new positioning requirement as a consequence of the elimina-
tion of CRuntime.o. CLib881.0 must now not only precede all members of {CLibraries}
in the link sequence but must also precede the library Runtime.o.
Note that XCMDs for Hypercard require linking into one segment. Because of the new
segmentation of the library, this will no longer happen automatically. This requirement can
be met by putting the option -sg main on the link: command line to force the library rou-
tines and your code into a single segment.
MPW 3.2 LibrarieslInterfaces 1 Copyright Apple Computer, Inc.
Release Notes 1990-1991. All rights reserved.
Segmentation
The libraries have been resegmented, moving many of the modules out of the segment
"Main". The goal of changing the segmentation is to minimize the number of modules in
the segment "Main". This way, if the user needs the space in "Main" for his application or
tool, he has it. If he is more concerned about speed, the user can then manipulate his
makefile to contain whatever he needs in his "Main" segment.
• Segment layout
LIBRARY Runtlme.o
Se&ment Contents
MAIN Initialization and exit procedures, 32 bit math operations
%A5Init A5 initialization code, _DataInit, Module #000 1
INTENV Low level IOPort functions and I/O which directly calls
those functions - done for pc relative offsets
SADEV Device drivers <.S.tand Alone Devices)
LIBRARY Pasllb.o
SelWlent Contents
MAIN Compiler initializations (the functions call Runtime.o)
INTENV I/O which directly calls segment INTENV in Runtime.o
(may change in the future)
SIDIO Pascal language I/O
PASLIB Heap, strings and math functions
LIBRARY StdCLlb.o
…
Showing first 3,000 characters of 53,909 total. Open the full document →