KolibriOS kernel
kernel.asm File Reference

Functions

void setup_os_slot ()
 in: edx -> APPDATA for OS/IDLE slot in: ebx = stack base More...
 
void osloop_has_work ()
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; MAIN OS LOOP END ; ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; More...
 
void wakeup_osloop ()
 
void delay_hs_unprotected ()
 this is for syscall More...
 
void syscall_reserveportarea (arg_t edx, arg_t ecx, arg_t ebx, arg_t eax)
 ReservePortArea and FreePortArea. More...
 
void is_region_userspace (dword base, dword len)
 Check if given memory region lays in lower 2gb (userspace memory) or not. More...
 
void is_string_userspace (dword base)
 Check whether given string lays in userspace memory, i.e. below OS_BASE. More...
 

Variables

db debug_direct_print
 The following variable, if equal to 1, duplicates debug output to the screen. More...
 
db launcher_start
 Start the first app (LAUNCHER) after kernel is loaded? (1=yes, 2 or 0=no) More...
 
label bootbios
 
label B32
 
dd bios32_entry
 
dd tmp_page_tabs
 
label ap_init16
 
label gdts_ap
 
dd cr3_ap
 
dd cr4_ap
 
fix __DEBUG__
 
fix __DEBUG_LEVEL__
 
label high_code
 
db use_mwait_for_idle
 
label ahci_code_end
 
label no_lib_load
 
label no_pal_vga
 
label no_pal_ega
 
label ps2_keyboard_functions
 
label first_app_found
 
dd ap_initialized
 
label ap_init_high
 
label boot_log
 
label register_ramdisk
 --------------------------------------------------------------------------— Register ramdisk file system More...
 
label osloop
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; MAIN OS LOOP START ; ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; More...
 
dd osloop_nonperiodic_work
 
rb idle_addr
 
label idle_thread
 
label idle_loop
 The following code can be executed by all CPUs in the system. All other parts of the kernel do not expect multi-CPU. Also, APs don't even have a stack here. Beware. Don't do anything here. Anything at all. More...
 
label idle_loop_hlt
 
label idle_loop_mwait
 
label reserve_irqs_ports
 
dd process_number
 
label set_variables
 
label display_number
 
label display_number_force
 
label cont_displ
 
label cont_displ2
 
label displnl1
 
label d_desnum
 
label no_display_desnum
 
label d_hexnum
 
label no_display_hexnum
 
label d_binnum
 
label no_display_binnum
 
label normalize_number
 
label division_64_bits
 
label draw_num_text
 
dw midi_base
 
label sys_setup
 --------------------------------------------------------------------------— More...
 
label sys_getsetup
 --------------------------------------------------------------------------— More...
 
label get_timer_ticks
 --------------------------------------------------------------------------— More...
 
label is_input
 
label is_output
 
label get_mpu_in
 
label put_mpu_out
 
label sys_midi
 
label sm0
 
label su1
 call setuart More...
 
label su2
 
label su3
 
label smn1
 
label sm10
 
label smn2
 
label detect_devices
 
label sys_end
 
label restore_default_cursor_before_killing
 ---------------------------------------------------------------------------— More...
 
label sys_system_table
 
label sys_system
 ---------------------------------------------------------------------------— More...
 
label sysfn_shutdown
 ---------------------------------------------------------------------------— 18.9 = system shutdown More...
 
label exit_for_anyone
 
label shutdown_processes
 
label is_kernel_thread
 ---------------------------------------------------------------------------— in: eax – APPDATA ptr out: Z/z – is/not kernel thread More...
 
label sysfn_terminate
 ---------------------------------------------------------------------------— 18.2 = TERMINATE More...
 
label noatsc
 
label noprocessterminate
 
label sysfn_terminate2
 ---------------------------------------------------------------------------— More...
 
label sysfn_deactivate
 ---------------------------------------------------------------------------— 18.1 = DEACTIVATE WINDOW More...
 
label sysfn_activate
 ---------------------------------------------------------------------------— 18.3 = ACTIVATE WINDOW More...
 
label sysfn_zmodif
 ---------------------------------------------------------------------------— More...
 
label sysfn_getidletime
 ---------------------------------------------------------------------------— 18.4 = GET IDLETIME More...
 
label sysfn_getcpuclock
 ---------------------------------------------------------------------------— 18.5 = GET TSC/SEC More...
 
label get_cpu_freq
 ---------------------------------------------------------------------------— More...
 
