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 is_region_userspace (dword base, dword len)
 Check if given memory region lays in lower 2gb (userspace memory) or not. 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 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
 
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 sys_outport
 input eax=43,bl-byte of output, ecx - number of port More...
 
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
 
label sys_getsetup
 
label get_timer_ticks
 --------------------------------------------------------------------------— More...
 
label readmousepos
 --------------------------------------------------------------------------— 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
 
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
 
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
 18.7 = get active window More...
 
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_lastkey
 ---------------------------------------------------------------------------— 18.12 = return 0 (backward compatibility) 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
 
dd bgrlockpid
 
db bgrlock
 
label sys_background
 
label sbgrr
 
label nosb1
 
label nosb2
 
label draw_background_temp
 
label nosb31
 
label nosb3
 
label nosb41
 
label nosb4
 
label nosb5
 
label nosb6
 
label nosb7
 
label nosb8
 
label nosb9
 
dd BG_Rect_X_left_right
 
dd BG_Rect_Y_top_bottom
 
label force_redraw_background
 
label sys_getbackground
 
label nogb1
 
label nogb2
 
label nogb4
 
label sys_getkey
 
label sys_getbutton
 
label sys_cpuusage
 
label sys_clock
 
label sys_date
 
label sys_redrawstat
 
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
 
label nocpustart
 
label mouse_not_active
 
label backgr
 
label set_bgr_event
 
label nobackgr
 
label markz
 
label no_mark_system_shutdown
 
label noshutdown
 
label newct
 
label redrawscreen
 
label newdw2
 
label bgli
 
label newdw8
 
label nobgrd
 
label ricino
 
label not_this_task
 
label calculatebackground
 background More...
 
dd imax
 
label delay_ms
 delay in 1/1000 sec More...
 
label set_app_param
 
label delay_hs
 delay in 1/100 secs More...
 
label newtic
 
label zerodelay
 
label memmove
 memory move in bytes More...
 
label set_io_access_rights
 
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
 jb rpal4 jmp rpal1 More...
 
label rpal1
 
label rpal2
 
label new_port_access
 
label no_unmask_io
 pop ebp More...
 
label free_port_area
 
label frpal3
 
label frpal4
 
label frpal2
 
label frpal1
 
label new_port_access_disable
 
label no_mask_io
 
label drawbackground
 
label dbrv20
 
label bgrstr
 
label syscall_putimage
 PutImage. More...
 
label sys_putimage
 
label sys_putimage_bpp
 
label sys_putimage_palette
 
label put_mono_image
 
label put_2bit_image
 
label put_4bit_image
 
label putimage_init24bpp
 
label putimage_init8bpp
 
label putimage_init9bpp
 
label putimage_get24bpp
 
label putimage_get8bpp
 
label putimage_get9bpp
 
label putimage_init1bpp
 
label putimage_get1bpp
 
label putimage_init2bpp
 
label putimage_get2bpp
 
label putimage_init4bpp
 
label putimage_get4bpp
 
label putimage_init32bpp
 
label putimage_get32bpp
 
label putimage_init15bpp
 
label putimage_init16bpp
 
label putimage_get15bpp
 
label putimage_get16bpp
 
label kb_write_wait_ack
 
label setmouse
 set mousepicture -pointer 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
 
dd PID_lock_input
 
label f61call
 
label sys_gs
 direct screen access More...
 
label syscall_setpixel
 SetPixel. More...
 
label syscall_writetext
 WriteText. More...
 
label syscall_drawrect
 DrawRect. More...
 
label syscall_getscreensize
 GetScreenSize. More...
 
label syscall_cdaudio
 
label syscall_getpixel_WinMap
 GetPixel WinMap. More...
 
label syscall_getpixel
 GetPixel. More...
 
label syscall_getarea
 
label syscall_putarea_backgr
 
label syscall_drawline
 DrawLine. More...
 
label syscall_reserveportarea
 ReservePortArea and FreePortArea. More...
 
label syscall_threads
 CreateThreads. More...
 
label paleholder
 
label calculate_fast_getting_offset_for_WinMapAddress
 
label calculate_fast_getting_offset_for_LFB
 
label set_screen
 
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:4060

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

◆ osloop_has_work()

void osloop_has_work ( )

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

Source
kernel.asm:1221

◆ setup_os_slot()

void setup_os_slot ( )

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

Source
kernel.asm:1134

◆ wakeup_osloop()

