Amiga_System_Programmers_Guide.pdf

(34809 KB) Pobierz
199420924 UNPDF
icomprehensiveguidetothe
innerworkingsofyourAmiga
Abacu
A Data Becker Book
199420924.002.png
199420924.003.png
AmigaSystem
Programmer'sGuide
Dittrich
Gelfand
Schemmel
A Data Becker Book
199420924.004.png
FirstPrinting, August 1988
Printed in U.S.A.
Copyright © 1987,1988
DataBecker,GmbH
Merowingerstrafie30
4000Dusseldorf,WestGermany
Copyright © 1988
Abacus
5370 52ndStreet SE
GrandRapids,MI49508
This book is copyrighted. No part of this book may be reproduced, stored in a retrieval
system, ortransmittedin anyformorby anymeans, electronic, mechanical, photocopying,
recording or otherwise without the prior written permission ofAbacus Software or Data
Becker,GmbH.
Every effort has been made to ensure complete and accurate information concerning the
material presented in this book. However, Abacus Software can neither guarantee nor be
heldlegallyresponsibleforanymistakes inprinting orfaulty instructions containedinthis
book.Theauthors always appreciatereceivingnoticeofanyerrorsormisprints.
AmigaBASIC and MS-DOS are trademarks or registered trademarks of Microsoft
Corporation. Amiga 500, Amiga 1000, Amiga 2000, Graphicraft, Musicraft, Sidecar and
TextcraftaretrademarksorregisteredtrademarksofCommodore-AmigaInc* Sekaassembler
isaregisteredtrademarkofKumaCorporation.
ISBN 1-55755-035-2
u
199420924.005.png
Contents
1 The Amiga Hardware
1
1.1 Introduction
3
1.2 Amigasystemcomponents
4
1.2.1 The68000processor
5
1.2.2 The8250CIA
10
1.2.3 Thecustomchips
22
1.2.3.1 BasicstructureoftheAmiga
23
1.2.3.2 ThestructureofAgnus
26
1.2.3.4 ThestructureofDenise
30
1.2.3.6 ThestructureofPaula
33
1.2.3.7 FeaturesoftheAmiga500
36
1.3 TheAmigainterfaces
38
1.3.1 Theaudio/videointerfaces
39
1.3.2 TheRGBconnector
40
1.3.3 TheCentronicsinterface
42
1.3.4 Theserialinterface
45
1.3.5 Externaldriveconnector
47
1.3.6 Thegameports
52
1.3.7 Theexpansionport
54
1.3.8 Supplyingpowerfromtheinterfaces
57
1.4 Thekeyboard
59
1.4.1 Thekeyboardcircuit
60
1.4.2 Datatransfer
62
1.4.3 Keyboardbugs
64
1.5 Programmingthehardware
66
1.5.1 Thememorylayout
66
1.5.2 Fundamentals
75
1.5.3 Interrupts
86
1.5.4 TheCoppercoprocessor
88
1.5.5 Playfields
96
1.5.6 Sprites
122
1.5.7 Theblitter
134
1.5.8 Soundoutput
167
1.5.9 Tips, tricks, andmore
182
1.5.10 Mouse,joystickandpaddles
190
1.5.11 Theserialinterface
196
1.5.12 DatatransferwiththeAmigaUART
198
1.5.13 Thediskcontroller
200
Hi
199420924.001.png
Zgłoś jeśli naruszono regulamin