Skip to main content
Home Documents Macintosh Programming Macintosh Applications In Assembly Language Feb84
Programming Macintosh Applications In Assembly Language Feb84

Programming Macintosh Applications In Assembly Language Feb84

Macintosh · 1984 · PDF
FilenameProgramming_Macintosh_Applications_in_Assembly_Language_Feb84.pdf
Size28.04 MB
Year1984
Subsection developer / Prerelease
Downloads3
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Programming Macintosh Applications In Assembly Language Feb84
/
Loading…
OCR / Text contents
MACINTOSH USEREDUCATION Programming Macintosh Applications See Also: Modification in Assembly Language /lNTl.0/ASSEM Macintosh Memory Management: An Overview The MemoryManager: A Programmer's Guide The Segment Loader: A Programmer'• Guide The Operating System Utilities: A Prograamer'a Guide Putting Together a Macintosh Application History: First Draft s. Chernicoff 2/27/84 ABSTRACT This manual tells you what you need to know to write all or part of your Macintosh application program in assembly language. The emphasis here is on general principles and methods; details on specific OS and Toolbox routines are given elsewhere. 2 Progra1111ingMacintosh Applications in Assembly Language TABLEOF CONTENTS 3 3 4 8 10 10 12 12 12 14 17 18 19 23 About This Manual Definition Files Memory Organization The Dispatch Table The Trap Mechanism Format of Trap Words Trap Macros Calling Conventions Register-Based Calls Stack-Based Calla Register-Saving Conventions Pascal Interface to the OS and Toolbox Mixing Pascal and Assembly Language Glossary Copyright (c) 1984 Apple Computer, Inc. All rights reserved. Distribution of this draft in limited quantities does not constitute publication. ABOUT THIS MANUAL 3 ABOUT THIS MANUAL This manual tells you what you need to know to write all or part of your Macintosh application program in assembly language. The emphasis here is on general principles and methods; details on specific OS and Toolbox routines are given elsewhere. The manual assumes you already know how to write assembly language for the Motorola MC6B001.l (or just "68001.l" for short). the microprocessor used in the Macintosh. It also assumes you're familiar With Lisa Pascal and its associated software development tools. particularly the Assembler, the Pascal Compiler. and the Linker. ***(Currently.all software for the Macintosh must be developed on a Lisa computer and written on a Macintosh-formatted disk for execution on the Macintosh. Eventually development tools Will be available on the Macintosh itself.) *** The manual begins by discussing the various files of definitions pertaining to the OS and Toolbox, and what they contain. Then it describes the Macintosh's memory layout and organization. This is followed by a description·of the dispatch table and the trap mechanism, which allow your program to use the OS and Toolbox while remaining independent of specific addresses in the Macintosh ROM. Next is a discussion of the calling conventions for using the OS and Toolbox from assembly language and for mixing Pascal and assembly language in your own programs. Finally, there's a glossary of terms used in this manual. DEFINITIONFILES The primary aids to assembly-language programmers are a set of definition files that define various symbolic names for use in assemblylanguage programs. By naming the definition files in an .INCLUDE directive, you make the definitions available to your program. The most important of the definition files are the equat…

Showing first 3,000 characters of 500,000 total. Open the full document →

Home Documents Macintosh ODI Developers Guide
ODI Developers Guide

ODI Developers Guide

