AMX AMX Corporation Computer Accessories Target Guide User Manual
Size:
317.37 Kb
Download

®

AMX68000 Target Guide

First Printing: April 15, 1994

Last Printing: March 1, 2005

Copyright © 1994 - 2005

KADAK Products Ltd.

206 - 1847 West Broadway Avenue

Vancouver, BC, Canada, V6J 1Y5

Phone: (604) 734-2796

Fax: (604) 734-8114

TECHNICAL SUPPORT

KADAK Products Ltd. is committed to technical support for its software products. Our programs are designed to be easily incorporated in your systems and every effort has been made to eliminate errors.

Engineering Change Notices (ECNs) are provided periodically to repair faults or to improve performance. You will automatically receive these updates during the product's initial support period. For technical support beyond the initial period, you must purchase a Technical Support Subscription. Contact KADAK for details. Please keep us informed of the primary user in your company to whom update notices and other pertinent information should be directed.

Should you require direct technical assistance in your use of this KADAK software product, engineering support is available by telephone, fax or e-mail.KADAK reserves the right to charge for technical support services which it deems to be beyond the normal scope of technical support.

We would be pleased to receive your comments and suggestions concerning this product and its documentation. Your feedback helps in the continuing product evolution.

KADAK Products Ltd.

206 - 1847 West Broadway Avenue

Vancouver, BC, Canada, V6J 1Y5

Phone:

(604) 734-2796

Fax:

(604) 734-8114

e-mail:

amxtech@kadak.com

 

 

AMX 68000 Target Guide

KADAK

i

Copyright © 1994-2005by KADAK Products Ltd.

All rights reserved.

No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or computer language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual or otherwise, without the prior written permission of KADAK Products Ltd., Vancouver, B.C., CANADA.

DISCLAIMER

KADAK Products Ltd. makes no representations or warranties with respect to the contents hereof and specifically disclaims any implied warranties of merchantability and fitness for any particular purpose. Further, KADAK Products Ltd. reserves the right to revise this publication and to make changes from time to time in the content hereof without obligation of KADAK Products Ltd. to notify any person of such revision or changes.

TRADEMARKS

AMX in the stylized form and KwikNet are registered trademarks of KADAK Products Ltd. AMX, AMX/FS, InSight,KwikLook andKwikPeg are trademarks of KADAK Products Ltd. Microsoft,MS-DOSand Windows are registered trademarks of Microsoft Corporation.

All other trademarked names are the property of their respective owners.

ii

KADAK

AMX 68000 Target Guide

 

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

AMX 68000 Target Guide

KADAK

iii

AMX 68000 TARGET GUIDE

Table of Contents (Cont'd)

Appendices

 

 

Page

Appendix A. Target Parameter File Specification

A-1

A.1

Target Parameter File Structure .........................................................

A-1

A.2

Target Parameter File Directives .......................................................

A-3

A.3

Porting the Target Parameter File ......................................................

A-11

Appendix B. AMX 68000 Service Procedures

B-1

Appendix C. AMX 68000 ROM Option

C-1

 

AMX 68000 TARGET GUIDE

 

 

Table of Figures

 

 

 

Page

Figure 1.2-1AMX Include Files ..............................................................

2

Figure 1.2-2AMX Assembler Source Files .............................................

2

Figure 1.2-3

AMX C Source Files ...........................................................

3

Figure 1.4-1

AMX Design Constants .......................................................

5

Figure 3.2-1

AMX Vector Table and Vector Numbers ............................

14

Figure 4.1-1

Configuration Manager Screen Layout ................................

22

Figure A.1-1AMX Target Parameter File ...............................................

A-1

iv rev9

KADAK

AMX 68000 Target Guide