home *** CD-ROM | disk | FTP | other *** search
/ Sound, Music & MIDI Collection 2 / SMMVOL2.bin / DOS / SS_PLAY / FUNK106.ZIP / FUNK_S.ZIP / DOS32.INC < prev    next >
Encoding:
Text File  |  1995-03-17  |  2.0 KB  |  44 lines

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;                                                                          ;
  3. ; DOS32 - By Adam Seychell                                                 ;
  4. ;                                                                          ;
  5. ; Variables "include" file (TASM ideal mode version)                       ;
  6. ;                                                                          ;
  7. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  8.  
  9. public start32
  10. extrn  debug                   :near
  11. extrn  GetIRQVector            :near
  12. extrn  SetIRQVector            :near
  13. extrn  GetIntVector            :near
  14. extrn  SetIntVector            :near
  15. extrn  AllocDMAregion          :near
  16. extrn  Allocate_Memory         :near
  17. extrn  Debug                   :near
  18. extrn  Real_GS                 :dword
  19. extrn  Real_FS                 :dword
  20. extrn  Real_DS                 :dword
  21. extrn  Real_ES                 :dword
  22. extrn  Real_SS                 :dword
  23. extrn  Real_SP                 :dword
  24. extrn  CODE32_sel              :word           ; Selector
  25. extrn  DATA32_sel              :word           ; Selector
  26. extrn  Zero_sel                :word           ; Selector
  27. extrn  PIC1_Base               :byte           ; IRQ 0..7
  28. extrn  PIC2_Base               :byte           ; IRQ 0..7
  29. extrn  Environment_segment     :word           ; real mode segment
  30. extrn  Environment_addr        :dword          ; 32bit offset
  31. extrn  PSP_segment             :word           ; real mode segment
  32. extrn  PSP_addr                :dword          ; 32bit offset
  33. extrn  _0b8000h                :dword          ; 32bit offset
  34. extrn  _0a0000h                :dword          ; 32bit offset
  35. extrn  CODE32_addr             :dword          ; 32bit offset
  36. extrn  Zero_Addr               :dword          ; 32bit offset
  37.  
  38. ;  two macros used for calling DOS and BIOS Servises in real mode
  39. ;but from protected mode
  40. ;
  41. ;macro DosInt n
  42. ;    int n
  43. ;endm
  44.