Manuals
/
Brands
/
Kitchen Appliance
/
Frozen Dessert Maker
/
AMX
/
Kitchen Appliance
/
Frozen Dessert Maker
AMX
86
- page 56
1
56
410
410
Download
410 pages, 1.22 Mb
48
K
A
DAK
Application Tasks
This page left blank intentionally.
Contents
Main
AMX 86 User's Guide
Page
Page
Copyright 1990-2005 by KADAK Products Ltd. All rights reserved.
DISCLAIMER
TRADEMARKS
AMX 86 USER'S GUIDE
Section 1: System Description
AMX 86 USER'S GUIDE
Section 1: System Description (Cont'd.)
AMX 86 USER'S GUIDE
Section 1: System Description (Cont'd.)
Section 2: System Construction
Section 3: Programming Guide
Page
1. AMX Overview 1.1 Introduction
Page
1.2 Glossary
Page
Page
Page
1.3 AMX Nomenclature
Page
2. General AMX Operation 2.1 Introduction to Multitasking
Page
2.2 AMX Operation
Figure 2.2-1 AMX General Operation
12
General AMX Operation
Page
Page
Page
Page
2.3 AMX Managers
Page
Page
2.4 Starting AMX
Page
Page
Page
Page
3. Application Tasks 3.1 Task Creation
Page
3.2 Task States
Page
3.3 Starting a Task
3.4 Task Priority
3.5 Task Execution
3.6 Task and Event Synchronization
Page
3.7 Task Tim ing
3.8 Ending a Task
3.9 Message Passing
Page
Page
Page
Page
Page
3.10 Restart Procedures
Page
3.11 Exit Procedures
Page
3.12 Task Enhancements
Page
Page
4. Interrupt Service Procedures 4.1 The Processor Interrupt Facility
Page
4.2 ISPs for External Interrupts
Page
Page
Page
Page
4.3 Nested Interrupts
4.4 ISP/Task Communication
Page
Page
4.5 Task Error Traps
Page
Page
Page
4.6 Non-Maskable Interrupt
4.7 Special Interrupts
Page
Page
4.8 Vector Table Initialization
5. AMX Timing Control 5.1 Introduction to Timing Facilities
Page
5.2 AMX Clock Handler and Kernel Task
Page
Page
Page
5.3 Interval Timers and Timer Procedures
Page
Page
The Timer Procedure can be coded in assembler as a FAR procedure as follows:
5.4 Task Tim e Slicing
Page
Page
5.5 Time/Date Manager
Page
Time/Date Structure The Time/Date Manager provides time and date in the following form. C structure
Page
Page
Your Time/Date Scheduling Procedure can be coded in assembly language as a procedure as follows:
Page
Page
Page
6. AMX Semaphore Manager 6.1 Introduction
Page
6.2 Semaphore Use
Page
Page
Page
6.3 Semaphore Applications
Page
Page
Page
Page
Page
7. AMX Event Manager 7.1 Introduction
Page
7.2 Event Synchronization
Page
7.3 Event Flag Application
Page
Page
Page
8. AMX Message Exchange Mana ger 8.1 Introduction
Page
8.2 Message Exchange Use
Page
8.3 Message Exchange Application
Page
Page
Page
9. AMX Buffer Manager 9.1 Introduction
9.2 Buffer Pool Use
Page
9.3 Buffer Applications
Page
9.4 Buffer Manager Caveats
10. AMX Memory Manager 10.1 Introduction
Page
10.2 Nomenclature
10.3 Memory Allocation
Page
10.4 Private Memory Allocation
10.5 Memory Assignment
10.6 Memory Assignment Pro cedure
Page
The Memory Assignment Procedure can be coded in assembler as a FAR procedure.
11. AMX Circular List Manager 11.1 Circular Lists
11.2 Circular List Use
11.3 Circular List Structure
The same lists can be coded in assembly language as follows:
12. AMX Linked List Manager 12.1 Introduction
12.2 Linked Lists
Page
12.3 Linked List Use
Page
Page
Page
Page
13. Advanced Topics 13.1 Fatal Exit
Page
Page
13.2 User Error Procedure
Page
13.3 Task Scheduling Hooks
13.4 Abnormal Task Term inati on
Page
Page
Page
Page
13.5 Task Suspend/Resume
13.6 Breakpoint Manager
Page
Page
Page
14. AMX System Configuration 14.1 System Configuration Module
14.2 System Configuration Builder
Figure 14.2-1 AMX Configuration Building Process
14.3 Using the Builder
Page
Page
Page
14.4 System Parameter Definition
Kernel Options
Page
Timing Options
14.5 AMX Object Allocation
Page
Page
14.6 Restart/Exit Procedure Definition
Page
14.7 Task Definition
Page
Page
14.8 Timer Definition
Page
14.9 Semaphore Definition
Page
14.10 Event Group Definition
Page
14.11 Message Exchange Def inition
Page
14.12 Buffer Pool Definition
Page
14.13 Breakpoint Manager Definition
Page
15. AMX Service Procedur es 15.1 Introduction
15.2 Summary of Services
Page
Page
Page
Page
Page
Page
16. AMX 86 Procedures 16.1 Introduction
Page
Page
Page
ajabl ajabl
ajatl ajatl
ajbau ajbau
ajbcre ajbcre
Page
ajbdel ajbdel
ajbfre ajbfre
ajbget ajbget
ajbgsz ajbgsz
ajbia ajbia
ajbip ajbip
ajbtag ajbtag
ajcfjlong ajcfjlong ajcfjset ajcfjset
Example
See Also
ajcfstkjmp ajcfstkjmp
ajclk ajclk
ajdi ajdi ajei ajei
ajend ajend
ajentr ajentr
Page
ajevcre ajevcre
ajevdel ajevdel
ajevnt ajevnt
ajevrd ajevrd
ajevsig ajevsig
ajevtag ajevtag
ajevwat ajevwat
Page
ajexit ajexit
ajfatl ajfatl
ajflagrd, ajflagrddi ajflagrd, ajflagrddi ajflagwr ajflagwr
ajgmsg ajgmsg
ajgofs ajgofs
ajgseg ajgseg
ajgsreg ajgsreg
ajhook ajhook
ajinb ajinb ajinw ajinw
ajint ajint ajinx ajinx
ajispm ajispm
ajitrp ajitrp
ajivtr ajivtr
ajivtw ajivtw
ajivtx ajivtx
ajlcre ajlcre
ajlhead ajlhead
ajlinsc ajlinsc
ajlinsh ajlinsh
ajlinsk ajlinsk
ajlinst ajlinst
ajlmerg ajlmerg
Note Assembly language call is:
Restrictions You must not merge two lists if either of the lists is a keyed list.
ajlnext ajlnext
ajlordk ajlordk
ajlprev ajlprev
ajlrmvc ajlrmvc
ajlrmvh ajlrmvh
ajlrmvt ajlrmvt
ajltail ajltail
ajmau ajmau
ajmfre ajmfre
ajmgeh ajmgeh
ajmget ajmget
ajmgsz ajmgsz
ajmhan ajmhan
ajmodl ajmodl
ajmset ajmset
ajmxcre ajmxcre
ajmxdel ajmxdel
ajmxget ajmxget
ajmxsnd ajmxsnd
ajmxsndp ajmxsndp
ajmxtag ajmxtag
ajmxwat ajmxwat
ajoutb ajoutb ajoutw ajoutw
ajproc ajproc ajprocq ajprocq
Page
ajprvl ajprvl
ajprvr ajprvr
ajrbl ajrbl
ajresum ajresum
ajrstl ajrstl
ajrtl ajrtl
ajsend ajsend
ajsendp ajsendp
ajsenw ajsenw
Page
ajsenwp ajsenwp
Page
ajsgnl ajsgnl
Page
ajsgrd ajsgrd
ajsgres ajsgres
ajsgwat ajsgwat
Page
ajsint ajsint ajsintq ajsintq
Page
ajsmcre ajsmcre
ajsmdel ajsmdel
ajsmfre ajsmfre
ajsmget ajsmget
ajsmrls ajsmrls
ajsmrsv ajsmrsv
Page
ajsmsig ajsmsig
ajsmtag ajsmtag
ajsmwat ajsmwat
ajsofs ajsofs
ajsseg ajsseg
ajssreg ajssreg
ajsusp ajsusp
ajtdf ajtdf
ajtdg ajtdg
ajtds ajtds
ajtick ajtick
ajtkcre ajtkcre
ajtkdel ajtkdel
ajtkid ajtkid
ajtkill ajtkill
ajtkpry ajtkpry
ajtkstp ajtkstp
ajtksts ajtksts
ajtktag ajtktag
ajtktcb ajtktcb
ajtktrm ajtktrm
ajtmcnv ajtmcnv
ajtmcre ajtmcre
ajtmdel ajtmdel
ajtmrd ajtmrd
ajtmtag ajtmtag
ajtmwr ajtmwr
ajtrig ajtrig
ajtslv ajtslv
ajtsof ajtsof ajtson ajtson
ajupt ajupt
ajver ajver
ajwait ajwait
ajwakc ajwakc
ajwakcs ajwakcs
ajwake ajwake
ajwapr ajwapr
ajwatm ajwatm
Page
A. AMX 86 Reserved Words
Page
B. AMX 86 Error Codes
Page
Page
Page
C. Configuration Generator Specifications C.1 Introduction
C.2 User Parameter File Specification
Figure C.2-1 User Parameter File
Page
Page
Page
Page
C.3 System Configuration Template
Page
Page
C.4 Porting the Configuration Generator
Page
Page
D. AMX 86 Structure and Constant Definitions D.1 AMX C Structures and Constants
AMX Launch Parameter (see AAENTR)
AMX Task Definition Structure
AMX Task Control Block Structure
AMX Task Status Block Structure
Task Status Masks (fields amsbst, amsbsig)
Critical Function Codes (passed to Task Termination Procedure)
Page
AMX User Parameter Table Structure
Configuration Attributes (field AMPBCFGA)
AMX Time/Date Structure
AMX Timer Definition Structure
AMX Buffer Pool Definition Structure
AMX List Header Structure (doubly linked lists)
AMX List Node Structure
AMX Key Node Structure
AMX Register Array Structure
AMX Segment Register Array Structure
AMX Interrupt Descriptor Structure
Interrupt gate types (field amxigate) See Intel 80286 Programmer's Reference Manual
AMX C Root ISP Structure
AMX C Jump Buffer Structure
D.2 AMX Assembler Structures and Constants
AMX Launch Parameter (see AAENTR)
AMX Task Definition Structure
AMX Task Control Block Structure
AMX Task Status Block Structure
Task Status Masks (fields AMSBST, AMSBSIG)
Critical Function Codes (passed to Task Termination Procedure)
AMX Extended Message Parameter Structure (passed on stack above AMX message when starting a task)
AMX Function Codes (field AMXMSFN)
AMX User Parameter Table Structure
Configuration Attributes (field AMBPCFGA)
AMX Time/Date Structure
AMX Timer Definition Structure
AMX Buffer Pool Definition Structure
AMX List Header Structure (doubly linked lists)
AMX List Node Structure
AMX Key Node Structure
AMX Register Array Structure
AMX Segment Register Array Structure
AMX Interrupt Descriptor Structure
Interrupt gate types (field AMXIGATE) See Intel 80286 Programmer's Reference Manual
Page
E. AMX 86 Assembler Interface
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Index-1
Numerals
A
Index-2
B
C
Index-3
D
E
Index-4
F
G
H
I
K
M
N
O
Index-6
P
Q
R
S
Index-7
T
Index-8
U
V
W