label sysfn_getactive
 
label sysfn_sound_flag
 ---------------------------------------------------------------------------— 18.8 = get/set sound_flag More...
 
label nogetsoundflag
 
label nosoundflag
 
label sysfn_minimize
 ---------------------------------------------------------------------------— 18.10 = minimize window More...
 
label sysfn_getdiskinfo
 ---------------------------------------------------------------------------— 18.11 = get disk info table More...
 
label sysfn_getversion
 ---------------------------------------------------------------------------— 18.13 = get kernel ID and version More...
 
label sysfn_waitretrace
 ---------------------------------------------------------------------------— 18.14 = sys wait retrace More...
 
label sys_wait_retrace
 wait retrace functions More...
 
label WaitRetrace_loop
 
label sysfn_centermouse
 ---------------------------------------------------------------------------— 18.15 = mouse centered More...
 
label sysfn_mouse_acceleration
 ---------------------------------------------------------------------------— 18.19 = set/get mouse features More...
 
label sysfn_getfreemem
 ---------------------------------------------------------------------------— More...
 
label sysfn_getallmem
 ---------------------------------------------------------------------------— More...
 
label sysfn_pid_to_slot
 ---------------------------------------------------------------------------— More...
 
label sysfn_min_rest_window
 ---------------------------------------------------------------------------— More...
 
label sysfn_min_windows
 ---------------------------------------------------------------------------— More...
 
label sysfn_set_screen_sizes
 ---------------------------------------------------------------------------— More...
 
RECT screen_workarea
 
dd display_width_standard
 
dd display_height_standard
 
db do_not_touch_winmap
 
db window_minimize
 
db sound_flag
 
label version_inf
 
dd _rev
 
label version_end
 
label sys_cachetodiskette
 ---------------------------------------------------------------------------— More...
 
label sys_getkey
 
label sys_getbutton
 ---------------------------------------------------------------------------— More...
 
label sys_cpuusage
 ---------------------------------------------------------------------------— More...
 
label sys_redrawstat
 redraw status More...
 
label sys_newba2
 
label sys_newba
 
label end_of_buttons_away
 
label no_widgets_away
 
label srl1
 
label sheduler
 
label sys_sheduler
 
label cache_disable
 
label cache_enable
 
label is_cache_enabled
 
label cache_disabled
 
label modify_pce
 
db cpustring
 
db background_defined
 diamond, 11.04.2006 More...
 
label checkmisc
 --------------------------------------------------------------------------— More...
 
label nocpustart
 -----------------------------------— More...
 
label mouse_not_active
 -----------------------------------— More...
 
label backgr
 -----------------------------------— More...
 
label set_bgr_event
 -----------------------------------— More...
 
label nobackgr
 -----------------------------------— More...
 
label markz
 -----------------------------------— More...
 
label no_mark_system_shutdown
 
label noshutdown
 -----------------------------------— More...
 
label newct
 -----------------------------------— More...
 
label redrawscreen
 --------------------------------------------------------------------------— More...
 
label newdw2
 -----------------------------------— More...
 
label bgli
 -----------------------------------— More...
 
label newdw8
 -----------------------------------— More...
 
label nobgrd
 
label ricino
 -----------------------------------— More...
 
label not_this_task
 
label calculatebackground
 --------------------------------------------------------------------------— background More...
 
dd imax
 
label delay_ms
 --------------------------------------------------------------------------— delay in 1/1000 sec More...
 
label set_app_param
 --------------------------------------------------------------------------— More...
 
label delay_hs
 delay in 1/100 secs More...
 
label newtic
 -----------------------------------— More...
 
label zerodelay
 -----------------------------------— More...
 
label memmove
 --------------------------------------------------------------------------— very often call this subrutine memory move in bytes More...
 
label set_io_access_rights
 in: eax = port ebp = subfunction 0 - set access 1 - clear access out: not return value More...
 
label r_f_port_area
 reserve/free group of ports eax = 46 - number function ebx = 0 - reserve, 1 - free ecx = number start arrea of ports edx = number end arrea of ports (include last number of port) Return value: eax = 0 - succesful eax = 1 - error The system has reserve this ports: 0..0x2d, 0x30..0x4d, 0x50..0xdf, 0xe5..0xff (include last number of port). destroys eax,ebx, ebp More...
 
label rpal3
 
label rpal4
 
label rpal1
 
label rpal2
 
label new_port_access
 
label no_unmask_io
 
