home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / amiga-flight / includes / subrts.h next >
Text File  |  1977-12-31  |  3KB  |  66 lines

  1. *****************************************************************************
  2. ***                              SUBRTS.H                                 ***
  3. ***                                                                       ***
  4. ***    This file is part of the XCNT AmigaFlight® development package.    ***
  5. ***      It should be found in the AmigaFlight:Includes directory.        ***
  6. ***                                                                       ***
  7. ***                          ©XCNT, 1992-1994.                            ***
  8. *****************************************************************************
  9.  
  10.  
  11. *****************************************************************************
  12. ***    Values to write to the data direction register (of port A), to     ***
  13. ***   select which pins are being used for input and which for output.    ***
  14. *****************************************************************************
  15.  
  16. APPS_ALL_IN    EQU    $00    All pins set to input.
  17. APPS_MOTOR    EQU    $C0    Pins 6 & 7 output, pins 5-0 input.
  18. APPS_HEATER    EQU    $20    Pin 5 output, all others input.
  19.  
  20. *****************************************************************************
  21. ***                       The main flight routines.                       ***
  22. *****************************************************************************
  23.  
  24.         XREF    CLS
  25.         XREF    CONHEX
  26.         XREF    CRLF
  27.         XREF    INADDR
  28.         XREF    INCH
  29.         XREF    INCHEX
  30.         XREF    INKEY
  31.         XREF    INSTHEX
  32.         XREF    OUTCH
  33.         XREF    OUTHEX
  34.         XREF    OUT2HEX
  35.         XREF    OUT4HEX
  36.         XREF    OUT8HEX
  37.         XREF    OUTSTR
  38.         XREF    SPACE
  39.         XREF    SPACES
  40.  
  41. *****************************************************************************
  42. ***               Applications board initialisation routine.              ***
  43. *****************************************************************************
  44.  
  45.         XREF    APPS_INIT
  46.         XREF    APPS_PORTA
  47.         XREF    APPS_PORTB
  48.  
  49. *****************************************************************************
  50. ***           AmigaFlight hardware emulation routine (PRIVATE!).          ***
  51. *****************************************************************************
  52.  
  53.         XREF    APPS_ROUTINE
  54.  
  55. *****************************************************************************
  56. ***                           Timer routines.                             ***
  57. *****************************************************************************
  58.  
  59.         XREF    CHECK_TIMER
  60.         XREF    START_TIMER
  61.         XREF    STOP_TIMER
  62.  
  63. *****************************************************************************
  64. ***                        End of file SUBRTS.H.                          ***
  65. *****************************************************************************
  66.