mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-24 07:36:48 +03:00
8f992ed021
git-svn-id: svn://kolibrios.org@1635 a494cfbc-eb01-0410-851d-a64ba20cac60
49 lines
1006 B
Plaintext
49 lines
1006 B
Plaintext
include "mkfloppy.inc"
|
|
;// insert boot sect
|
|
file "fat1x/bootsect.bin", 512
|
|
|
|
; fat1
|
|
db 0F0h, 0FFh, 0FFh, 9*512-3 dup 0
|
|
; fat2
|
|
db 0F0h, 0FFh, 0FFh, 9*512-3 dup 0
|
|
|
|
; root
|
|
dent kordldr, "KORDLDR F1X", FA_ARC
|
|
dent kord, "KORD ",FA_DIR
|
|
dent kolibri, "KOLIBRI ",FA_DIR
|
|
; ...
|
|
|
|
rb 33*512-$
|
|
;///////////////////////////
|
|
defdir kord
|
|
{
|
|
dent loader, "LOADER ", FA_ARC
|
|
dent ini,"STARTOS INI", FA_ARC
|
|
}
|
|
|
|
defdir kolibri
|
|
{
|
|
dent kolibri_ldm, "KOLIBRI LDM", FA_ARC
|
|
}
|
|
|
|
|
|
; data
|
|
stof kordldr, "fat1x/kordldr.f1x"
|
|
stod kord,root
|
|
|
|
stof loader, "../loader"
|
|
stof ini,"../startos.ini"
|
|
|
|
store dword ini_base/512+1 at ini_base+1F8h
|
|
store word (ini_size+511)/512-1 at ini_base+1FCh
|
|
store word 220h at ini_base+1FEh
|
|
|
|
stod kolibri,root
|
|
stof kolibri_ldm, "../kolibri_ldm/bin/kolibri.ldm"
|
|
store dword kolibri_ldm_base/512+1 at kolibri_ldm_base+1F8h
|
|
store word (kolibri_ldm_size+511)/512-1 at kolibri_ldm_base+1FCh
|
|
store word 220h at kolibri_ldm_base+1FEh
|
|
|
|
|
|
; ...
|
|
rb 2*80*18*512-$ |