home *** CD-ROM | disk | FTP | other *** search
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ; ;
- ; DOS32 - By Adam Seychell ;
- ; ;
- ; Include file to replace DOS32.INC of DOS32 V2.4 ;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
- Global start32 :near
- Global GetIRQVector :near
- Global SetIRQVector :near
- Global GetIntVector :near
- Global SetIntVector :near
- Global AllocDMAregion :near
- Global Allocate_Memory :near
- Global Debug :near
- Global Debug_run :near
- Global CODE32_sel :word ; Selector
- Global DATA32_sel :word ; Selector
- Global Zero_sel :word ; Selector
- Global PIC1_Base :byte ; IRQ 0..7
- Global PIC2_Base :byte ; IRQ 0..7
- Global Environment_segment :word ; real mode segment
- Global Environment_addr :dword ; 32bit offset
- Global PSP_segment :word ; real mode segment
- Global PSP_addr :dword ; 32bit offset
- Global _0b8000h :dword ; 32bit offset
- Global _0a0000h :dword ; 32bit offset
- Global CODE32_addr :dword ; 32bit offset
- Global Zero_Addr :dword ; 32bit offset
-
- ; macro used for calling DOS and BIOS Servises in real mode
- ;but from protected mode
- ;
- DosInt MACRO n
- int n
- endm