-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
796 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
;; File: mbr.inc | ||
|
||
|
||
struc Partition | ||
{ | ||
.status db ? | ||
.chs_start db 3 dup(?) | ||
.type db ? | ||
.chs_last db 3 dup(?) | ||
.lba dd ? | ||
.sectors dd ? | ||
} | ||
defn Partition | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,3 +50,4 @@ Section: UEFI (IA32) | |
> | BOOTIA32.EFI |----->| vmstupid.sys | | ||
> +--------------+ +--------------+ | ||
> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
bios_log_time: | ||
clc | ||
mov ah, 0x02 | ||
int 0x1A | ||
|
||
mov al, ch | ||
aam | ||
add ah, 0x30 | ||
add al, 0x30 | ||
mov [time + 1], ah | ||
mov [time + 2], al | ||
|
||
mov al, cl | ||
aam | ||
add ah, 0x30 | ||
add al, 0x30 | ||
mov [time + 4], ah | ||
mov [time + 5], al | ||
|
||
mov al, dh | ||
aam | ||
add ah, 0x30 | ||
add al, 0x30 | ||
mov [time + 7], ah | ||
mov [time + 8], al | ||
|
||
mov si, time | ||
call bios_print | ||
|
||
ret | ||
|
||
bios_log_hex: | ||
ret | ||
|
||
;; Function: bios_log | ||
;; | ||
;; Parameters: | ||
;; SI - string to print | ||
;; [STACK] - variadic arguments | ||
;; | ||
bios_log: | ||
push si | ||
call bios_log_time | ||
pop si | ||
|
||
call bios_print | ||
|
||
|
||
mov si, endline | ||
call bios_print | ||
ret | ||
|
||
time db '[00:00.00] ', 0 | ||
endline db CR, LF, 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
# define ECHFS_H 1 | ||
|
||
typedef struct { | ||
uint8_t jmp[4]; | ||
uint8_t signature[8]; | ||
|
||
} EchFSIdentityTable; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
free_block_head dd 0x0 | ||
|
||
mm_init: | ||
|
||
ret | ||
ret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
SUBDIRS = csu crypto lzp | ||
SUBDIRS = csu crypto lzp c | ||
|
||
TOPGOALS = all clean install | ||
|
||
|
Oops, something went wrong.