Changeset 462 for Whitix/branches/hybrid
- Timestamp:
- 05/08/08 09:57:01 (4 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Whitix/branches/hybrid/arch/i386/boot/iso/isoboot.asm
r458 r462 337 337 call ReadInFile 338 338 339 ;Load Boot.modules. Load after KeLoader in memory.340 mov bx, MODULES_LIST341 mov di, bootModName342 call ReadInFile343 344 339 ;Kernel 345 340 mov ax, 0x1000 … … 347 342 xor bx, bx 348 343 mov di, kernName 349 call ReadInFile 350 351 ;Parse Boot.modules 344 call ReadInFile 352 345 353 346 ;setup.asm puts in the kernel data area … … 370 363 ReadInFile: 371 364 ;Scan directory sectors 372 push es373 push bx374 xor ecx,ecx365 push es 366 push bx 367 xor ecx,ecx 375 368 .scanLoop: 376 369 call DirScanSector … … 378 371 jnz .ok 379 372 inc ecx 380 cmp ecx, [dirLength]373 cmp ecx, [dirLength] 381 374 jnz .scanLoop 382 375 … … 389 382 pop bx 390 383 pop es 391 mov bp, [fileSectorLength]384 mov bp, [fileSectorLength] 392 385 call GetLbaSec 393 386 ret … … 520 513 kernName db "Kernel", 0 521 514 bootName db "Boot", 0 522 bootModName db "Boot.modules", 0523 515 524 516 dirStart dd 0