label free_port_area
 
label frpal3
 
label frpal4
 
label frpal2
 
label frpal1
 
label new_port_access_disable
 disable - eax = port More...
 
label no_mask_io
 end disable io map More...
 
label drawbackground
 --------------------------------------------------------------------------— More...
 
label dbrv20
 
label bgrstr
 -----------------------------------— More...
 
label syscall_putimage
 --------------------------------------------------------------------------— PutImage More...
 
label sys_putimage
 
label sys_putimage_bpp
 -----------------------------------— More...
 
label sys_putimage_palette
 
label put_mono_image
 --------------------------------------------------------------------------— More...
 
label put_2bit_image
 --------------------------------------------------------------------------— More...
 
label put_4bit_image
 --------------------------------------------------------------------------— More...
 
label putimage_init24bpp
 --------------------------------------------------------------------------— More...
 
label putimage_init8bpp
 
label putimage_init9bpp
 
label putimage_get24bpp
 --------------------------------------------------------------------------— More...
 
label putimage_get8bpp
 --------------------------------------------------------------------------— More...
 
label putimage_get9bpp
 --------------------------------------------------------------------------— More...
 
label putimage_init1bpp
 --------------------------------------------------------------------------— More...
 
label putimage_get1bpp
 --------------------------------------------------------------------------— More...
 
label putimage_init2bpp
 --------------------------------------------------------------------------— More...
 
label putimage_get2bpp
 --------------------------------------------------------------------------— More...
 
label putimage_init4bpp
 --------------------------------------------------------------------------— More...
 
label putimage_get4bpp
 --------------------------------------------------------------------------— More...
 
label putimage_init32bpp
 --------------------------------------------------------------------------— More...
 
label putimage_get32bpp
 --------------------------------------------------------------------------— More...
 
label putimage_init15bpp
 --------------------------------------------------------------------------— More...
 
label putimage_init16bpp
 
label putimage_get15bpp
 --------------------------------------------------------------------------— More...
 
label putimage_get16bpp
 --------------------------------------------------------------------------— More...
 
label kb_write_wait_ack
 --------------------------------------------------------------------------— align 4 eax x beginning ebx y beginning ecx x end edx y end edi color __sys_drawbar: mov esi, [current_slot] add eax, [esi+APPDATA.wnd_clientbox.left] add ecx, [esi+APPDATA.wnd_clientbox.left] add ebx, [esi+APPDATA.wnd_clientbox.top] More...
 
label _rdtsc
 
label ret_rdtsc
 
label sys_msg_board_str
 
label sys_msg_board_byte
 
label sys_msg_board_word
 
label sys_msg_board_dword
 
rb msg_board_data
 
dd msg_board_count
 
dd msg_board_pos
 for printing debug output on the screen More...
 
label sys_msg_board
 
label f66call
 
label sys_process_def
 --------------------------------------------------------------------------— More...
 
dd PID_lock_input
 
label f61call
 
label sys_gs
 direct screen access More...
 
label syscall_getscreensize
 GetScreenSize. More...
 
label syscall_cdaudio
 --------------------------------------------------------------------------— More...
 
label syscall_getpixel_WinMap
 --------------------------------------------------------------------------— GetPixel WinMap More...
 
label syscall_getpixel
 --------------------------------------------------------------------------— GetPixel More...
 
label syscall_getarea
 --------------------------------------------------------------------------— More...
 
label syscall_threads
 CreateThreads. More...
 
label calculate_fast_getting_offset_for_WinMapAddress
 ---------------------------------------------------------------------------— More...
 
label calculate_fast_getting_offset_for_LFB
 ---------------------------------------------------------------------------— More...
 
label set_screen
 ---------------------------------------------------------------------------— More...
 
dp apm_entry
 
dd apm_vf
 
label sys_apm
 
label undefined_syscall
 Undefined system call. More...
 

Function Documentation

◆ delay_hs_unprotected()

void delay_hs_unprotected ( )

this is for syscall

Source
kernel.asm:3385

◆ is_region_userspace()

void is_region_userspace ( dword  base,
dword  len 
)

Check if given memory region lays in lower 2gb (userspace memory) or not.

Parameters
baseBase address of region
lenLenght of region
Returns
ZF = 1 if region in userspace memory, ZF = 0 otherwise
Source
kernel.asm:4800

◆ is_string_userspace()

void is_string_userspace ( dword  base)

Check whether given string lays in userspace memory, i.e. below OS_BASE.

