KolibriOS kernel
bootcode.inc File Reference

Macros

#define _setcursor(row, column)
 
#define _ask_question(question, range, variable_to_set)
 

Variables

label putchar
 
label print
 
label printplain
 
label getkey
 Use BIOS INT 16h to read a key from the keyboard. More...
 
label setcursor
 
label clear_status_field
 
label boot_read_floppy
 
label sayerr_badsect
 
label sayerr_plain
 
label conv_abs_to_THS
 convert abs. sector number (AX) to BIOS T:H:S sector number = (abs.sectorBPB_SecPerTrk)+1 pre.track number = (abs.sector/BPB_SecPerTrk) head number = pre.track numberBPB_NumHeads track number = pre.track number/BPB_NumHeads Return: cl - sector number ch - track number dl - drive number (0 = a:) dh - head number More...
 
dw BPB_SecPerTrk
 needed variables sectors per track More...
 
dw BPB_NumHeads
 number of heads More...
 
dw BPB_FATSz16
 size of FAT More...
 
dw BPB_RootEntCnt
 count of root dir. entries More...
 
dw BPB_BytsPerSec
 bytes per sector More...
 
dw BPB_RsvdSecCnt
 number of reserved sectors More...
 
dw BPB_TotSec16
 count of the sectors on the volume More...
 
db BPB_SecPerClus
 number of sectors per cluster More...
 
db BPB_NumFATs
 number of FAT tables More...
 
dw abs_sector_adj
 adjustment to make abs. sector number More...
 
dw end_of_FAT
 end of FAT table More...
 
dw FirstDataSector
 begin of data More...
 
label start_of_code
 
label no_hd_load
 
label dfl1
 
label sayerr
 
label cpugood
 
label apm_end
 
label acpi
 
label noloaderblock
 
label cfgmanager
 
dd _oldtimer
 
dd _starttime
 
db _bSettingsChanged
 
dd _timer
 
dd _loader_block
 
label sayerr_floppy
 
label sayerr_memmove
 
label ok_sys_on_floppy
 
label no_sys_on_floppy
 
label no_sys_from_primary
 
label setgr
 
label gmok2
 for writes to 0x03cf More...
 

Macro Definition Documentation

◆ _ask_question

#define _ask_question (   question,
  range,
  variable_to_set 
)

◆ _setcursor

#define _setcursor (   row,
  column 
)

Variable Documentation

◆ _bSettingsChanged

db _bSettingsChanged
Initial value
?
Source
boot/bootcode.inc:842

◆ _loader_block

dd _loader_block
Initial value
-1
Source
boot/bootcode.inc:847

◆ _oldtimer

dd _oldtimer
Initial value
?
Source
boot/bootcode.inc:839

◆ _starttime

dd _starttime
Initial value
?
Source
boot/bootcode.inc:840

◆ _timer

dd _timer
Initial value
?
Source
boot/bootcode.inc:844

◆ abs_sector_adj

dw abs_sector_adj

adjustment to make abs. sector number

Initial value
0
Source
boot/bootcode.inc:158

◆ acpi

◆ apm_end

◆ boot_read_floppy

label boot_read_floppy

◆ BPB_BytsPerSec

dw BPB_BytsPerSec

bytes per sector

Initial value
0
Source
boot/bootcode.inc:153

◆ BPB_FATSz16

dw BPB_FATSz16

size of FAT

Initial value
0
Source
boot/bootcode.inc:151

◆ BPB_NumFATs

db BPB_NumFATs

number of FAT tables

Initial value
0
Source
boot/bootcode.inc:157

◆ BPB_NumHeads

dw BPB_NumHeads

number of heads

Initial value
0
Source
boot/bootcode.inc:150

◆ BPB_RootEntCnt

dw BPB_RootEntCnt

count of root dir. entries

Initial value
0
Source
boot/bootcode.inc:152

◆ BPB_RsvdSecCnt

dw BPB_RsvdSecCnt

number of reserved sectors

Initial value
0
Source
boot/bootcode.inc:154

◆ BPB_SecPerClus

db BPB_SecPerClus

number of sectors per cluster

Initial value
0
Source
boot/bootcode.inc:156

◆ BPB_SecPerTrk

dw BPB_SecPerTrk

needed variables sectors per track

Initial value
0
Source
boot/bootcode.inc:149

◆ BPB_TotSec16

dw BPB_TotSec16

count of the sectors on the volume

Initial value
0
Source
boot/bootcode.inc:155

◆ cfgmanager

label cfgmanager

◆ clear_status_field

label clear_status_field

◆ conv_abs_to_THS

label conv_abs_to_THS

convert abs. sector number (AX) to BIOS T:H:S sector number = (abs.sectorBPB_SecPerTrk)+1 pre.track number = (abs.sector/BPB_SecPerTrk) head number = pre.track numberBPB_NumHeads track number = pre.track number/BPB_NumHeads Return: cl - sector number ch - track number dl - drive number (0 = a:) dh - head number

Source
boot/bootcode.inc:132

◆ cpugood

◆ dfl1

◆ end_of_FAT

dw end_of_FAT

end of FAT table

Initial value
0
Source
boot/bootcode.inc:159

◆ FirstDataSector

dw FirstDataSector

begin of data

Initial value
0
Source
boot/bootcode.inc:160

◆ getkey

label getkey

Use BIOS INT 16h to read a key from the keyboard.

Source
boot/bootcode.inc:48

◆ gmok2

label gmok2

for writes to 0x03cf

Source
boot/bootcode.inc:1444

◆ no_hd_load

label no_hd_load

◆ no_sys_from_primary

label no_sys_from_primary

◆ no_sys_on_floppy

label no_sys_on_floppy

◆ noloaderblock

label noloaderblock

◆ ok_sys_on_floppy

label ok_sys_on_floppy

◆ print

◆ printplain

label printplain

◆ putchar

label putchar

◆ sayerr

◆ sayerr_badsect

label sayerr_badsect

◆ sayerr_floppy

label sayerr_floppy

◆ sayerr_memmove

label sayerr_memmove

◆ sayerr_plain

label sayerr_plain

◆ setcursor

label setcursor

◆ setgr

◆ start_of_code

label start_of_code