•  Back 
  •  Input functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File7.7.7  vex_timv                                                    TOS

 Name:         »Exchange timer interrupt vector« - Adapt the interrupt 
               vector for the timer.

 Opcode:       118

 Syntax:       void vex_timv ( int16_t handle, int16_t (*tim_addr)(), 
               int16_t (**otim_addr)(), int16_t *tim_conv );

 Description:  The call vex_timv permits the installation of a user- 
               defined routine that will be called at each timer tick 
               (currently every 50 milliseconds). The following apply:

                Parameter  Meaning

                handle     Workstation identifier
                tim_addr   Address of the new timer routine
                otim_addr  Address of the old timer routine
                tim_conv   Interrupt interval in ms

               The subroutine has to save and restore modified 
               registers and call the old timer routine.

               Notes: The input functions of the VDI work only on the 
               physical workstation, which is normally used by the 
               AES.

               As this vector is jumped through frequently, the new 
               routine should be very simple to avoid degrading the 
               system performance.

 Return value: The function does not return a result.

 Availability: Supported by all screen drivers.

 Group:        Input functions

 See Also:     Binding   vex_butv   vex_motv   vex_curv