Parameters
baseBase address of string
Returns
ZF = 1 if string in userspace memory, zf = 0 otherwise
Source
kernel.asm:4823

◆ osloop_has_work()

void osloop_has_work ( )

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; MAIN OS LOOP END ; ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Source
kernel.asm:1223

◆ setup_os_slot()

void setup_os_slot ( )

in: edx -> APPDATA for OS/IDLE slot in: ebx = stack base

Source
kernel.asm:1139

◆ syscall_reserveportarea()

void syscall_reserveportarea ( arg_t  edx,
arg_t  ecx,
arg_t  ebx,
arg_t  eax 
)

ReservePortArea and FreePortArea.

Parameters
edxnumber end arrea of ports (include last number of port)
ecxnumber start arrea of ports
ebxsub function 0 - reserve, 1 - free
eax46 - number function
Returns
eax = 0 - succesful eax = 1 - error ReservePortArea and FreePortArea
Source
kernel.asm:3511

◆ wakeup_osloop()

void wakeup_osloop ( )

Variable Documentation

◆ __DEBUG__

fix __DEBUG__
Initial value
1
Source
kernel.asm:264

◆ __DEBUG_LEVEL__

fix __DEBUG_LEVEL__
Initial value
1
Source
kernel.asm:265

◆ _rdtsc

label _rdtsc

◆ _rev

dd _rev
Initial value
REV
Source
kernel.asm:2479

◆ ahci_code_end

label ahci_code_end

◆ ap_init16

label ap_init16

◆ ap_init_high

label ap_init_high

◆ ap_initialized

dd ap_initialized
Initial value
0
Source
kernel.asm:1088

◆ apm_entry

dp apm_entry
Initial value
0
Source
kernel.asm:4733

◆ apm_vf

dd apm_vf
Initial value
0
Source
kernel.asm:4734

◆ B32

label B32

◆ backgr

label backgr

-----------------------------------—

Source
kernel.asm:2953

◆ background_defined

db background_defined

diamond, 11.04.2006

Initial value
0
Source
kernel.asm:2875

◆ bgli

label bgli

-----------------------------------—

Source
kernel.asm:3162

◆ bgrstr

label bgrstr

-----------------------------------—

Source
kernel.asm:3652

◆ bios32_entry

dd bios32_entry
Initial value
?
Source
kernel.asm:241

◆ boot_log

label boot_log

◆ bootbios

label bootbios

◆ cache_disable

label cache_disable

◆ cache_disabled

label cache_disabled

◆ cache_enable

label cache_enable

◆ calculate_fast_getting_offset_for_LFB

label calculate_fast_getting_offset_for_LFB

---------------------------------------------------------------------------—

Source
kernel.asm:4652

◆ calculate_fast_getting_offset_for_WinMapAddress

label calculate_fast_getting_offset_for_WinMapAddress

---------------------------------------------------------------------------—

Source
kernel.asm:4638

◆ calculatebackground

label calculatebackground

--------------------------------------------------------------------------— background

Source
kernel.asm:3309

◆ checkmisc

label checkmisc

--------------------------------------------------------------------------—

Source
kernel.asm:2879

◆ cont_displ

label cont_displ

◆ cont_displ2

label cont_displ2

◆ cpustring

db cpustring
Initial value
'CPU',0
Source
kernel.asm:2871

◆ cr3_ap

dd cr3_ap
Initial value
?
Source
kernel.asm:259

◆ cr4_ap

dd cr4_ap
Initial value
?
Source
kernel.asm:260

◆ d_binnum

label d_binnum

◆ d_desnum

label d_desnum

◆ d_hexnum

label d_hexnum

◆ dbrv20

label dbrv20

◆ debug_direct_print

db debug_direct_print

The following variable, if equal to 1, duplicates debug output to the screen.

Initial value
0
Source
kernel.asm:98

◆ delay_hs

label delay_hs

delay in 1/100 secs

Source
kernel.asm:3394
Source
kernel.asm:3421

◆ delay_ms

label delay_ms

--------------------------------------------------------------------------— delay in 1/1000 sec

Source
kernel.asm:3324

◆ detect_devices

label detect_devices

◆ display_height_standard

dd display_height_standard
Initial value
0
Source
kernel.asm:2465

◆ display_number

label display_number

◆ display_number_force

label display_number_force

◆ display_width_standard

dd display_width_standard
Initial value
0
Source
kernel.asm:2464

