home *** CD-ROM | disk | FTP | other *** search
- ;-----------------------------------------------------------------------------;
- ; S Y S T E M I N T E R R U P T S ;
- ;-----------------------------------------------------------------------------;
- DOS_INT EQU 21h
- EMM_INT EQU 67h
-
- ;-----------------------------------------------------------------------------;
- ; D O S F U N C T I O N S ;
- ;-----------------------------------------------------------------------------;
- GET_INT_VECTOR EQU 35h
-
- ;-----------------------------------------------------------------------------;
- ; E M M F U N C T I O N S ;
- ;-----------------------------------------------------------------------------;
- get_status_fcn EQU 40h
- get_page_frame_fcn EQU 41h
- get_unalloc_page_cnt_fcn EQU 42h
- allocate_pages_fcn EQU 43h
- map_page_fcn EQU 44h
- dealloc_fcn EQU 45h
- get_emm_version_fcn EQU 46h
- save_page_map_fcn EQU 47h
- restore_page_map_fcn EQU 48h
- get_handle_count_fcn EQU 4Bh
- get_handle_pages_fcn EQU 4Ch
- get_all_handle_pages_fcn EQU 4Dh
- get_page_map_fcn EQU 4E00h
- set_page_map_fcn EQU 4E01h
- get_and_set_page_map_fcn EQU 4E02h
- get_size_page_map_array_fcn EQU 4E03h
-
- get_partial_page_map_fcn EQU 4F00h
- set_partial_page_map_fcn EQU 4F01h
- get_size_p_page_map_array_fcn EQU 4F02h
-
- map_mult_page_fcn EQU 50h
-
- realloc_fcn EQU 51h
-
- get_handle_attrib_fcn EQU 5200h
- set_handle_attrib_fcn EQU 5201h
- get_attrib_capability_fcn EQU 5202h
-
- get_handle_name_fcn EQU 5300h
- set_handle_name_fcn EQU 5301h
-
- get_handle_dir_fcn EQU 5400h
- search_for_named_handle_fcn EQU 5401h
- get_total_handles_fcn EQU 5402h
-
- alter_page_map_and_jmp_fcn EQU 55h
-
- alter_page_map_and_call_fcn EQU 56h
- phys_page_mode EQU 0
- phys_seg_mode EQU 1
- get_page_map_stack_space_size_fcn EQU 5602h
-
- move_memory_fcn EQU 5700h
- exchange_memory_fcn EQU 5701h
-
- get_mappable_phys_addr_array_fcn EQU 5800h
- get_mappable_array_entries_fcn EQU 5801h
-
- get_emm_hardware_info_fcn EQU 5900h
- get_unallocated_raw_pg_cnt_fcn EQU 5901h
-
- alloc_standard_pages_fcn EQU 5A00h
- alloc_raw_pages_fcn EQU 5A01h
-
- get_alt_map_reg_set_fcn EQU 5B00h
- set_alt_map_reg_set_fcn EQU 5B01h
- get_alt_map_save_array_size_fcn EQU 5B02h
- allocate_alt_map_regs_fcn EQU 5B03h
- deallocate_alt_map_regs_fcn EQU 5B04h
- allocate_dma_reg_set_fcn EQU 5B05h
- enable_dma_on_alt_fcn EQU 5B06h
- disable_dma_on_alt_map_regs_fcn EQU 5B07h
- deallocate_dma_reg_set_fcn EQU 5B08h
-
- prepare_for_warmboot_fcn EQU 5Ch
-
- enable_os_fcn_set_fcn EQU 5D00h
- disable_os_fcn_set_fcn EQU 5D01h
- return_access_key_fcn EQU 5D02h
-
- PAGE
- ;-----------------------------------------------------------------------------;
- ; E M M S T A T U S E S ;
- ;-----------------------------------------------------------------------------;
- fcn_passed_stat EQU 00h
- software_err_stat EQU 80h
- handle_not_found_stat EQU 83h
- undefined_fcn_stat EQU 84h
- insufficient_unalloc_handles_stat EQU 85h
- save_restore_context_err_stat EQU 86h
- insufficient_total_pages_stat EQU 87h
- insufficient_unalloc_pages_state EQU 88h
- allocate_zero_pages_stat EQU 89h
- log_page_out_of_bounds_stat EQU 8Ah
- phys_page_out_of_bounds_stat EQU 8Bh
- handle_context_full_stat EQU 8Ch
- handle_context_already_saved_stat EQU 8Dh
- handle_context_not_present_stat EQU 8Eh
- undefined_sub_fcn_stat EQU 8Fh
- undefined_attrib_stat EQU 90h
- capability_not_supported_stat EQU 91h
- move_source_dest_overlap_stat EQU 92h
- source_dest_len_less_than_region_stat EQU 93h
- conv_exp_mem_region_overlap_stat EQU 94h
- exp_offset_greater_than_page_len_stat EQU 95h
- region_len_exceeds_megabyte_stat EQU 96h
- xchg_source_dest_overlap_stat EQU 97h
- source_dest_type_not_defined_stat EQU 98h
- alt_map_DMA_set_not_supported_stat EQU 9Ch
- handle_name_not_found_stat EQU 0A0h
- duplicate_handle_name_found_stat EQU 0A1h
- megabyte_wrap_stat EQU 0A2h
- array_corrupt_stat EQU 0A3h
- fcn_access_denied_stat EQU 0A4h
- local_stack_overflow_stat EQU 0B0h
-
- PAGE
- ;-----------------------------------------------------------------------------;
- ; E M M D E F I N I T I O N S ;
- ;-----------------------------------------------------------------------------;
- FIRST_CONV_SEG EQU 0000h
- LAST_CONV_SEG EQU 9FFFh
-
- FIRST_EXP_SEG EQU 0A000h
- LAST_EXP_SEG EQU 0FFFFh
-
- MAX_HANDLES EQU 255
- MAX_HANDLE_NAME_LEN EQU 8
- MAX_MAPPABLE_REGIONS EQU 64
- MAX_CONTEXT_SIZE EQU 255