Macintosh · 1988 · PDF
FilenameODI_Developers_Guide_198802.pdf
Size9.80 MB
Year1988
Subsection developer
Downloads3
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
ODI Developers Guide
/
Loading…
OCR / Text contents
( •• ODlmDeveloper's Guide ( S APPLE COMPUI'l!R, INC. This manual is copyrighted by Apple or by Apple's suppliers, with ail rights reserved. Under the copyright laws, this manual may not be copied, in whole or in part, without the written consent of Apple Computer, Inc. except in the normal use of software or to make a backup copy of the software. This exception does not allow copies to be made for O<hers, whether or not sold, but ail of the material purchased may be sold, given, or lent to another person. Under the law, copying includes translating into anaher language. © Apple Computer, Inc., 1988 20525 Mariani Avenue Cupertino, CA 95014 (4~) 996-1010 Apple, the Apple logo, laserWrirer, and Macintosh are registered trademarks of Apple Computer, Inc. Ethernet is a registered trademark of Xerox Corporation. ITC Avant Garde Gothic, ITC Garamond, and ITC Zapf Dingbats are registered trade- marks of International Typeface Corporation. MicroChannel is a trademark of Internation Business Corporation. MU/MPI, MU, MPI, and Link Support I.ayer are jointly owned trademarks of Apple Computer and Novell, Inc. POSTSCRIPT is a regi1tered trademark: of Adobe Systems Incorporared. Varityper is a~ trade-mark, and VT600 is a trademark, of AM International, Inc. Simultaneously published in the United States and Canada. 2/21/88 ( Contents Introduction 1 Introducing the MWMPI Benefits for the user Benefits for the developer MLI/MPI module specifics Protocol stack independence from MUDs Developing MLIDs 2 The Unk Support Layer Protocol Stack Support Entry Point MUD Support Entry Point General Services Entry Point What You Need to Know 3 Link Support Layer General Services AllocMemory FreeMemory ReAllocMemory MemoryStatistics AddMemoryToPool AddGeneralService RermveGeneralSe.rvice pART I. Writing Drivers for the Mll 4 MllD Operations The SEND Entry Point Handler iii The Interrupt Service Routine 5 MLID Initialization 6 MLID Control Procedures GetMLIDConfiguration GetMLIDStatistics AddMulticastAddress DeleteMulticastAddress ReceptionControl MLIDShutdown MLIDReset CreateConnection RernoveConnection AddPromiscuousSourceFilter AddPromiscuousDestinationFilter dearProrni.scuousFilters DriverPoll 7 IJnk Support Commands for MI.IDs GetECB RetumECB DeFragmentECB ScheduleAESEvent CancelAESEvent GetintervalMarker DeregisterMUD HoldRcvEvent StartCriticalSection EndCriticalSection GetCriticalSectionStatus ScrviceEvents F.oqueueSend GetNextSend SendComplete AddProtocolID iv Contents PART II Writing Protocol Stacks for the MPI ( 8 Protocol Stack Operations 1be Receive Entry Point The Default Receiver Entry Point The PreScanEntry Point The Transmit Packet Handler 9 Protocol Stack Initialization Stack Installation Stages Registering a Protocol Stack Register by binding with an MUD Register as the default stack Register as the PreScan stack Finding an MUD by Name 10 Protocol Stack Control Commands GetProtocolStackConfiguration GetProtocolStackStatistics Bin…

Showing first 3,000 characters of 159,155 total. Open the full document →

Home Documents Macintosh MPW 3.0A2 Documents
MPW 3.0A2 Documents

MPW 3.0A2 Documents

Macintosh · 1988 · PDF
FilenameMPW_3.0A2_Documents_19880714.pdf
Size32.47 MB
Year1988
Subsection developer / MPW / MPW_3.0
Downloads2
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
MPW 3.0A2 Documents
/
Loading…
OCR / Text contents
( MPW 3.0A2 Document List MPW Overview • MPW 3.0A2 Release Notes Projector •Projector Apha 2 Release Notes • Converting Your Projects •Macintosh Programmers's Workshop Project Management System ERS ''Projector" SADE •Alpha 2 Release Notes •Macintosh SADE Reference Manual Alpha Draft #2 Libraries • A2 Libraries • Pre-A2 Libraries Linker Tools •Release Notes for MPW 3.0A2 - Linker and related tools Interfaces •Converting Between pre-3.0 Str255's and 3.0 Str25S's •Interface Release Notes • Pre-A2 Interfaces •Macintosh Technical Notes: Setting and Restoring AS MPW Shell •Macintosh Programmer's Workshop 3.0 Shell ERS Commando •Commando's Built-In Editor and other new features SetVersion • SetVersion manual page Choose • Choose manual page • Changes to Choose Dump File • DumpFile manual page Where ls • Whereis manual page Sort •Sort manual page Resource Tools • Rez & DeRez ERS •Macintosh ResEdit Reference Manual Beta Draft Parser Generator • MPW LL(l) Parse Table Generator ERS MacsBug •Macintosh MacsBug Reference APDA Final Draft ('" _/' ('\ / (\ ,. ) / MPW 3.0A2 Release Notes July 14, 1988 Overview This release note pertains to the following MPW products: • MPW Development Environment • MPWPascal •MPWC • MPW Assembler MPW C++ has its own separate release note. This release note, the MPW 3.0 ERS' s, and other tool-specific release notes are the documentation for this release. Differences between the ERS, previous 3.0 development releases, and this release are documented below. If no release note exists for something that has an ERS, assume that the piece has been implemented as documented in the ERS. MPW 3.0A2 highlights include a symbolic debugger, project management system, and new C compiler. All of the C pieces of MPW, were compiled with this new C. Since MPW 2.0, the C header files have three important changes: every function has a function prototype, the capitalization for routines that pass strings and points has changed, and the definition of Str255 has changed. The capitalization and Str255 changes will require changes to your C source. See the section below titled ''Interfaces." ( Another change in MPW 3.0A2 may require a change to your Makefiles. The Pascal compiler no longer uses the Load/Dump mechanism. Instead, the compiled object code for each unit is saved in the unit's resource fork. Therefore, dependency rules (in Makefiles) upon Pascal dump files are obsolete. See the section below titled "Pascal." The A2 C compiler now has function prototype checking turned on. Furthermore, the C compiler is very strict about type compatibility. Be forewarned ... Installation • Installation from floppies - MPW 3.0 now includes an installer disk for installing MPW from a set of floppy disks .. Here are the steps for automatically installing MPW on your disk: 1) drag the ''Installation Folder" onto the hard disk where you want MPWinstalled · 2) launch the MPW Shell found in the ''Installation Folder" App…

Showing first 3,000 characters of 500,000 total. Open the full document →

Home Documents Macintosh MPW 3.2 Toolbox Interfaces And Libraries
MPW 3.2 Toolbox Interfaces And Libraries

MPW 3.2 Toolbox Interfaces And Libraries

Macintosh · 1990 · PDF
FilenameMPW_3.2_Toolbox_Interfaces_and_Libraries_199107.pdf
Size2.97 MB
Year1990
Subsection developer / MPW / MPW_3.2
Downloads3
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
MPW 3.2 Toolbox Interfaces And Libraries
/
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 modifications 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 window 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 elimination 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 routines and your code into a single segment. MPW 3.2 LibrarieslInterfaces Release Notes 1 Copyright Apple Computer, Inc. 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 %A5Init INTENV Initialization and exit procedures, 32 bit math operations A5 initialization code, _DataInit, Module #000 1 Low level IOPort functions and I/O which directly calls those functions - done for pc relative offsets Device drivers <.S.tand Alone Devices) SADEV LIBRARY Pasllb.o SelWlent Contents MAIN INTENV Compiler initializations (the functions call Runtime.o) I/O which directly calls segment INTENV in Runtime.o (may change in the future) Pascal language I/O Heap, strings and math functions SIDIO PASLIB LIBRARY StdCLlb.o Contents SIDIO SIDCLm MPW 3.2 LibrarieslInterfaces Release Notes C language I/O All ANSI functions (except I/O) 2 Copyright Apple Computer, Inc. 1990-1991. All rights reserved. LIBRARY Stubs.o Sewent Contents SADEV Device drivers (stubs out the driver functions) LIBRARY DRVRRuntime.o Se&ment Contents MAIN Driver initialization and exit procedures Changes to C Library…

Showing first 3,000 characters of 48,427 total. Open the full document →

Home Documents Macintosh MPW 3.2 Assembler Release Notes
MPW 3.2 Assembler Release Notes

MPW 3.2 Assembler Release Notes

Macintosh · 1990 · PDF
FilenameMPW_3.2_Assembler_Release_Notes_199104.pdf
Size0.39 MB
Year1990
Subsection developer / MPW / MPW_3.2
Downloads2
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
MPW 3.2 Assembler Release Notes
/
Loading…
OCR / Text contents
030-3626-A MPW 3.2 Assembler Release Notes The following features have been added to the Assembler for version 3.2. • New optimizations. • Longer identifiers. • New parameter and syntax for module directives. • MC68040 support. • "32-Bit Everything" support. • Improved SADE support. • A new macro function : &SYSINMOD New Optimizations The 3.2 Assembler supports optimization of instructions which were previously not optimized. The following additional optimizations are available: ADD ADDA ADDI #<Data>,An #<Data>,An #<Data>,An [-8 <= data <= -1) [-8 <= data <= -1] [-8 <= data <= -1) =====> =====> =====> SUBQ SUBQ SUBQ #-<Data>,An #-<Data>,An #-<Data>,An SUB SUBA SUBI #<Data>,An #<Data>,An #<Data>,An [-8 <= data <= -1] [-8 <= data <= -1] [-8 <= data <= -1] =====> =====> =====> ADDQ ADDQ ADDQ #-<Data>,An #-<Data>,An #-<Data>,An The above optimizations only occur when the Assembler understands the operand to be a negative number. Since the Assembler operates on 32-bit arithmetic, the value of the operand must be written as a negative number in order to activate the optimization. Tiris is necessary regardless of the size (B, W, L) of the instruction. Thus, in a byte operation, the operand must specify "-1" instead of "$FF". even though, un-optimized, they would both compile to the same instruction. MPW 3.2 Assembler Release Notes 1 Copyright Apple Computer, Inc. 1990-1991. All rights reserved. ADDI #<Data>,<EA3> SUBI #<Data>,<EA3> ADD.I #<data>,An =====> =====> [+l <= data <= +8] [-32767 <= data <= +32767] =====> [+l <= data <= +8] ADDQ SUBQ #<Data>,<EA3> #<Data>,<EA3> LEA <Data>(An),An Longer Identifiers The Assembler now suppons identifiers of lengths up to 251 characters (this was done primarily to support C++ name mangling). On detecting a name that exceeds this maximum, the Assembler issues the warning: ID longer than maximum length ... truncating to maximum length. New Parameter and Syntax for Module Directives A new parameter, ForceActi ve, exists for the ccxie module and data mcxiule directives. A new syntax has been provided and error checking for conflicting parameters is in effect. ForceActive ForceActive causes a ccxie or data module to be included in the final linked output even if the Linker would otherwise strip that code or data module because there were no references to it. Syntax For code module directives: Line ::= [label] CodeDir [KeywordList] CodeDir ::= PROC I FUNC I MAIN KeywordList ::=Keyword I KeywordList, Keyword Keyword::= ENTRY I EXPORT I FORCEACTIVE For data module directives: Line ::= [label] RECORD [KeywordList] KeywordList Keyword I KeywordList, Keyword MPW 3.2 Assembler Release Notes 2 Copyright Apple Computer, Inc. 1990-1991. All rights reserved. Keyword::= ENTRY I EXPORT I INCR[EMENT] MAIN I FORCEACTIVE I DECR[EMENT] + Note: The MPW 3.0 Assembler Manual describes MAIN as a parameter for the RECORD directive, but appears to have inadvertently omitted MAIN from the syntax. 6 Import…

Showing first 3,000 characters of 11,709 total. Open the full document →

Home Documents Macintosh MPW 3.0a2 Release Notes
MPW 3.0a2 Release Notes

MPW 3.0a2 Release Notes

Macintosh · 1988 · PDF
FilenameMPW_3.0a2_Release_Notes_198807.pdf
Size32.61 MB
Year1988
Subsection developer / MPW
Downloads4
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
MPW 3.0a2 Release Notes
/
Loading…
OCR / Text contents
MPW 3.0A2 Release Notes July 14, 1988 Overview This release note pertains to the following MPW products: • MPW Development Environment • MPWPascal •MPWC • MPW Assembler MPW C++ has its own separate release note. This release note, the MPW 3.0 ERS's, and other tool-specific release notes are the documentation for this release. Differences between the ERS, previous 3.0 development releases, and this release are documented below. If no release note exists for something that has an ERS, assume that the piece has been implemented as documented in the ERS. MPW 3.0A2 highlights include a symbolic debugger, project management system, and new C compiler. All of the C pieces of MPW, were compiled with this new C. Since MPW 2.0, the C header files have three important changes: every function has a function prototype, the capitalization for routines that pass strings and points has changed, and the definition of Str255 has changed. The capitalization and Str255 changes will require changes to your C source. See the section below titled ''Interfaces." Another change in MPW 3.0A2 may require a change to your Makefiles. The Pascal compiler no longer uses the Load/Dump mechanism. Instead, the compiled object code for each unit is saved in the unit's resource fork. Therefore, dependency rules (in Makefiles) upon Pascal dump files are obsolete. See the section below titled ''Pascal." The A2 C compiler now has function prototype checking turned on. Furthermore, the C compiler is very strict about type compatibility. Be forewarned ... Installation • Installation horn floppies - MPW 3.0 now includes an installer disk for installing MPW from a set of floppy disks. Here are the steps for automatically installing MPW on your disk: 1) drag the "Installation Folder" onto the hard disk where you want MPW installed 2) launch the MPW Shell found in the ''Installation Folder" Apple Computer, Inc. Confidential Page 1 (the one you just dragged onto your hard disk) 3) the installation script will run and will prompt you to insert a disk in the internal drive. You can insert the MPW disks in any order and it won't hurt to insert a disk more than once. 4) once the installation is complete, throw away the "Installation Folder," and launch the newly installed shell. For those not using the installer script, you will notice that the· configuration of :MPW on the floppies has changed. The files on the disks are in folders that represent their final destination when moved to a hard disk. Pascal, for example, used to be found at the root level of the Pascal disk. Now, however, Pascal will be found in a "Tools" folder on the Pascal disk. This means that there will be duplicate folders across the set of floppies and you won't be able to drag the contents of each floppy onto a hard disk without some conflict. • Installation from Spudsffaters - simply drag the MPW and SADE folders onto your hard disk. Reporting Bugs Please report any bugs you find to the BRC. Please use the latest v…

Showing first 3,000 characters of 500,000 total. Open the full document →

Home Documents Macintosh MPW A5 Driver Runtime Library
MPW A5 Driver Runtime Library

MPW A5 Driver Runtime Library

Macintosh · 1986 · PDF
FilenameMPW_A5_Driver_Runtime_Library_19860612.pdf
Size0.68 MB
Year1986
Subsection developer / MPW
Downloads2
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
MPW A5 Driver Runtime Library
/
Loading…
OCR / Text contents
4. '• Macintosh Programmer's Workshop AS Driver Runtime Library Writing a Desk Accessory or Device Driver that Uses Global Data. Steve Hartwell June 12, 1986 Revised July 30, 1986 Notice: This documents the ASDRVRRuntime.o library, which is not released with MPW 1.0. For information about writing desk accessories or drivers which don't need global data, use the DRVRRuntime.o library provided with the MPW 1.0 release, and see the MPW manual section on " Writing a Desk Accessory or Other Driver Resource". The A5DRVRRuntime.o library is available internally to Apple engineers; contact the Development Systems Group for more information. Overview. Desk accessories and other drivers have traditionally been written in assembly language, partly because of the peculiar format of the 'DRVR' resource needed for drivers. Setting up the DRVR layout header, passing register-based procedure parameters, and coping with the nonstandard exit conventions of the driver routines has made it fairly difficult to implement drivers in higher-level languages like Pascal or C. The library ASDRVRRuntime.o and the resource type 'DRVW' declared in MPWTypes.r simplifies the task of writing a desk accessory or device driver in Pascal or C. Together they compose the driver layout header and the five entry points which set up the open, prime, status, control, and close functions of a driver. The advantages of using A5DRVRRuntime.o are: • No assembler source is required. • The resource compiler is an integral step in the build process, permitting the easy addition of a desk accessory menu or other owned resources. • The programmer's interface to the open, prime, status, control, and close routines use Pascal calling conventions. Since the C compiler can easily be directed to declare functions which use Pascal calling conventions, the driver header can by used by both languages without additional glue. Each function returns a result code which is passed back to the system. • Previously, desk accessories and drivers have been required to allocate their own storage for global data. A5DRVRRuntime uses the new A5Lib routines which allow access to initialized global data as the languages and assembler support them. • Because access to global data is available, drivers may link with the language libraries, including routines which reference global data (but see note below}. A5DRVRRuntime Library • Internal Release Only Page 2 Drivers have peculiar exit conventions, requiring immediate calls to exit via an RTS instruction, but non-immediate calls to JMP to the IODone routine. The ASDRVRRuntime glue handles the proper exit conventions. Some programming restrictions still apply to non-application code resources such as drivers. Most notably is the restriction against the use of one variety of global data -- global variables which are initialized to procedure pointers. Unfortunately, the 1/0 portions of the language libraries and the Integrated Environment functions use in…

Showing first 3,000 characters of 18,634 total. Open the full document →

Home Documents Macintosh TokenTalk Programmers Guide
TokenTalk Programmers Guide

TokenTalk Programmers Guide

Macintosh · 1989 · PDF
FilenameTokenTalk_Programmers_Guide_198903.pdf
Size7.30 MB
Year1989
Subsection developer / Networking
Downloads6
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
TokenTalk Programmers Guide
/
Loading…
OCR / Text contents
( Medusa Programmer's Guide Beta Draft Apple Confidential Medusa Programmer's Guide, Beta Draft S APPLE COMP'Ulll, INC. This manual is cq>yrighted by Apple or by Apple's suppliers, with all rights reserved. Under the cop)'!ight laws, this manual may !10l be copied, in whole or in part, without the written consent of Apple Computer, Inc. This exception does !lC( allow copies to be made for OOiers, whether or ncx sold, but all ci the material purchased may be sold, given, or lent to another person. Under the law, copying includes translating into another language. C Apple Computer, Inc., 1989 20525 Mariani Avenue Cupertino, CA 95014 (~)996-1010 Apple, the Apple logo, and Macintosh are registered trademarks of Apple Computer, Inc. TokenTalk, Macinta;h Coprocessor Platform, and MR-DOS are trademarks of Apple Computer, Inc. NuBus i.5 a trademark of Texas Instruments. Simultaneously publi.shed in the United States and Canada Notice The information in this document rctlects the current state of the product. Every effort has been made to verify the accuracy of this information; however, it is subject to change. Beta Drafts an: rcJe:ased in this form to ptOTlde the deveJopmem community with essendal information In order to work on compatible products. Apple confidential Y21/89 Apple C.Onfidential ( Contents Preface What this document contains I Suggested reading I Possible applications I Conventions used in this manual I 1 Introduction 1 Token Ring Networks I The network layers I A token ring network I Token communication I The Macintosh II token ring interface I SubNetwork Access Protocol (SNAP) I The 802.2 Logical Link Control !PC interface I Macintosh Operating System !PC services I Download and initialization services I iii Apple Confidential 2 Source Routing Support What is source routing? I Hierarchical networks I Mesh networks I How source routing works I Routing information I Source routing implementation I SNAPuse I U.C use I Source route limits I 3 SubNetwork Access Protocol (SNAP) Interface General information I Typical SNAP use I !PC requests to SNAP I SNAPAttach I SNAPGetConfig I SNAPGetHdr I SNAPTransmit I SNAPDetach I SNAPReceive I SNAPC.ancel I SNAPGetParm.s I Functions supporting 802.2 I SNAPSwapHdr I Example program listing I 4 The 802.2 llC I lPC Interface General information I Typi:al rol-2 llC use I !PC requests ID ~2.2 LLC I U.COpenSAP I U.CCloseSAP / iv CONTENTS Apple Confidential ( IlCGetHdr I IlCGetCoofig I LLCOpenStation I LLCClo.seStation I IlCConnectStation I LLCModifyParams I IlCReceive I IlCReceiveC.ancel I IlCTl Transmit I IlCT2Transmit I IlCReset I LLCRetumBuffer I IlCGetStatistics I IlCStatus I IlCSetFunctionalAddr I Functions Supporting 802.2 I LLCSwapHdr I 5 Apple IPC Services I 1 General information I Apple !PC driver I Apple !PC library I Apple !PC managers I Csing Apple !PC I Apple !PC services I C<RQJeue I CopvNuBus I freeMsg / GetCard I GetETick I GetICCTID I GetlPCg I GetMsg I GeL"larn…

Showing first 3,000 characters of 210,592 total. Open the full document →

Home Documents Macintosh MacTCP Administrators Guide
MacTCP Administrators Guide

MacTCP Administrators Guide

Macintosh · 1989 · PDF
FilenameMacTCP_Administrators_Guide_198901.pdf
Size3.99 MB
Year1989
Subsection developer / Networking
Downloads2
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
MacTCP Administrators Guide
/
Loading…
OCR / Text contents
·~Apple MacTCP Administrator's Guide Product Marketing Networking and Communications Publications AppleTalk Documentation February 1, 1989 Apple Confldeotial ( S APPIJ! CoMPT.Tl'ER, INC. This manual is copyriglted by Apple er by Apple's suppliers, with all rights reserved. Under the copyright laws, th.is manual may not be copied, in whole or in part, without the wrlten c:onselX of Apple (.omputer, Ioc. This exception does ncx allow copies to be made for others, whether or ncx sold, but all of the material purchased may be sold, given, or lent to aoother person. Under the law, copying includes translating into ancxher language. The Apple logo is a regisrered trademark d Apple Computer, Inc. Use of the "keybaard" Apple logo (Opti>n-Shift-K) for commercial purposes without the prior wrillen consent of Apple may c:omtitute trademark infringement and unfair competition in relation 6f federal and state Jaws. ~ Apple Computer, Ioc., 1989 20525 Mariani Avenue Cupertiro, CA 95014 (4~) 996-1010 Apple, the Apple logo, AppleTalk, EtherTalk, LaserWriter, l.oC2II'alk, Macintosh, and MacTCP are regisrered trademarks d Apple Computer, Inc. ii Apple Coofidential C 0 N T E N T S Contents About This Gulde xiii Who should read this guide xiv How to use this guide xiv f Conventions xv ' What yoo need xvi Associated documeIXS xvi Part I Apple Confidential Concepts 1 About MacTCP Overview 2 1 Network environment DDP-IP gateway 4 3 iii .. \ 2 About TCP/IP 5 The family ci protocols 7 Iruernet Protcx:ol (IP) 9 Transmission Control Protocol \I'CP) 10 User Datagram Protocol (UDP) 10 Telnet 11 File Transfer Protcx:ol (FTP) 11 Simple Mail Transfer Protocol (SMTP) 11 3 TCP/IP Addressing Conventions Internet addresses 14 Subnetwork addressing 16 Subnetwork masks 18 The domain name system 19 13 Addres.5 Resolution Prcxocol (ARP) 21 Reverse Address Resolution Protocol (RARP) 22 Boexstrap Protocol (BoolP) 23 4 Routing 25 Gateways 26 Routing tables Z7 Routing protocols 28 Routing Information Protocol (RIP) 28 Iruemet Comd Mwage Protocol OCMP) 28 iv Contents Apple Confidential ( Part II Procedures 5 Installation 29 MacTCP scitware 30 Creating a master cmk 31 user installation in.structm 35 lNlalling Macro> on a fk>ppy disk-based system 35 lNlalling MacTCP en a hard disk 36 6 MacTCP Configuration Configuratioo tools 40 39 The MacTCP Corurol Panel 41 The Administrator dialog box 43 Obtain Address box 43 IP Address box 44 Routing Information box 44 Domain Name Server Information box « Protected button « c:onfiguration scenarias 45 Bringing up the MacTCP Control Panel 47 Entering the IP address in decimal rotation 48 Bringing up the Administrator dialog 49 Setting the IP address SO Setting the address manually 51 Setting the addtcss ~ 51 Settins the subnet mask 53 Selling the IP address (integer format) 53 Entering the net number 54 Enlering the subnet number 54 Entering the node number 54 Having the address set auromatically 56 Setti…

Showing first 3,000 characters of 101,682 total. Open the full document →

Home Documents Macintosh MacApp 2.0b5 UTEView Release Notes
MacApp 2.0b5 UTEView Release Notes

MacApp 2.0b5 UTEView Release Notes

Macintosh · 1988 · PDF
FilenameMacApp_2.0b5_UTEView_Release_Notes.pdf
Size0.94 MB
Year1988
Subsection developer / MacApp_2.0
Downloads2
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
MacApp 2.0b5 UTEView Release Notes
/
Loading…
OCR / Text contents
MacApp 2.0b5 UTEView Release Notes Russ Wetmore Overview This document documents changes and additions to the UTEView unit of MacApp. There are several reasons why these changes were desirable: • To support the new MacApp 2.0 display architecture • To add support for the new, "styled" TextEdit • To simplify the unit and add consistency • To improve its (already substantial) memory management facilities There are a couple of limitations which prevent TTEView from fully conforming to the new MacApp 2.0 display architecture. They are: • The text in a TextEdit record (TERec. hText) is limited to 32K characters • The height of the entire record must be less than 32K pixels tall. For these reasons, TTEView objects cannot take advantage of MacApp's 32-bit view coordinates The new TextEdit stresses memory management with more relocatable data structures, and many more temporary objects. TTEView tries its best to assure that any TTECommand is undoable. With version 1.0/1.1, however even with the precautions taken it is still possible to run into out-of-memory conditions that prevent undoing commands. The addition of extra data structures/objects just intensifies the need for new algorithms to assure that any command will be undoable. Note: In the descriptions that follow, new or changed methods, fields, and parameters are underlined. Global Constants cStyleChange kUnlimited kWithStyle kWithoutStyle kSaveCurrentChars 130) MAXINT) (= TRUE) (= FALSE) (= TRUE) (= (= "Menu" command for style change. The maximum number of characters in the fText of a TTEView object. Parameter to TTEView. ITEView. Parameter to TTEView. ITEView. Parameter to TTECommand. ITECommand. The TTEView Class The following changes have been made for TTEView: • fFont, fSize and fStyle have been replaced by a single fTextStyle record of type TextStyle. TextStyle is a data structure used by the new TextEdit, and is defined as TextStyle RECORD tsFont tsFace tsSize tsColor END; INTEGER; Style; INTEGER; RGBColor; • TTEView. ITEView has been simplified. Some rarely used parameters have been removed (such as itsKeyCmd.Number and itsMaxChars) and others have been bunched together. A new parameter itsStyleType signifies whether the TERecord is "styled" or not. • TTEView. Inspect and TTEView. ShowDebuginfo have been replaced by the new Inspector-supported TTEView. Fields. Fields fHTE fText fSavedTEHandle Unset fKeyCmd.Number fMaxChars fTypingCommand· fTextStyle fJustification fAcceptsChanges fStyleTyQe fAutoWrap fFreeText fSQecsChanged fLastHeight fScroller fLastPageBreak fLastLine Wed, Aug 3, 1988 Handle to the actual TextEdit object. The text in the TEHandle. Saved handle from TENew. A rectangle defining the amount of pixels to inset the TERecord's viewRect from view's extent. Thus, finset defines margins around the edges of the view. Views whose text autowraps should have a bottom margin of zero. Will be used as the string number for "Undo Typing." Maximum number of chars to accept…

Showing first 3,000 characters of 22,976 total. Open the full document →

Subscribe to PDF
mp.ls