◆ displnl1

label displnl1

◆ division_64_bits

label division_64_bits

◆ do_not_touch_winmap

db do_not_touch_winmap
Initial value
0
Source
kernel.asm:2466

◆ draw_num_text

label draw_num_text

◆ drawbackground

label drawbackground

--------------------------------------------------------------------------—

Source
kernel.asm:3642

◆ end_of_buttons_away

label end_of_buttons_away

◆ exit_for_anyone

label exit_for_anyone

◆ f61call

label f61call

◆ f66call

label f66call

◆ first_app_found

label first_app_found

◆ free_port_area

label free_port_area

◆ frpal1

label frpal1

◆ frpal2

label frpal2

◆ frpal3

label frpal3

◆ frpal4

label frpal4

◆ gdts_ap

label gdts_ap

◆ get_cpu_freq

label get_cpu_freq

---------------------------------------------------------------------------—

Source
kernel.asm:2234

◆ get_mpu_in

label get_mpu_in

◆ get_timer_ticks

label get_timer_ticks

--------------------------------------------------------------------------—

Source
kernel.asm:1801

◆ high_code

label high_code

◆ idle_addr

rb idle_addr
Initial value
64
Source
kernel.asm:1257

◆ idle_loop

label idle_loop

The following code can be executed by all CPUs in the system. All other parts of the kernel do not expect multi-CPU. Also, APs don't even have a stack here. Beware. Don't do anything here. Anything at all.

Source
kernel.asm:1267

◆ idle_loop_hlt

label idle_loop_hlt

◆ idle_loop_mwait

label idle_loop_mwait

◆ idle_thread

label idle_thread

◆ imax

dd imax
Initial value
0x0
Source
kernel.asm:3320

◆ is_cache_enabled

label is_cache_enabled

◆ is_input

label is_input

◆ is_kernel_thread

label is_kernel_thread

---------------------------------------------------------------------------— in: eax – APPDATA ptr out: Z/z – is/not kernel thread

Source
kernel.asm:2019

◆ is_output

label is_output

◆ kb_write_wait_ack

label kb_write_wait_ack

--------------------------------------------------------------------------— align 4 eax x beginning ebx y beginning ecx x end edx y end edi color __sys_drawbar: mov esi, [current_slot] add eax, [esi+APPDATA.wnd_clientbox.left] add ecx, [esi+APPDATA.wnd_clientbox.left] add ebx, [esi+APPDATA.wnd_clientbox.top]

add edx, [esi+APPDATA.wnd_clientbox.top]

align 4 .forced: call vesa20_drawbar call [draw_pointer]

ret

Source
kernel.asm:4045

◆ launcher_start

db launcher_start

Start the first app (LAUNCHER) after kernel is loaded? (1=yes, 2 or 0=no)

Initial value
1
Source
kernel.asm:100

◆ markz

label markz

-----------------------------------—

Source
kernel.asm:3033

◆ memmove

label memmove

--------------------------------------------------------------------------— very often call this subrutine memory move in bytes

Source
kernel.asm:3448

◆ midi_base

dw midi_base
Initial value
0
Source
kernel.asm:1569

◆ modify_pce

label modify_pce

◆ mouse_not_active

label mouse_not_active

-----------------------------------—

Source
kernel.asm:2945

◆ msg_board_count

dd msg_board_count
Initial value
?
Source
kernel.asm:4152

◆ msg_board_data

rb msg_board_data
Initial value
msg_board_data_size
Source
kernel.asm:4151

◆ msg_board_pos

dd msg_board_pos

for printing debug output on the screen

Initial value
42*6*65536+10
Source
kernel.asm:4156

◆ new_port_access

label new_port_access

◆ new_port_access_disable

label new_port_access_disable

disable - eax = port

Source
kernel.asm:3631

◆ newct

label newct

-----------------------------------—

Source
kernel.asm:3067

◆ newdw2

label newdw2

-----------------------------------—

Source
kernel.asm:3111

◆ newdw8

label newdw8

-----------------------------------—

Source
kernel.asm:3233

◆ newtic

label newtic

-----------------------------------—

Source
kernel.asm:3429

◆ no_display_binnum

label no_display_binnum

◆ no_display_desnum

label no_display_desnum

◆ no_display_hexnum

label no_display_hexnum

◆ no_lib_load

label no_lib_load

◆ no_mark_system_shutdown

label no_mark_system_shutdown

◆ no_mask_io

