2
0

ufddos.inc 1.0 KB

123456789101112131415161718192021
  1. ;; DOS variables
  2. defc DOSFD = 64768 ;; Current DOS file descriptor
  3. defc DRVSEL = 64769 ;; Selected drive no
  4. defc DOSBUF0 = 64786 ;; Pointer to DOSBUF 0
  5. defc DISKERR = 64789 ;; Drive error (if any)
  6. defc BCSAVE = 64797 ;; Register save area
  7. defc DOSDEFDEV = 64821 ;; DOS default device (" ") in RAM
  8. ;; DOS subroutines and pointers
  9. defc DCWAI = 24672 ;; Select drive
  10. defc DW0 = 24675 ;; Write sector to DOSBUF0
  11. defc DR0 = 24678 ;; Read sector from DOSBUF0
  12. defc DDEVDES = 24683 ;; Pointer to DOS device type list
  13. defc DRDWRET = 24689 ;; Pointer to driver hook
  14. defc DRDWEND = 25012 ;; Driver hook exit (when claimed)
  15. defc DRDWERR = 25011 ;; Driver hook exit on error
  16. defc DGETBUF = 25098 ;; Get address of DOSBUF B[7:4]
  17. defc DOSJPTABLE = 26195 ;; Address for disk drive jump table
  18. defc DOSALLOCBUF = 26100 ;; Allocate a DOSBUF
  19. defc DOSBUFINIT = 26155 ;; Initialize an IX map+DOS file descriptor
  20. defc DOSBUFREINIT = 26159 ;; Requires A = (ix+12), preserves BC