en:docs:kernel:doskrnl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:kernel:doskrnl [2024/05/24 02:56] prokusheven:docs:kernel:doskrnl [2024/05/25 02:43] (current) prokushev
Line 7: Line 7:
 ===== Initialization ===== ===== Initialization =====
  
-DOSKRNL loaded at address differ from standard DOS 0060:0000 address, but at 0070:0000. osFree DOSKRNL expects unknown load address, but in low address of conventional memory. Refer [[https://archive.org/download/IBMOS2TechnicalDocumentation/KGUIDE20.PDF|OS/2 v 2.0 Kernel Design Guide]] for memory map and initialization information.+DOSKRNL loaded at address differ from standard DOS 0060:0000 address. On test environment it was loaded to 0280:00, but [[https://archive.org/download/IBMOS2TechnicalDocumentation/KGUIDE20.PDF|OS/2 v 2.0 Kernel Design Guide]] says it is at 0070:0000. Later documentation says nothing about loading address. osFree DOSKRNL expects unknown load address, but in low address of conventional memory. Refer [[https://archive.org/download/IBMOS2TechnicalDocumentation/KGUIDE20.PDF|OS/2 v 2.0 Kernel Design Guide]] for memory map and initialization information.
  
 On DOSKRNL startup registers are following: On DOSKRNL startup registers are following:
  
   * CS:IP - starting point   * CS:IP - starting point
-  * SS:BP - pointer to the DOSKRNL init structure (also refered as VDOS init in IBM documents)+  * SS:BP - pointer to the DOSKRNL init structure (also referenced as VDOS init in IBM documents)
   * SS:SP - stack pointer (size around 800 bytes)   * SS:SP - stack pointer (size around 800 bytes)
  
Line 42: Line 42:
 VDD is linked list of structures: VDD is linked list of structures:
  
-VDDs linked list in standard DOS Device drivers format. Entry can be placed in HMA, so need to be sure A20 enabled for such entries. Named ad DOSDDTYPE in DDK+VDDs linked list in standard DOS Device drivers format. Entry can be placed in HMA, so need to be sure A20 enabled for such entries. Named as DOSDDTYPE in DDK
  
 ^ offset ^ Size ^ Description ^ ^ offset ^ Size ^ Description ^
Line 82: Line 82:
   * DOS   * DOS
   * BREAK   * BREAK
 +  * FCBS
 +  * LASTDRIVE
  
 todo add more info here todo add more info here