label no_mask_io

end disable io map

Source
kernel.asm:3637

◆ no_pal_ega

label no_pal_ega

◆ no_pal_vga

label no_pal_vga

◆ no_unmask_io

label no_unmask_io

◆ no_widgets_away

label no_widgets_away

◆ noatsc

label noatsc

◆ nobackgr

label nobackgr

-----------------------------------—

Source
kernel.asm:3018

◆ nobgrd

label nobgrd

◆ nocpustart

label nocpustart

-----------------------------------—

Source
kernel.asm:2889

◆ nogetsoundflag

label nogetsoundflag

◆ noprocessterminate

label noprocessterminate

◆ normalize_number

label normalize_number

◆ noshutdown

label noshutdown

-----------------------------------—

Source
kernel.asm:3061

◆ nosoundflag

label nosoundflag

◆ not_this_task

label not_this_task

◆ osloop

label osloop

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; MAIN OS LOOP START ; ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Source
kernel.asm:1195

◆ osloop_nonperiodic_work

dd osloop_nonperiodic_work
Initial value
?
Source
kernel.asm:1252

◆ PID_lock_input

dd PID_lock_input
Initial value
0x0
Source
kernel.asm:4394

◆ process_number

dd process_number
Initial value
0x2
Source
kernel.asm:1331

◆ ps2_keyboard_functions

label ps2_keyboard_functions

◆ put_2bit_image

label put_2bit_image

--------------------------------------------------------------------------—

Source
kernel.asm:3828

◆ put_4bit_image

label put_4bit_image

--------------------------------------------------------------------------—

Source
kernel.asm:3835

◆ put_mono_image

label put_mono_image

--------------------------------------------------------------------------—

Source
kernel.asm:3821

◆ put_mpu_out

label put_mpu_out

◆ putimage_get15bpp

label putimage_get15bpp

--------------------------------------------------------------------------—

Source
kernel.asm:3988

◆ putimage_get16bpp

label putimage_get16bpp

--------------------------------------------------------------------------—

Source
kernel.asm:4007

◆ putimage_get1bpp

label putimage_get1bpp

--------------------------------------------------------------------------—

Source
kernel.asm:3887

◆ putimage_get24bpp

label putimage_get24bpp

--------------------------------------------------------------------------—

Source
kernel.asm:3849

◆ putimage_get2bpp

label putimage_get2bpp

--------------------------------------------------------------------------—

Source
kernel.asm:3916

◆ putimage_get32bpp

label putimage_get32bpp

--------------------------------------------------------------------------—

Source
kernel.asm:3977

◆ putimage_get4bpp

label putimage_get4bpp

--------------------------------------------------------------------------—

Source
kernel.asm:3950

◆ putimage_get8bpp

label putimage_get8bpp

--------------------------------------------------------------------------—

Source
kernel.asm:3857

◆ putimage_get9bpp

label putimage_get9bpp

--------------------------------------------------------------------------—

Source
kernel.asm:3867

◆ putimage_init15bpp

label putimage_init15bpp

--------------------------------------------------------------------------—

Source
kernel.asm:3982

◆ putimage_init16bpp

label putimage_init16bpp

◆ putimage_init1bpp

label putimage_init1bpp

--------------------------------------------------------------------------—

Source
kernel.asm:3875

◆ putimage_init24bpp

label putimage_init24bpp

--------------------------------------------------------------------------—

Source
kernel.asm:3842

◆ putimage_init2bpp

label putimage_init2bpp

--------------------------------------------------------------------------—

Source
kernel.asm:3904

◆ putimage_init32bpp

label putimage_init32bpp

--------------------------------------------------------------------------—

Source
kernel.asm:3972

◆ putimage_init4bpp

label putimage_init4bpp

--------------------------------------------------------------------------—

Source
kernel.asm:3938

◆ putimage_init8bpp

label putimage_init8bpp

◆ putimage_init9bpp

label putimage_init9bpp

◆ r_f_port_area

label r_f_port_area

reserve/free group of ports eax = 46 - number function ebx = 0 - reserve, 1 - free ecx = number start arrea of ports edx = number end arrea of ports (include last number of port) Return value: eax = 0 - succesful eax = 1 - error The system has reserve this ports: 0..0x2d, 0x30..0x4d, 0x50..0xdf, 0xe5..0xff (include last number of port). destroys eax,ebx, ebp

Source
kernel.asm:3528

◆ redrawscreen

