 |
system.h |
Header File |
System routines (for accessing system timers, queues, etc.)
Functions
- AB_getGateArrayVersion
- Returns the hardware version of the calculator.
![]()
- AB_prodid
- Determines the product ID code.
![]()
- AB_prodname
- Determines the product name.
![]()
- AB_serno
- Determines the serial number.
![]()
- ASM_call
- Calls a subroutine located on absolute address, with saving/restoring all registers.
![]()
- ASM_fastcall
- Calls a subroutine located on absolute address.
![]()
- CB_fetchTEXT
- Fetches a text from the clipboard.
![]()
- CB_replaceTEXT
- Puts a text into the clipboard.
![]()
- CU_restore
- Restores the previous cursor state.
![]()
- CU_start
- Starts the cursor.
![]()
- CU_stop
- Stops the cursor.
![]()
- enter_ghost_space
- Transfers the execution into the "ghost address space".
![]()
- EX_getBasecodeParmBlock
- Gets a pointer to the base code parameter block.
![]()
- EX_patch
- Relocates an assembly program.
![]()
- HelpKeys
- Displays a keyboard help screen.
![]()
- idle
- Switches the calculator to "idle" state for a while.
![]()
- kbd_queue
- Returns a pointer to the keyboard queue.
![]()
- LOC_formatDate
- Formats a date into date according to format string.
![]()
- LOC_getLocalDateFormat
- Returns a pointer to the date format string specified by the current language mode setting.
![]()
- LOC_localVersionDate
- Formats release date of AMS Operating System according to current language setting.
![]()
- NeedStack
- Checks for space on the stack.
![]()
- off
- Turns the calculator off.
![]()
- OSCheckBreak
- Checks pressing of BREAK key.
![]()
- OSClearBreak
- Clears "BREAK key pressed" flag.
![]()
- OSContrastAddress
- Returns a pointer to the contrast value.
![]()
- OSContrastDn
- Decreases the contrast.
![]()
- OSContrastUp
- Increases the contrast.
![]()
- OSdequeue
- Removes an element from a queue.
![]()
- OSDisableBreak
- Disables the break key ('ON').
![]()
- OSEnableBreak
- Enables the break key ('ON').
![]()
- OSenqueue
- Insert a new element into a queue.
![]()
- OSFreeTimer
- Frees a notify (countdown) timer.
![]()
- OSqclear
- Clears a queue.
![]()
- OSqhead
- Gets an element from the head of a queue.
![]()
- OSqinquire
- Checks whether an element is waiting in a queue.
![]()
- OSRegisterTimer
- Registers a notify (countdown) timer.
![]()
- OSReset
- Resets the calculator.
![]()
- OSSetSR
- Sets the processor status register.
![]()
- OSTimerCurVal
- Determines a current value of a notify (countdown) timer.
![]()
- OSTimerExpired
- Determines whether a notify (countdown) timer expired.
![]()
- OSTimerRestart
- Restarts a notify (countdown) timer.
![]()
- OSVFreeTimer
- Frees an event (vectored) timer.
![]()
- OSVRegisterTimer
- Registers an event (vectored) timer.
![]()
- QModeKey
- Checks whether argument is code of a mode key.
![]()
- QSysKey
- Checks whether argument is code of a system key.
![]()
- SumStoChkMem
- Compares memory contents by making a checksum.
![]()
- WordInList
- Searches for a word in the list.
![]()
- XR_stringPtr
- Returns a pointer to a TIOS system message (XR string).
Global Variables
- CTypeTable
- A pointer to a table describing the types of the AMS characters.
![]()
- CU_cursorState
- Contains the current cursor state (on or off).
![]()
- FiftyMsecTick
- A counter incremented by the standard system auto-int 5 routine.
![]()
- OSContrastValue
- Byte containing the value of the current contrast.
![]()
- OSOnBreak
- System variable indicating that the ON key was pressed.
Used by OSCheckBreak,
OSClearBreak,
OSLinkClose between others.![]()
- ReleaseDate
- A pointer to a string containing the release date of the AMS.
![]()
- ReleaseVersion
- A pointer to a string containing the AMS version.
Constants
- KB_AUTOREPEAT
- A constant defining the "auto-repeat" bit.
Predefined Types
- BASECODE_PARM_BLOCK
- A structure containing version information about the operating system.
![]()
- Bool
- An enumeration to describe true or false values.
![]()
- DEF_QUEUE
- A structure describing the header of a variable-sized queue.
![]()
- HANDLE
- Represents a handle associated with an allocated memory block.
![]()
- QUEUE
- A structure describing a queue with a buffer.
![]()
- Timer_Callback_t
- Describes a timer callback function.
![]()
- Timers
- An enumeration for describing timer ID numbers.