void wakeup_osloop ( )

Variable Documentation

◆ __DEBUG__

fix __DEBUG__
Initial value
1
Source
kernel.asm:262

◆ __DEBUG_LEVEL__

fix __DEBUG_LEVEL__
Initial value
1
Source
kernel.asm:263

◆ _rdtsc

label _rdtsc

◆ _rev

dd _rev
Initial value
REV
Source
kernel.asm:2670

◆ ap_init16

label ap_init16

◆ ap_init_high

label ap_init_high

◆ ap_initialized

dd ap_initialized
Initial value
0
Source
kernel.asm:1083

◆ apm_entry

dp apm_entry
Initial value
0
Source
kernel.asm:5689

◆ apm_vf

dd apm_vf
Initial value
0
Source
kernel.asm:5690

◆ B32

label B32

◆ backgr

label backgr

◆ background_defined

db background_defined

diamond, 11.04.2006

Initial value
0
Source
kernel.asm:3548

◆ BG_Rect_X_left_right

dd BG_Rect_X_left_right
Initial value
0x0
Source
kernel.asm:3027

◆ BG_Rect_Y_top_bottom

dd BG_Rect_Y_top_bottom
Initial value
0x0
Source
kernel.asm:3028

◆ bgli

label bgli

◆ bgrlock

db bgrlock
Initial value
0
Source
kernel.asm:2691

◆ bgrlockpid

dd bgrlockpid
Initial value
0
Source
kernel.asm:2690

◆ bgrstr

label bgrstr

◆ bios32_entry

dd bios32_entry
Initial value
?
Source
kernel.asm:239

◆ 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

◆ calculate_fast_getting_offset_for_WinMapAddress

label calculate_fast_getting_offset_for_WinMapAddress

◆ calculatebackground

label calculatebackground

background

Source
kernel.asm:3983

◆ checkmisc

label checkmisc

◆ cont_displ

label cont_displ

◆ cont_displ2

label cont_displ2

◆ cpustring

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

◆ cr3_ap

dd cr3_ap
Initial value
?
Source
kernel.asm:257

◆ cr4_ap

dd cr4_ap
Initial value
?
Source
kernel.asm:258

◆ 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:4069
Source
kernel.asm:4096

◆ delay_ms

label delay_ms

delay in 1/1000 sec

Source
kernel.asm:3998

◆ detect_devices

label detect_devices

◆ display_height_standard

dd display_height_standard
Initial value
0
Source
kernel.asm:2655

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

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

◆ draw_background_temp

label draw_background_temp

◆ draw_num_text

label draw_num_text

◆ drawbackground

label drawbackground

◆ 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

◆ force_redraw_background

label force_redraw_background

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

◆ get_mpu_in

label get_mpu_in

◆ get_timer_ticks

label get_timer_ticks

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

Source
kernel.asm:1866

◆ high_code

label high_code

◆ idle_addr

rb idle_addr
Initial value
64
Source
kernel.asm:1255

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

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

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

◆ is_output

label is_output

◆ kb_write_wait_ack

label kb_write_wait_ack

◆ 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

◆ memmove

label memmove

memory move in bytes

Source
kernel.asm:4123

◆ midi_base

dw midi_base
Initial value
0
Source
kernel.asm:1623

◆ modify_pce

label modify_pce

◆ mouse_not_active

label mouse_not_active

◆ msg_board_count

dd msg_board_count
Initial value
?
Source
kernel.asm:4898

◆ msg_board_data

rb msg_board_data
Initial value
msg_board_data_size
Source
kernel.asm:4897

◆ msg_board_pos

dd msg_board_pos

for printing debug output on the screen

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

◆ new_port_access

label new_port_access

◆ new_port_access_disable

label new_port_access_disable

◆ newct

label newct

◆ newdw2

label newdw2

◆ newdw8

label newdw8

◆ newtic

label newtic

◆ 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

◆ no_pal_ega

label no_pal_ega

◆ no_pal_vga

label no_pal_vga

◆ no_unmask_io

label no_unmask_io

pop ebp

Source
kernel.asm:4298

◆ no_widgets_away

label no_widgets_away

◆ noatsc

label noatsc

◆ nobackgr

label nobackgr

◆ nobgrd

label nobgrd

◆ nocpustart

label nocpustart

◆ nogb1

label nogb1

◆ nogb2

label nogb2

◆ nogb4

label nogb4