label redrawscreen

--------------------------------------------------------------------------—

Source
kernel.asm:3098

◆ register_ramdisk

label register_ramdisk

--------------------------------------------------------------------------— Register ramdisk file system

Source
kernel.asm:1131

◆ reserve_irqs_ports

label reserve_irqs_ports

◆ restore_default_cursor_before_killing

label restore_default_cursor_before_killing

---------------------------------------------------------------------------—

Source
kernel.asm:1930

◆ ret_rdtsc

label ret_rdtsc

◆ ricino

label ricino

-----------------------------------—

Source
kernel.asm:3297

◆ rpal1

label rpal1

◆ rpal2

label rpal2

◆ rpal3

label rpal3

◆ rpal4

label rpal4

◆ screen_workarea

RECT screen_workarea
Initial value
Source
kernel.asm:2463

◆ set_app_param

label set_app_param

--------------------------------------------------------------------------—

Source
kernel.asm:3377

◆ set_bgr_event

label set_bgr_event

-----------------------------------—

Source
kernel.asm:2974

◆ set_io_access_rights

label set_io_access_rights

in: eax = port ebp = subfunction 0 - set access 1 - clear access out: not return value

Source
kernel.asm:3489

◆ set_screen

label set_screen

---------------------------------------------------------------------------—

Source
kernel.asm:4666

◆ set_variables

label set_variables

◆ sheduler

label sheduler

◆ shutdown_processes

label shutdown_processes

◆ sm0

◆ sm10

label sm10

◆ smn1

label smn1

◆ smn2

label smn2

◆ sound_flag

db sound_flag
Initial value
0
Source
kernel.asm:2468

◆ srl1

label srl1

◆ su1

label su1

call setuart

Source
kernel.asm:1847

◆ su2

◆ su3

◆ sys_apm

label sys_apm

◆ sys_cachetodiskette

label sys_cachetodiskette

---------------------------------------------------------------------------—

Source
kernel.asm:2484

◆ sys_cpuusage

label sys_cpuusage

---------------------------------------------------------------------------—

Source
kernel.asm:2575

◆ sys_end

label sys_end

◆ sys_getbutton

label sys_getbutton

---------------------------------------------------------------------------—

Source
kernel.asm:2555

◆ sys_getkey

label sys_getkey

◆ sys_getsetup

label sys_getsetup

--------------------------------------------------------------------------—

Source
kernel.asm:1678

◆ sys_gs

label sys_gs

direct screen access

Source
kernel.asm:4412

◆ sys_midi

label sys_midi

◆ sys_msg_board

label sys_msg_board

◆ sys_msg_board_byte

label sys_msg_board_byte

◆ sys_msg_board_dword

label sys_msg_board_dword

◆ sys_msg_board_str

label sys_msg_board_str

◆ sys_msg_board_word

label sys_msg_board_word

◆ sys_newba

label sys_newba

◆ sys_newba2

label sys_newba2

◆ sys_process_def

label sys_process_def

--------------------------------------------------------------------------—

Source
kernel.asm:4267

◆ sys_putimage

label sys_putimage

◆ sys_putimage_bpp

label sys_putimage_bpp

-----------------------------------—

Source
kernel.asm:3697

◆ sys_putimage_palette

label sys_putimage_palette

@brief jmp [draw_pointer]

Source
kernel.asm:3704

◆ sys_redrawstat

label sys_redrawstat

redraw status

Source
kernel.asm:2689

◆ sys_setup

label sys_setup

--------------------------------------------------------------------------—

Source
kernel.asm:1573

◆ sys_sheduler

label sys_sheduler

◆ sys_system

label sys_system

---------------------------------------------------------------------------—

Source
kernel.asm:1990

◆ sys_system_table

label sys_system_table

◆ sys_wait_retrace

label sys_wait_retrace

wait retrace functions

Source
kernel.asm:2301

◆ syscall_cdaudio

label syscall_cdaudio

--------------------------------------------------------------------------—

Source
kernel.asm:4448

◆ syscall_getarea

label syscall_getarea

--------------------------------------------------------------------------—

Source
kernel.asm:4551

◆ syscall_getpixel

label syscall_getpixel

--------------------------------------------------------------------------— GetPixel

Source
kernel.asm:4538

◆ syscall_getpixel_WinMap

label syscall_getpixel_WinMap

--------------------------------------------------------------------------— GetPixel WinMap

Source
kernel.asm:4518

