home *** CD-ROM | disk | FTP | other *** search
/ Falcon 030 Power 2 / F030_POWER2.iso / ST_STE / MAGS / ICTARI09.ARJ / ictari.09 / ASSEMBLY / MACROS / MACRO_2 / BIOS.I next >
Text File  |  1997-09-17  |  838b  |  33 lines

  1. * Atari BIOS - Trap #13
  2. * =====================
  3. * Trap #13 is Exception Vector 45 (address 180 or $B4)
  4. * Can be called from User Mode
  5. * Recursive up to three levels of nest
  6. * Do not attempt printer or disk I/O in interupt vectors $100-$102
  7. * Function number put on stack will be zero on return!
  8. * USE REGISTERS D0-D2/A0-A2
  9. * Any return value is in d0
  10.  
  11. * Atari BIOS
  12. * ==========
  13. * To call BIOS from inside an interrupt:-
  14. *    sub.l    #46,$4a2
  15. *    BIOS Calls...
  16. *    add.l    #46,$4a2
  17. *    rte
  18. * This may only be done inside one interrupt or interrupt routine must
  19. * not be interrupted.
  20.  
  21. getmpb    equ    0    ;done
  22. bconstat    equ    1    ;done
  23. bconin    equ    2    ;done
  24. bconout    equ    3    ;done
  25. rwabs    equ    4    ;done
  26. setexc    equ    5    ;done
  27. tickcal    equ    6    ;done
  28. getbpb    equ    7    ;done
  29. bcostat    equ    8    ;done
  30. mediach    equ    9    ;done
  31. drvmap    equ    10    ;done
  32. kbshift    equ    11    ;done
  33.