◆ nogetsoundflag

label nogetsoundflag

◆ noprocessterminate

label noprocessterminate

◆ normalize_number

label normalize_number

◆ nosb1

label nosb1

◆ nosb2

label nosb2

◆ nosb3

label nosb3

◆ nosb31

label nosb31

◆ nosb4

label nosb4

◆ nosb41

label nosb41

◆ nosb5

label nosb5

◆ nosb6

label nosb6

◆ nosb7

label nosb7

◆ nosb8

label nosb8

◆ nosb9

label nosb9

◆ noshutdown

label noshutdown

◆ nosoundflag

label nosoundflag

◆ not_this_task

label not_this_task

◆ osloop

label osloop

◆ osloop_nonperiodic_work

dd osloop_nonperiodic_work
Initial value
?
Source
kernel.asm:1250

◆ paleholder

label paleholder

◆ PID_lock_input

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

◆ process_number

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

◆ ps2_keyboard_functions

label ps2_keyboard_functions

◆ put_2bit_image

label put_2bit_image

◆ put_4bit_image

label put_4bit_image

◆ put_mono_image

label put_mono_image

◆ put_mpu_out

label put_mpu_out

◆ putimage_get15bpp

label putimage_get15bpp

◆ putimage_get16bpp

label putimage_get16bpp

◆ putimage_get1bpp

label putimage_get1bpp

◆ putimage_get24bpp

label putimage_get24bpp

◆ putimage_get2bpp

label putimage_get2bpp

◆ putimage_get32bpp

label putimage_get32bpp

◆ putimage_get4bpp

label putimage_get4bpp

◆ putimage_get8bpp

label putimage_get8bpp

◆ putimage_get9bpp

label putimage_get9bpp

◆ putimage_init15bpp

label putimage_init15bpp

◆ putimage_init16bpp

label putimage_init16bpp

◆ putimage_init1bpp

label putimage_init1bpp

◆ putimage_init24bpp

label putimage_init24bpp

◆ putimage_init2bpp

label putimage_init2bpp

◆ putimage_init32bpp

label putimage_init32bpp

◆ putimage_init4bpp

label putimage_init4bpp

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

◆ readmousepos

label readmousepos

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

Source
kernel.asm:1870

◆ redrawscreen

label redrawscreen

◆ register_ramdisk

label register_ramdisk

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

Source
kernel.asm:1126

◆ reserve_irqs_ports

label reserve_irqs_ports

◆ restore_default_cursor_before_killing

label restore_default_cursor_before_killing

◆ ret_rdtsc

label ret_rdtsc

◆ ricino

label ricino

◆ rpal1

label rpal1

◆ rpal2

label rpal2

◆ rpal3

label rpal3

◆ rpal4

label rpal4

jb rpal4 jmp rpal1

Source
kernel.asm:4269

◆ sbgrr

label sbgrr

◆ screen_workarea

RECT screen_workarea
Initial value
Source
kernel.asm:2653

◆ set_app_param

label set_app_param

◆ set_bgr_event

label set_bgr_event

◆ set_io_access_rights

label set_io_access_rights

◆ set_screen

label set_screen

◆ set_variables

label set_variables

◆ setmouse

label setmouse

set mousepicture -pointer

Source
kernel.asm:4816

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

◆ srl1

label srl1

◆ su1

label su1

call setuart

Source
kernel.asm:2034

◆ su2

◆ su3

◆ sys_apm

label sys_apm

◆ sys_background

label sys_background

◆ sys_cachetodiskette

label sys_cachetodiskette

◆ sys_clock

label sys_clock

◆ sys_cpuusage

label sys_cpuusage

◆ sys_date

label sys_date

◆ sys_end

label sys_end

◆ sys_getbackground

label sys_getbackground

◆ sys_getbutton

label sys_getbutton

◆ sys_getkey

label sys_getkey

◆ sys_getsetup

label sys_getsetup

◆ sys_gs

label sys_gs

direct screen access

Source
kernel.asm:5161

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

label sys_outport

input eax=43,bl-byte of output, ecx - number of port

Source
kernel.asm:1360

◆ sys_process_def

label sys_process_def

◆ sys_putimage

label sys_putimage

◆ sys_putimage_bpp

label sys_putimage_bpp

◆ sys_putimage_palette

label sys_putimage_palette

◆ sys_redrawstat

label sys_redrawstat

◆ sys_setup

