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 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 reserve_irqs_ports
 
dd process_number
 
label set_variables
 
label display_number
 
label display_number_force
 
label normalize_number
 
label division_64_bits
 
label draw_num_text
 
label sys_setup
 --------------------------------------------------------------------------— More...
 
label sys_getsetup
 --------------------------------------------------------------------------— More...
 
label get_timer_ticks
 --------------------------------------------------------------------------— More...
 
label sys_end
 --------------------------------------------------------------------------— More...
 
label restore_default_cursor_before_killing
 ---------------------------------------------------------------------------— ecx - ptr WDATA More...
 
label sys_system_table
 
label sys_system
 ---------------------------------------------------------------------------— More...
 
label sysfn_shutdown
 ---------------------------------------------------------------------------— 18.9 = system shutdown More...
 
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 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 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 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 sys_cachetodiskette
 ---------------------------------------------------------------------------— More...
 
label sys_cpuusage
 ---------------------------------------------------------------------------— More...
 
label sys_redrawstat
 redraw status More...
 
label sheduler
 
label sys_sheduler
 
label cache_disable
 
label cache_enable
 
label is_cache_enabled
 
label modify_pce
 
db cpustring
 
db background_defined
 diamond, 11.04.2006 More...
 
label checkmisc
 --------------------------------------------------------------------------— 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
 --------------------------------------------------------------------------— eax - ptr to WDATA 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 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 drawbackground
 --------------------------------------------------------------------------— 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 _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 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
 
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:3116

◆ 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:4419

◆ 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:4442

◆ osloop_has_work()

void osloop_has_work ( )

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

Source
kernel.asm:1156

◆ setup_os_slot()

void setup_os_slot ( )

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

Source
kernel.asm:1068

◆ 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:3241

◆ wakeup_osloop()

void wakeup_osloop ( )

Variable Documentation

◆ __DEBUG__

fix __DEBUG__
Initial value
1
Source
kernel.asm:179

◆ __DEBUG_LEVEL__

fix __DEBUG_LEVEL__
Initial value
1
Source
kernel.asm:180

◆ _rdtsc

label _rdtsc

◆ _rev

dd _rev
Initial value
REV
Source
kernel.asm:2293

◆ 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:1017

◆ apm_entry

dp apm_entry
Initial value
0
Source
kernel.asm:4351

◆ apm_vf

dd apm_vf
Initial value
0
Source
kernel.asm:4352

◆ B32

label B32

◆ backgr

label backgr

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

Source
kernel.asm:2689

◆ background_defined

db background_defined

diamond, 11.04.2006

Initial value
0
Source
kernel.asm:2611

◆ bgli

label bgli

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

Source
kernel.asm:2899

◆ bios32_entry

dd bios32_entry
Initial value
?
Source
kernel.asm:156

◆ boot_log

label boot_log

◆ cache_disable

label cache_disable

◆ cache_enable

label cache_enable

◆ calculate_fast_getting_offset_for_LFB

label calculate_fast_getting_offset_for_LFB

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

Source
kernel.asm:4270

◆ calculate_fast_getting_offset_for_WinMapAddress

label calculate_fast_getting_offset_for_WinMapAddress

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

Source
kernel.asm:4256

◆ calculatebackground

label calculatebackground

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

Source
kernel.asm:3040

◆ checkmisc

label checkmisc

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

Source
kernel.asm:2615

◆ cpustring

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

◆ cr3_ap

dd cr3_ap
Initial value
?
Source
kernel.asm:174

◆ cr4_ap

dd cr4_ap
Initial value
?
Source
kernel.asm:175

◆ 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:50

◆ delay_hs

label delay_hs

delay in 1/100 secs

Source
kernel.asm:3125
Source
kernel.asm:3151

◆ delay_ms

label delay_ms

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

Source
kernel.asm:3055

◆ display_height_standard

dd display_height_standard
Initial value
0
Source
kernel.asm:2282

◆ 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:2281

◆ division_64_bits

label division_64_bits

◆ do_not_touch_winmap

db do_not_touch_winmap
Initial value
0
Source
kernel.asm:2283

◆ draw_num_text

label draw_num_text

◆ drawbackground

label drawbackground

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

Source
kernel.asm:3373

◆ f61call

label f61call

◆ first_app_found

label first_app_found

◆ gdts_ap

label gdts_ap

◆ get_cpu_freq

label get_cpu_freq

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

Source
kernel.asm:2052

◆ get_timer_ticks

label get_timer_ticks

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

Source
kernel.asm:1713

◆ high_code

label high_code

◆ idle_addr

