Changeset 30 for trunk/BOOTCODE/SPECIAL/LINUX.ASM
- Timestamp:
- May 6, 2011, 4:25:19 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BOOTCODE/SPECIAL/LINUX.ASM
r29 r30 40 40 ; some nice menus, setup, text, cyrillic support, demo-coder effects, easy 41 41 ; handling, help, auto-detection and plenty of other stuff INTO AROUND 25k. 42 ; 42 ; 43 43 ; Oh, why is this code here? Because of 2 friends of mine. Otherwise I wouldnt 44 44 ; have done it as well as fat16.asm. 45 46 IFDEF ModuleNames 47 DB 'LINUX',0 48 ENDIF 45 49 46 50 Linux_TranslateBase db '/dev/hd' … … 217 221 mov dx, ds:[si+LocIPT_LocationBegin] 218 222 ; from now on, we don't need si anymore 219 223 220 224 ; Linux has 1 'BR' (which is crap) and some setup sectors 221 225 ; we load them at 9000:0, what a luck, we are at 8000:0 :-)) … … 342 346 jz LLL_LoadNormalKernel 343 347 jmp LLL_LoadBigKernel 344 348 345 349 LLL_LoadNormalKernel: 346 350 ; NORMAL KERNEL … … 458 462 dw 0 459 463 dw 0FFFFh 460 MBR_Linux_GDT_Dst db 0, 0, 10h ; Dest is "10000:0" 464 MBR_Linux_GDT_Dst db 0, 0, 10h ; Dest is "10000:0" 461 465 db 093h 462 466 dw 0
Note:
See TracChangeset
for help on using the changeset viewer.