AMX 68000 Target Guide
K
DAK
rev7 B-1
Appendix B. AMX 68000 Service Procedures
B.1 Summary of Services
AMX 68000 provides a collection of target dependent AMX service procedures for use
with the M68000 processor and compatibles and the C compilers which support them.
These procedures are summarized below.
Interrupt Control (class
ksi)
cjksitrap Install a task trap handler
cjksivtp Fetch pointer to the AMX Vector Table
cjksivtrd Read an entry from the AMX Vector Table
cjksivtwr Write an entry into the AMX Vector Table
cjksivtx Exchange an entry in the AMX Vector Table
Processor and C Interface Procedures (class
cf)
In addition to the services provided by AMX and its managers, the AMX Library
includes several C procedures of a general nature which simplify application
programming in real-time systems on your target processor.
cjcfccsetup Setup C environment
cjcfdi Disable interrupts at priority level 6
cjcfei Enable interrupts at priority level 0
cjcfflagrd Read the processor status register (SR)
cjcfflagwr Write to the processor status register (SR)
cjcfhwdelay Delay n microseconds
cjcfhwbcache Flush and enable/disable data and instruction caches
cjcfhwdcache Flush and enable/disable data cache
cjcfhwicache Flush and enable/disable instruction cache
cjcfin8 Read an 8-bit input port
cjcfin16 Read a 16-bit input port
cjcfin32 Read a 32-bit input port
cjcfjlong Long jump to a mark set by cjcfjset
cjcfjset
Set a mark for a subsequent long jump by cjcfjlong
cjcfmcopy
Copy a block of memory
cjcfmset Set (fill) a block of memory
cjcfout8 Write an 8-bit value to an output port
cjcfout16 Write a 16-bit value to an output port
cjcfout32 Write a 32-bit value to an output port
cjcfstkjmp Switch stacks and jump to a new procedure
cjcftag Convert a string to an AMX tag value
cjcfvol8 Read a volatile 8-bit variable
cjcfvol16 Read a volatile 16-bit variable
cjcfvol32 Read a volatile 32-bit variable
cjcfvolpntr Read a volatile pointer variable
Comments to this Manuals