rb idle_addr
Initial value
64
Source
kernel.asm:1190

◆ 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:1200

◆ idle_thread

label idle_thread

◆ imax

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

◆ is_cache_enabled

label is_cache_enabled

◆ is_kernel_thread

label is_kernel_thread

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

Source
kernel.asm:1841

◆ 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:52

◆ markz

label markz

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

Source
kernel.asm:2773

◆ memmove

label memmove

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

Source
kernel.asm:3178

◆ modify_pce

label modify_pce

◆ msg_board_count

dd msg_board_count
Initial value
?
Source
kernel.asm:3850

◆ msg_board_data

rb msg_board_data
Initial value
msg_board_data_size
Source
kernel.asm:3849

◆ msg_board_pos

dd msg_board_pos

for printing debug output on the screen

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

◆ newct

label newct

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

Source
kernel.asm:2807

◆ newdw2

label newdw2

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

Source
kernel.asm:2850

◆ newdw8

label newdw8

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

Source
kernel.asm:2964

◆ no_lib_load

label no_lib_load

◆ no_mark_system_shutdown

label no_mark_system_shutdown

◆ no_pal_ega

label no_pal_ega

◆ no_pal_vga

label no_pal_vga

◆ nobackgr

label nobackgr

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

Source
kernel.asm:2758

◆ nobgrd

label nobgrd

◆ normalize_number

label normalize_number

◆ noshutdown

label noshutdown

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

Source
kernel.asm:2801

◆ not_this_task

label not_this_task

◆ osloop

label osloop

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

Source
kernel.asm:1128

◆ osloop_nonperiodic_work

dd osloop_nonperiodic_work
Initial value
?
Source
kernel.asm:1185

◆ process_number

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

◆ ps2_keyboard_functions

label ps2_keyboard_functions

◆ put_2bit_image

label put_2bit_image

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

Source
kernel.asm:3560

◆ put_4bit_image

label put_4bit_image

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

Source
kernel.asm:3567

◆ put_mono_image

label put_mono_image

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

Source
kernel.asm:3553

◆ putimage_get15bpp

label putimage_get15bpp

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

Source
kernel.asm:3720

◆ putimage_get16bpp

label putimage_get16bpp

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

Source
kernel.asm:3739

◆ putimage_get1bpp

label putimage_get1bpp

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

Source
kernel.asm:3619

◆ putimage_get24bpp

label putimage_get24bpp

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

Source
kernel.asm:3581

◆ putimage_get2bpp

label putimage_get2bpp

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

Source
kernel.asm:3648

◆ putimage_get32bpp

label putimage_get32bpp

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

Source
kernel.asm:3709

◆ putimage_get4bpp

label putimage_get4bpp

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

Source
kernel.asm:3682

◆ putimage_get8bpp

label putimage_get8bpp

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

Source
kernel.asm:3589

◆ putimage_get9bpp

label putimage_get9bpp

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

Source
kernel.asm:3599

◆ putimage_init15bpp

label putimage_init15bpp

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

Source
kernel.asm:3714

◆ putimage_init16bpp

label putimage_init16bpp

◆ putimage_init1bpp

label putimage_init1bpp

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

Source
kernel.asm:3607

◆ putimage_init24bpp

label putimage_init24bpp

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

Source
kernel.asm:3574

◆ putimage_init2bpp

label putimage_init2bpp

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

Source
kernel.asm:3636

◆ putimage_init32bpp

label putimage_init32bpp

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

Source
kernel.asm:3704

◆ putimage_init4bpp

label putimage_init4bpp

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

Source
kernel.asm:3670

◆ 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:3258

◆ redrawscreen

label redrawscreen

--------------------------------------------------------------------------— eax - ptr to WDATA

Source
kernel.asm:2837

◆ register_ramdisk

label register_ramdisk

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

Source
kernel.asm:1060

◆ reserve_irqs_ports

label reserve_irqs_ports

◆ restore_default_cursor_before_killing

label restore_default_cursor_before_killing

---------------------------------------------------------------------------— ecx - ptr WDATA

Source
kernel.asm:1750

◆ ricino

label ricino

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

Source
kernel.asm:3028

◆ screen_workarea

RECT screen_workarea
Initial value
Source
kernel.asm:2280

◆ set_app_param

label set_app_param

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

Source
kernel.asm:3108

◆ set_bgr_event

label set_bgr_event

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

Source
kernel.asm:2710

◆ 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:3219

◆ set_screen

label set_screen

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

Source
kernel.asm:4284

◆ set_variables

label set_variables

◆ sheduler

label sheduler

◆ shutdown_processes

