•  Back 
  •  Interface programming 
  •  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-File4.16.11  Ongibit                                                   TOS

 Name:         »GI bit on« - Set individual bits in the port A 
               register of the GI sound chip.

 Opcode:       30

 Syntax:       void Ongibit( int16_t bitno );

 Description:  The XBIOS routine Ongibit sets a bit in register A of 
               the GI sound chip. bitno specifies the value with which 
               the register should be ORed. The bits in this register 
               have the following meaning:

                Bit  Description

                 0   Floppy disk side select
                 1   Select drive A:
                 2   Select drive B:
                 3   RS-232 RTS
                 4   RS-232 DTR
                 5   Centronics strobe
                 6   PIN 3 monitor port
                 7   Unused
                     As of TOS030 of the TT, however Modem 4 (1) or 
                     LAN (0)

 Return value: The function does not return a result.

 Availability: All TOS versions.

 Group:        Interface programming

 See also:     Binding   Offgibit