label sys_setup

◆ sys_sheduler

label sys_sheduler

◆ sys_system

label sys_system

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

Source
kernel.asm:2177

◆ sys_system_table

label sys_system_table

◆ sys_wait_retrace

label sys_wait_retrace

wait retrace functions

Source
kernel.asm:2491

◆ syscall_cdaudio

label syscall_cdaudio

◆ syscall_drawline

label syscall_drawline

DrawLine.

Source
kernel.asm:5543

◆ syscall_drawrect

label syscall_drawrect

DrawRect.

Source
kernel.asm:5240

◆ syscall_getarea

label syscall_getarea

◆ syscall_getpixel

label syscall_getpixel

GetPixel.

Source
kernel.asm:5368

◆ syscall_getpixel_WinMap

label syscall_getpixel_WinMap

GetPixel WinMap.

Source
kernel.asm:5348

◆ syscall_getscreensize

label syscall_getscreensize

GetScreenSize.

Source
kernel.asm:5268

◆ syscall_putarea_backgr

label syscall_putarea_backgr

◆ syscall_putimage

label syscall_putimage

PutImage.

Source
kernel.asm:4395

◆ syscall_reserveportarea

label syscall_reserveportarea

ReservePortArea and FreePortArea.

Source
kernel.asm:5568

◆ syscall_setpixel

label syscall_setpixel

SetPixel.

Source
kernel.asm:5188

◆ syscall_threads

label syscall_threads

CreateThreads.

Source
kernel.asm:5575

◆ syscall_writetext

label syscall_writetext

WriteText.

Source
kernel.asm:5206

◆ sysfn_activate

label sysfn_activate

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

Source
kernel.asm:2311

◆ sysfn_centermouse

label sysfn_centermouse

18.15 = mouse centered

Source
kernel.asm:2501

◆ sysfn_deactivate

label sysfn_deactivate

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

Source
kernel.asm:2290

◆ sysfn_getactive

label sysfn_getactive

18.7 = get active window

Source
kernel.asm:2430

◆ sysfn_getallmem

label sysfn_getallmem

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

Source
kernel.asm:2572

◆ sysfn_getcpuclock

label sysfn_getcpuclock

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

Source
kernel.asm:2415

◆ sysfn_getdiskinfo

label sysfn_getdiskinfo

18.11 = get disk info table

Source
kernel.asm:2457

◆ sysfn_getfreemem

label sysfn_getfreemem

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

Source
kernel.asm:2566

◆ sysfn_getidletime

label sysfn_getidletime

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

Source
kernel.asm:2410

◆ sysfn_getversion

label sysfn_getversion

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

Source
kernel.asm:2475

◆ sysfn_lastkey

label sysfn_lastkey

---------------------------------------------------------------------------— 18.12 = return 0 (backward compatibility)

Source
kernel.asm:2471

◆ sysfn_min_rest_window

label sysfn_min_rest_window

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

Source
kernel.asm:2584

◆ sysfn_min_windows

label sysfn_min_windows

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

Source
kernel.asm:2615

◆ sysfn_minimize

label sysfn_minimize

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

Source
kernel.asm:2451

◆ sysfn_mouse_acceleration

label sysfn_mouse_acceleration

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

Source
kernel.asm:2513

◆ sysfn_pid_to_slot

label sysfn_pid_to_slot

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

Source
kernel.asm:2578

◆ sysfn_set_screen_sizes

label sysfn_set_screen_sizes

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

Source
kernel.asm:2621

◆ sysfn_shutdown

label sysfn_shutdown

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

Source
kernel.asm:2185

◆ sysfn_sound_flag

label sysfn_sound_flag

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

Source
kernel.asm:2436

◆ sysfn_terminate

label sysfn_terminate

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

Source
kernel.asm:2211

◆ sysfn_terminate2

label sysfn_terminate2

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

Source
kernel.asm:2270

◆ sysfn_waitretrace

label sysfn_waitretrace

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

Source
kernel.asm:2489

◆ sysfn_zmodif

label sysfn_zmodif

◆ tmp_page_tabs

dd tmp_page_tabs
Initial value
?
Source
kernel.asm:240

◆ undefined_syscall

label undefined_syscall

Undefined system call.

Source
kernel.asm:5746

◆ use_mwait_for_idle

db use_mwait_for_idle
Initial value
0
Source
kernel.asm:635

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

◆ zerodelay

label zerodelay