label shutdown_processes

◆ sound_flag

db sound_flag
Initial value
0
Source
kernel.asm:2285

◆ sys_apm

label sys_apm

◆ sys_cachetodiskette

label sys_cachetodiskette

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

Source
kernel.asm:2298

◆ sys_cpuusage

label sys_cpuusage

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

Source
kernel.asm:2311

◆ sys_end

label sys_end

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

Source
kernel.asm:1717

◆ sys_getsetup

label sys_getsetup

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

Source
kernel.asm:1599

◆ sys_gs

label sys_gs

direct screen access

Source
kernel.asm:3962

◆ 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_putimage

label sys_putimage

◆ sys_putimage_bpp

label sys_putimage_bpp

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

Source
kernel.asm:3426

◆ sys_putimage_palette

label sys_putimage_palette

@brief jmp [draw_pointer]

Source
kernel.asm:3433

◆ sys_redrawstat

label sys_redrawstat

redraw status

Source
kernel.asm:2431

◆ sys_setup

label sys_setup

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

Source
kernel.asm:1512

◆ sys_sheduler

label sys_sheduler

◆ sys_system

label sys_system

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

Source
kernel.asm:1812

◆ sys_system_table

label sys_system_table

◆ syscall_cdaudio

label syscall_cdaudio

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

Source
kernel.asm:3998

◆ syscall_getarea

label syscall_getarea

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

Source
kernel.asm:4099

◆ syscall_getpixel

label syscall_getpixel

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

Source
kernel.asm:4086

◆ syscall_getpixel_WinMap

label syscall_getpixel_WinMap

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

Source
kernel.asm:4068

◆ syscall_getscreensize

label syscall_getscreensize

GetScreenSize.

Source
kernel.asm:3988

◆ syscall_putimage

label syscall_putimage

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

Source
kernel.asm:3387

◆ syscall_threads

label syscall_threads

◆ sysfn_activate

label sysfn_activate

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

Source
kernel.asm:1942

◆ sysfn_centermouse

label sysfn_centermouse

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

Source
kernel.asm:2128

◆ sysfn_deactivate

label sysfn_deactivate

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

Source
kernel.asm:1921

◆ sysfn_getactive

label sysfn_getactive

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

18.7 = get active window

Source
kernel.asm:2062

◆ sysfn_getallmem

label sysfn_getallmem

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

Source
kernel.asm:2199

◆ sysfn_getcpuclock

label sysfn_getcpuclock

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

Source
kernel.asm:2047

◆ sysfn_getdiskinfo

label sysfn_getdiskinfo

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

Source
kernel.asm:2089

◆ sysfn_getfreemem

label sysfn_getfreemem

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

Source
kernel.asm:2193

◆ sysfn_getidletime

label sysfn_getidletime

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

Source
kernel.asm:2042

◆ sysfn_getversion

label sysfn_getversion

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

Source
kernel.asm:2103

◆ sysfn_min_rest_window

label sysfn_min_rest_window

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

Source
kernel.asm:2211

◆ sysfn_min_windows

label sysfn_min_windows

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

Source
kernel.asm:2242

◆ sysfn_minimize

label sysfn_minimize

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

Source
kernel.asm:2083

◆ sysfn_mouse_acceleration

label sysfn_mouse_acceleration

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

Source
kernel.asm:2140

◆ sysfn_pid_to_slot

label sysfn_pid_to_slot

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

Source
kernel.asm:2205

◆ sysfn_set_screen_sizes

label sysfn_set_screen_sizes

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

Source
kernel.asm:2248

◆ sysfn_shutdown

label sysfn_shutdown

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

Source
kernel.asm:1820

◆ sysfn_sound_flag

label sysfn_sound_flag

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

Source
kernel.asm:2068

◆ sysfn_terminate

label sysfn_terminate

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

Source
kernel.asm:1846

◆ sysfn_terminate2

label sysfn_terminate2

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

Source
kernel.asm:1903

◆ sysfn_waitretrace

label sysfn_waitretrace

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

Source
kernel.asm:2117

◆ sysfn_zmodif

label sysfn_zmodif

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

Source
kernel.asm:1976

◆ tmp_page_tabs

dd tmp_page_tabs
Initial value
?
Source
kernel.asm:157

◆ undefined_syscall

label undefined_syscall

Undefined system call.

Source
kernel.asm:4409

◆ use_mwait_for_idle

db use_mwait_for_idle
Initial value
0
Source
kernel.asm:561

◆ version_inf

label version_inf

◆ window_minimize

db window_minimize
Initial value
0
Source
kernel.asm:2284