◆ syscall_getscreensize

label syscall_getscreensize

GetScreenSize.

Source
kernel.asm:4438

◆ syscall_putimage

label syscall_putimage

--------------------------------------------------------------------------— PutImage

Source
kernel.asm:3659

◆ syscall_threads

label syscall_threads

CreateThreads.

Source
kernel.asm:4624

◆ sysfn_activate

label sysfn_activate

---------------------------------------------------------------------------— 18.3 = ACTIVATE WINDOW

Source
kernel.asm:2124

◆ sysfn_centermouse

label sysfn_centermouse

---------------------------------------------------------------------------— 18.15 = mouse centered

Source
kernel.asm:2311

◆ sysfn_deactivate

label sysfn_deactivate

---------------------------------------------------------------------------— 18.1 = DEACTIVATE WINDOW

Source
kernel.asm:2103

◆ sysfn_getactive

label sysfn_getactive

@brief !!!!!!!!!!!!!!!!!!!!!!!!

18.7 = get active window

Source
kernel.asm:2244

◆ sysfn_getallmem

label sysfn_getallmem

---------------------------------------------------------------------------—

Source
kernel.asm:2382

◆ sysfn_getcpuclock

label sysfn_getcpuclock

---------------------------------------------------------------------------— 18.5 = GET TSC/SEC

Source
kernel.asm:2229

◆ sysfn_getdiskinfo

label sysfn_getdiskinfo

---------------------------------------------------------------------------— 18.11 = get disk info table

Source
kernel.asm:2271

◆ sysfn_getfreemem

label sysfn_getfreemem

---------------------------------------------------------------------------—

Source
kernel.asm:2376

◆ sysfn_getidletime

label sysfn_getidletime

---------------------------------------------------------------------------— 18.4 = GET IDLETIME

Source
kernel.asm:2223

◆ sysfn_getversion

label sysfn_getversion

---------------------------------------------------------------------------— 18.13 = get kernel ID and version

Source
kernel.asm:2285

◆ sysfn_min_rest_window

label sysfn_min_rest_window

---------------------------------------------------------------------------—

Source
kernel.asm:2394

◆ sysfn_min_windows

label sysfn_min_windows

---------------------------------------------------------------------------—

Source
kernel.asm:2425

◆ sysfn_minimize

label sysfn_minimize

---------------------------------------------------------------------------— 18.10 = minimize window

Source
kernel.asm:2265

◆ sysfn_mouse_acceleration

label sysfn_mouse_acceleration

---------------------------------------------------------------------------— 18.19 = set/get mouse features

Source
kernel.asm:2323

◆ sysfn_pid_to_slot

label sysfn_pid_to_slot

---------------------------------------------------------------------------—

Source
kernel.asm:2388

◆ sysfn_set_screen_sizes

label sysfn_set_screen_sizes

---------------------------------------------------------------------------—

Source
kernel.asm:2431

◆ sysfn_shutdown

label sysfn_shutdown

---------------------------------------------------------------------------— 18.9 = system shutdown

Source
kernel.asm:1998

◆ sysfn_sound_flag

label sysfn_sound_flag

---------------------------------------------------------------------------— 18.8 = get/set sound_flag

Source
kernel.asm:2250

◆ sysfn_terminate

label sysfn_terminate

---------------------------------------------------------------------------— 18.2 = TERMINATE

Source
kernel.asm:2024

◆ sysfn_terminate2

label sysfn_terminate2

---------------------------------------------------------------------------—

Source
kernel.asm:2083

◆ sysfn_waitretrace

label sysfn_waitretrace

---------------------------------------------------------------------------— 18.14 = sys wait retrace

Source
kernel.asm:2299

◆ sysfn_zmodif

label sysfn_zmodif

---------------------------------------------------------------------------—

Source
kernel.asm:2158

◆ tmp_page_tabs

dd tmp_page_tabs
Initial value
?
Source
kernel.asm:242

◆ undefined_syscall

label undefined_syscall

Undefined system call.

Source
kernel.asm:4790

◆ use_mwait_for_idle

db use_mwait_for_idle
Initial value
0
Source
kernel.asm:636

◆ version_end

label version_end

◆ version_inf

label version_inf

◆ WaitRetrace_loop

label WaitRetrace_loop

◆ window_minimize

db window_minimize
Initial value
0
Source
kernel.asm:2467

◆ zerodelay

label zerodelay

-----------------------------------—

Source
kernel.asm:3440