Rev 1941 | Rev 2014 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1941 | Rev 1952 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | ;; KolibriOS 16-bit loader, ;; |
9 | ;; KolibriOS 16-bit loader, ;; |
10 | ;; based on bootcode for MenuetOS ;; |
10 | ;; based on bootcode for MenuetOS ;; |
11 | ;; ;; |
11 | ;; ;; |
12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 13... | Line 13... | ||
13 | 13 | ||
Line 14... | Line 14... | ||
14 | $Revision: 1941 $ |
14 | $Revision: 1952 $ |
15 | 15 | ||
16 | 16 | ||
Line 342... | Line 342... | ||
342 | ; GET MEMORY MAP |
342 | ; GET MEMORY MAP |
343 | include 'detect/biosmem.inc' |
343 | include 'detect/biosmem.inc' |
Line 344... | Line 344... | ||
344 | 344 | ||
Line -... | Line 345... | ||
- | 345 | ; READ DISKETTE TO MEMORY |
|
- | 346 | ||
345 | ; READ DISKETTE TO MEMORY |
347 | if 0 |
346 | 348 | ---- |
|
347 | cmp [boot_dev],0 |
349 | cmp [boot_dev],0 |
348 | jne no_sys_on_floppy |
350 | jne no_sys_on_floppy |
349 | xor ax, ax ; reset drive |
351 | xor ax, ax ; reset drive |
Line 646... | Line 648... | ||
646 | xor dx, dx |
648 | xor dx, dx |
647 | int 0x13 |
649 | int 0x13 |
648 | mov dx, 0x3f2 ; floppy motor off |
650 | mov dx, 0x3f2 ; floppy motor off |
649 | mov al, 0 |
651 | mov al, 0 |
650 | out dx, al |
652 | out dx, al |
- | 653 | --- |
|
- | 654 | end if |
|
Line 651... | Line 655... | ||
651 | 655 | ||
Line 652... | Line 656... | ||
652 | 656 |