-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathstart.asm
61 lines (49 loc) · 1.7 KB
/
start.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
;******************************************************************************
; Free386 start
;******************************************************************************
;[TAB=8]
;
%include "macro.inc"
%include "f386def.inc"
extern start
global show_title
global verbose
global search_PATH386
global search_PATH
global reset_CRTC
global check_MACHINE
global desc_memory_map
global pool_for_paging
global call_buf_sizeKB
global resv_real_memKB
global user_cbuf_pages
;==============================================================================
seg16 text class=CODE align=16
;==============================================================================
times 100h db 0 ;= ORG 100h
..start:
jmp near start
;==================================================
;Behavior definition variables (for patches)
;==================================================
align 4
;[+04h byte]
show_title db _show_title ;show Free386's title
verbose db _verbose ;Performs verbose
search_PATH386 db _search_PATH386 ;find from PATH386 ENV
search_PATH db _search_PATH ;find from PATH ENV
;[+08h byte]
reset_CRTC db _reset_CRTC ;CRTC/VRAM clear setting
check_MACHINE db _check_MACHINE ;Auto detect machines type
desc_memory_map db _desc_memory_map ;Descending ext memory mapping
db 0
;[+0Ch byte]
pool_for_paging db _pool_for_paging ;Reserved for paging [page]
call_buf_sizeKB db _call_buf_sizeKB ;CALL buffer size [KB]
resv_real_memKB dw _resv_real_memKB ;Reserved DOS memory [KB]
;[+10h byte]
user_cbuf_pages db _user_cbuf_pages ;call buffer for client EXP
db 0
db 0
db 0
;==============================================================================