Abacus Amiga C For Advanced Programmers.pdf
(
16311 KB
)
Pobierz
,[
.
N
•
0
(jfT
PO
•
l
•
P()
66
11V
CK
PEN
61
MME
Amiga C
for
Advanced
Programmers
Bleek
Jennrich
Schulz
EIDWINDOUJ
e
SI,"1MEZERflZERO
•
BLOCI(PEN
•
RRSPOR
8T· TOPED6E., FOLLOUlMOUSE. 6RD61MMEDIRTE
•
1'1
DSETI(E'YMRP()
•
L
•
DRRUlMDDE
IE
•
OFFGRDG£T
•
11'16
•
COSET
EUlWINDOUJ
•
61
.
CI(PEN
•
RRSPOR
8T. TOPED6£
•
IMMEDIRTE
•
N.
DSETI(EVMRP(
EN
•
DRRUJMDDE
4
'E
•
OFF680
'1RL
DRR661N6
•
CDSETIC
EUlUlINDOUJ
•
OZERO
•
BLOCI(PEN
•
RRSPOR
~T.
TOPED6E
USE
61MMEDIRTE
•
1'1
DSETKE'IMRP()
1'1
•
DRRUJMODE
4
lE
•
OFF6RDGET
R661N6
•
CDSETIC
fUJUJINDOUJ
•
GI
OCI(PEN
•
RRSPOR
FIT· TOPED6E
•
D61MMEDIRTE
•
1'1,
DSETI(EVMRP()
•
L
TPEN
•
DRRUJMODE •
IE
•
OFF6RDGET
•
DISPLR'IRL RT. DRRG6'
A Data Becker Book
Published by
Second Printing, December 1989
Printed
in U.S.A.
Copyright
©
1989
Abacus
5370 52nd Street, SE
Grand Rapids, MI 49512
Data Becker GmbH
Merowingerstrasse 30
4000 Duesseldorf, West Germany
Copyright
©
1987, 1988
This book is copyrighted. No part of this book may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means, electronic, mechanical, photocopying,
recording or otherwise. without the prior written permission of Abacus or Data Becker
GmbH.
Every effort has been made to ensure complete and accurate information concerning the
material presented
in
this book. However, Abacus can neither guarantee nor be held legally
responsible for any mistakes
in
printing or faulty instructions contained
in
this book. The
authors always appreciate receiving notice of any errors or misprints.
Amiga 500, Amiga 1000, Amiga 2000 and Amiga are trademarks or registered trademarks
of Commodore-Amiga. Inc. AC/BASIC Compiler and AC/BASIC are trademarks or
registered trademarks of Absoft Corporation. Cray is a trademark or registered trademark of
Cray Incorporated. AmigaBASIC is a trademark or registered trademark of Microsoft
Corporation.
:r::SBN
1-55755-046-8
ii
Table of Contents
Preface
1.
1.1
1.1.1
1.1.2
1.1.3
1.1.4
1.2
1.2.1
1.2.2
1.2.3
The C language
Two Amiga C compilers
The
Aztec
compiler
The professional version
The developer's version
The commercial version
The compiler in action
Comparing files
File hex dumps
A monitor
3
4
4
8
9
13
14
14
20
25
2.
2.1
2.1.1
2.1.2
2.1.3
2.1.4
2.2
2.3
2.3.1
2.3.2
2.4
2.5
2.5.1
2.5.2
2.5.3
C Compiler Operations
How a C compiler works
Internal organization of variables and structures
Software organization of variables and structures
Translating control statements
Function calls
The assembler
The linker
"Large data" and "small data"
"Large code" and "small code"
The debugger
Tips and tricks
Accessing absolute memory locations
Dynamic arrays
Function tables
35
39
40
49
54
59
63
67
70
70
74
77
77
78
79
3.
3.1
3.1.1
3.1.2
3.1.2.1
3.1.2.2
3.1.2.3
3.1.2.4
3.1.3
3.1.3.1
3.1.3.2
3.1.3.3
3.2
3.2.1
3.2.1.1
3.2.1.2
3.2.1.3
Intuition and C
Windows
Window parameters and selecting them
How Intuition manages windows
Accessing the Intuition library
The NewWindow structure
The Window structure
A summary of window functions
Example window application programs
All-purpose windows
Program routines for text editing
Window for a new CLI
Screen Fundamentals
Creating custom screens
The NewScreen structure
The first screen listing
The Screen structure
83
84
84
89
89
90
101
106
110
111
117
120
123
123
124
127
130
iii
Plik z chomika:
Teemu1.huusko
Inne pliki z tego folderu:
Amiga Winuae Workbench v1.2-1.3-3.0-3.1.rar
(4389 KB)
Amiga Emulator + 333 Games [PC].rar
(493742 KB)
The Story of the Commodore Amiga in Pixels_ - Kean,Wilkins (Fusion Retro Books;2017;9780993131592;eng).pdf
(443185 KB)
AMIGA Emulator + 237 classic games-WinUAE-Setup.exe
(141418 KB)
432_Amiga_Protracker_Module_fuer_Winamp.rar
(40008 KB)
Inne foldery tego chomika:
A500mini
Aladin WHDLoad
Amiga CD
Amiga CD32-CDTV
Amiga Disk + HD
Zgłoś jeśli
naruszono regulamin