AMX 68000 Target Guide
K
A
DAK
iii
AMX 68000 TARGET GUIDE
Table of Contents Page
1. Getting Started with AMX 68000 1
1.1 Introduction ........................................................................................ 1
1.2 AMX Files .......................................................................................... 2
1.3 AMX Nomenclature ........................................................................... 4
1.4 AMX 68000 Target Specifications ..................................................... 5
1.5 Launch Requirements ......................................................................... 6
2. Program Coding Specifications 9
2.1 Task Trap Handler .............................................................................. 9
2.2 Task Scheduling Hooks ...................................................................... 10
3. The Processor Interrupt System 11
3.1 Operation ............................................................................................ 11
3.2 AMX Vector Table ............................................................................ 13
3.3 AMX Interrupt Priority and NMI ....................................................... 15
3.4 Conforming ISPs ................................................................................ 16
3.5 Nonconforming ISPs .......................................................................... 18
3.6 Processor Vector Initialization ........................................................... 19
4. Target Configuration Module 21
4.1 The Target Configuration Process ...................................................... 21
4.2 Target Configuration Parameters ....................................................... 25
4.3 Interrupt Service Procedure (ISP) Definitions .................................... 29
4.4 Defining a Fast Clock ISP .................................................................. 32
4.5 Null Functions .................................................................................... 34
4.6 ROM Option Parameters .................................................................... 35
5. Clock Drivers 37
5.1 Clock Driver Operation ...................................................................... 37
5.2 Custom Clock Driver ......................................................................... 39
5.3 AMX Clock Drivers ........................................................................... 41
5.3.1 MC683xx TPU Clock Driver .......................................................... 41
5.3.2 MC68360 PIT Clock Driver ............................................................ 42
5.3.3 MC68230 Clock Driver ................................................................... 43
5.3.4 MC68901 Clock Driver ................................................................... 44