Amiga Machine Language

A amigaspirit.hu - pegasos.hu Wiki wikiből

Typed by DEE JAY

Wiki-ified by Charlie / Singular Crew, (a.k.a Chain-Q)

Disclaimer

IMPORTANT: Please note that this is a very old tutorial. Every statement in this text refers to AmigaOS 1.x, the OCS chipset and the plain 68000 CPU. It does not cover current AmigaOS versions, 68020 and newer processors, ECS and AGA chipsets. It might make statements and recommendations which are considered obsolete, wrong or even strictly forbidden on newer chipset revisions and newer OS releases.

Contents


Original contents table, will be gone as chapters will get Wiki formatting:

       2      The MC68000 processor
       2.1    Registers
       2.2    Addressing memory
       2.3    Operating modes
       2.3.1  User and supervisor modes
       2.3.2  Exceptions
       2.3.3  Interrupts
       2.3.4  Condition codes
       2.4    The 68000 Instructions
       3      Working with assemblers
       3.1    The development assembler
       3.2    AssemPro
       3.3    The K-SEKA assembler
       4      Our first programs
       4.1    Adding tables
       4.2    Sorting tables
       4.3    Converting number systems
       4.3.1  Converting hex to ASCII
       4.3.2  Converting decimal to ASCII
       4.3.3  Converting ASCII to hex
       4.3.4  Converting ASCII to decimal
       5      Hardware registers
       5.1    Checking for special keys
       5.2    Timing
       5.3    Reading the mouse or joystick
       5.4    Tone production
       5.5    Hardware registers overview
       6      The Amiga operating system
       6.1    Load libraries
       6.2    Calling functions
       6.3    Program initialization
       6.3.1  Reserve memory
       6.3.2  Opening a simple window
       6.4    Input/output
       6.4.1  Screen output
       6.4.2  Keyboard input
       6.4.3  Printer control
       6.4.4  Serial I/O
       6.4.5  Speech output
       6.5    Disk operations
       6.5.1  Open files
       6.5.2  Reading and writing data
       6.5.3  Erase files
       6.5.4  Rename files
       6.5.5  CLI directory
       6.5.6  Read directory
       6.5.7  Direct access to disk
       7      Working with Intuition
       7.1    Open screen
       7.2    Openwindow
       7.3    Requesters
       7.4    Event handling
       7.5    Menu programming
       7.6    Text output
       7.7    Images
       7.8    Borders
       7.9    Gadgets
       7.9.1  Boolean gadgets
       7.9.2  String gadgets
       7.9.3  Proportional gadgets
       7.10   Example program
       8      Advanced programming
       8.1    Supervisor mode
       8.2    Exception programming
Személyes eszközök