Jump to content

How To Write Macintosh Software 1988: Difference between revisions

From RetroTechCollection
link the related titles this book belongs with (P4 orphan fix)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''How to Write Macintosh Software, Second Edition''' by '''Scott Knaster''', Hayden Books (a division of Howard W. Sams and Company), '''530 pages''', copyright 1988, first printing 1988.
'''''How to Write Macintosh Software''''', second edition, is a book by Scott Knaster, published by Hayden Books (a division of Howard W. Sams & Company), Indianapolis, copyright 1988, second edition first printing 1988, ISBN 0-672-48429-3, Library of Congress number 88-61959.<ref name="tp">Scott Knaster, ''How to Write Macintosh Software'', 2nd ed. (Hayden Books, 1988), title page and copyright page (PDF pp. 4-5).</ref> The Library of Congress record gives the extent as xx, 511 pages.<ref name="ol">Open Library, [https://openlibrary.org/books/OL2065289M ''How to write Macintosh software'' (1988), record OL2065289M], from Library of Congress catalogue data. Retrieved 2026-09-30.</ref>


The other editions on this wiki are [[How to Write Macintosh Software 1986]] and [[How to Write Macintosh Sofware 1986]] (two scans of the first edition, ISBN 0-8104-6564-7) and [[How To Write Macintosh Software 1992]] (third edition, Addison-Wesley, ISBN 0-201-60805-7).
The book explains how the Macintosh manages memory and what happens when a program goes wrong, then teaches debugging from compiled code with MacsBug and TMON. Appendices give a 68000 assembly language overview, common problems, a guided tour of MacsBug and a debugging quick-reference guide. The example programs were sold on a companion diskette.<ref name="toc">Knaster, ''How to Write Macintosh Software'', 2nd ed., Contents, pp. vii-x (PDF pp. 7-10), and diskette order page (PDF p. 530).</ref>
 
== Contents ==
Page numbers are from the book's contents list.<ref name="toc" />
* Acknowledgments, p. xi; Introduction, p. xiii; About This Book, p. xv
* Part One, How It All Works, p. 1
** Chapter 1: Getting Started, p. 3
** Chapter 2: Things in Memory, p. 23
** Chapter 3: More about Heaps and Fragmentation, p. 59
* Part Two, Debugging, p. 83
** Chapter 4: Debugging Macintosh Software, p. 85
** Chapter 5: Examining Compiled Code, p. 129
** Chapter 6: More About Compiled Code, p. 169
** Chapter 7: Real Live Debugging, p. 219
* Part Three, Tips, Tricks, and Techniques, p. 299
** Chapter 8: General Techniques, p. 301
** Chapter 9: Toolbox Techniques, p. 323
** Chapter 10: Operating System Techniques, p. 371
* Appendix A: Assembly Language Overview, p. 387
* Appendix B: Common Problems, p. 417
* Appendix C: A Guided Tour of Macsbug, p. 429
* Appendix D: Ancient History, p. 453
* Appendix E: Debugging Quick Reference Guide, p. 473
* Index, p. 507
 
== Other editions on this wiki ==
* [[How to Write Macintosh Software 1986]] and [[How to Write Macintosh Software 1986 (second printing)]]: two scans of the first edition, ISBN 0-8104-6564-7
* [[How To Write Macintosh Software 1992]]: third edition, Addison-Wesley, ISBN 0-201-60805-7
 
== What this book does not contain ==
It is a programming book. It has no service procedures, parts lists, schematics or electrical data for the Macintosh; Apple's repair documentation is in [[:Category:Apple Service Source]]. The hosted scan is 531 pages, including the covers, the publisher's lists and the diskette order page; the diskette is not included.


== Related titles on this wiki ==
== Related titles on this wiki ==
* [[Extending the Macintosh Toolbox 1991]] - John C. May and Judy B. Whittle, Addison-Wesley, 1991, with a foreword by Scott Knaster.
* [[Extending the Macintosh Toolbox 1991]]: John C. May and Judy B. Whittle, Addison-Wesley, 1991, with a foreword by Scott Knaster
 
* [[Macintosh Programming Secrets 1988]]
== This is not a repair source ==
It is a programming book. It contains '''no service procedures, no exploded views, no parts lists, no schematics, no voltages and no component values''', and nothing in it should be cited for a hardware figure. Apple's own repair documentation is in [[:Category:Apple Service Source]]; for electrical data on a specific machine the '''Developer Notes''' are the place to look, because they carry rail currents, processor-direct-slot power budgets and connector pinouts that the ''Service Source'' manuals do not.


<pdf> File:How_To_Write_Macintosh_Software_1988.pdf </pdf>
<pdf> File:How_To_Write_Macintosh_Software_1988.pdf </pdf>


Download: [[:File:How_To_Write_Macintosh_Software_1988.pdf|How_To_Write_Macintosh_Software_1988.pdf]]
Download: [[:File:How_To_Write_Macintosh_Software_1988.pdf|How_To_Write_Macintosh_Software_1988.pdf]]
== References ==
<references />


[[Category:Apple Programming Documentation]]
[[Category:Apple Programming Documentation]]

Latest revision as of 19:27, 1 October 2026

How to Write Macintosh Software, second edition, is a book by Scott Knaster, published by Hayden Books (a division of Howard W. Sams & Company), Indianapolis, copyright 1988, second edition first printing 1988, ISBN 0-672-48429-3, Library of Congress number 88-61959.[1] The Library of Congress record gives the extent as xx, 511 pages.[2]

The book explains how the Macintosh manages memory and what happens when a program goes wrong, then teaches debugging from compiled code with MacsBug and TMON. Appendices give a 68000 assembly language overview, common problems, a guided tour of MacsBug and a debugging quick-reference guide. The example programs were sold on a companion diskette.[3]

Contents

[edit | edit source]

Page numbers are from the book's contents list.[3]

  • Acknowledgments, p. xi; Introduction, p. xiii; About This Book, p. xv
  • Part One, How It All Works, p. 1
    • Chapter 1: Getting Started, p. 3
    • Chapter 2: Things in Memory, p. 23
    • Chapter 3: More about Heaps and Fragmentation, p. 59
  • Part Two, Debugging, p. 83
    • Chapter 4: Debugging Macintosh Software, p. 85
    • Chapter 5: Examining Compiled Code, p. 129
    • Chapter 6: More About Compiled Code, p. 169
    • Chapter 7: Real Live Debugging, p. 219
  • Part Three, Tips, Tricks, and Techniques, p. 299
    • Chapter 8: General Techniques, p. 301
    • Chapter 9: Toolbox Techniques, p. 323
    • Chapter 10: Operating System Techniques, p. 371
  • Appendix A: Assembly Language Overview, p. 387
  • Appendix B: Common Problems, p. 417
  • Appendix C: A Guided Tour of Macsbug, p. 429
  • Appendix D: Ancient History, p. 453
  • Appendix E: Debugging Quick Reference Guide, p. 473
  • Index, p. 507

Other editions on this wiki

[edit | edit source]

What this book does not contain

[edit | edit source]

It is a programming book. It has no service procedures, parts lists, schematics or electrical data for the Macintosh; Apple's repair documentation is in Category:Apple Service Source. The hosted scan is 531 pages, including the covers, the publisher's lists and the diskette order page; the diskette is not included.

[edit | edit source]

Download: How_To_Write_Macintosh_Software_1988.pdf

References

[edit | edit source]
  1. ↑ Scott Knaster, How to Write Macintosh Software, 2nd ed. (Hayden Books, 1988), title page and copyright page (PDF pp. 4-5).
  2. ↑ Open Library, How to write Macintosh software (1988), record OL2065289M, from Library of Congress catalogue data. Retrieved 2026-09-30.
  3. ↑ 3.0 3.1 Knaster, How to Write Macintosh Software, 2nd ed., Contents, pp. vii-x (PDF pp. 7-10), and diskette order page (PDF p. 530).