git-svn-id: https://spexeah.com:8443/svn/Asuro@7 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
kieron
2015-10-10 22:43:46 +00:00
parent 815d1b8199
commit 6208fac551
12 changed files with 7 additions and 49 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
-13
View File
@@ -1,16 +1,3 @@
{
/////////////////////////////////////////////////////////
// //
// Freepascal barebone OS //
// console.pas //
// //
/////////////////////////////////////////////////////////
//
// By: De Deyn Kim <[email protected]>
// License: Public domain
//
}
unit console;
interface
-13
View File
@@ -1,16 +1,3 @@
{
/////////////////////////////////////////////////////////
// //
// Freepascal barebone OS //
// kernel.pas //
// //
/////////////////////////////////////////////////////////
//
// By: De Deyn Kim <[email protected]>
// License: Public domain
//
}
unit kernel;
interface
+6 -11
View File
@@ -4,7 +4,6 @@ interface
const
KERNEL_STACKSIZE = $4000;
MULTIBOOT_BOOTLOADER_MAGIC = $2BADB002;
type
@@ -19,8 +18,8 @@ type
Pmultiboot_info_t = ^multiboot_info_t;
multiboot_info_t = packed record
flags: DWORD;
mem_lower: DWORD; { Amount of memory available below 1mb }
mem_upper: DWORD; { Amount of memory available above 1mb }
mem_lower: DWORD;
mem_upper: DWORD;
boot_device: DWORD;
cmdline: DWORD;
mods_count: DWORD;
@@ -41,15 +40,11 @@ type
Pmemory_map_t = ^memory_map_t;
memory_map_t = packed record
size: DWORD;
{ You can declare these two as a single qword if your compiler supports it }
base_addr_low: DWORD;
base_addr_high: DWORD;
{ And again, these can be made into one qword variable. }
length_low: DWORD;
length_high: DWORD;
mtype: DWORD;
base_addr : QWORD;
length : QWORD;
mtype: DWORD;
end;
implementation
end.
end.
+1 -12
View File
@@ -1,14 +1,3 @@
;/////////////////////////////////////////////////////////
;// //
;// Freepascal barebone OS //
;// stub.asm //
;// //
;/////////////////////////////////////////////////////////
;//
;// By: De Deyn Kim <[email protected]>
;// License: Public domain
;//
;
; Kernel stub
;
@@ -76,4 +65,4 @@ section .bss
;
align 32
KERNEL_STACK:
resb KERNEL_STACKSIZE
resb KERNEL_STACKSIZE