summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ReadMe.md14
-rw-r--r--public/tools/cc/.keep0
-rw-r--r--public/tools/cc/cc.json12
-rw-r--r--public/tools/cc/dist/.keep0
-rw-r--r--public/tools/cc/src/CommandLine.cc15
-rw-r--r--public/tools/ld/src/CommandLine.cc3
6 files changed, 35 insertions, 9 deletions
diff --git a/ReadMe.md b/ReadMe.md
index 4845133d..b2388634 100644
--- a/ReadMe.md
+++ b/ReadMe.md
@@ -1,14 +1,10 @@
<!-- Read Me of NeKernel -->
-# New Kernel Architecture OS (NeOS)
-
-## Brief:
-
-An OS written in C++ 20, with a System Call Interface Library, and a custom bootloader.
+# NeKernel Architecture
## Requirements:
-- MinGW/GCC.
+- MinGW/GCC, Clang.
- LibCompiler Runtime Headers and Toolchain.
- Netwide Assembler.
- Git.
@@ -21,9 +17,13 @@ Clone repository:
```sh
git clone git@github.com:devrije/kernel.git
cd kernel
-./debug_ata.sh # Generic ATA PIO target
+./debug_ahci.sh # Generic AHCI target
```
+## Good first PRs
+
+- Contribute to the AHCI generic driver (PRDs are not being read)
+
## Warning:
You have to mount the FAT32 image in order to put the src/Root/ contents in it! (To make the emulator boot NeOS)
diff --git a/public/tools/cc/.keep b/public/tools/cc/.keep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/public/tools/cc/.keep
diff --git a/public/tools/cc/cc.json b/public/tools/cc/cc.json
new file mode 100644
index 00000000..a81c1ed2
--- /dev/null
+++ b/public/tools/cc/cc.json
@@ -0,0 +1,12 @@
+{
+ "compiler_path": "g++",
+ "compiler_std": "c++23",
+ "headers_path": ["./"],
+ "sources_path": ["src/CommandLine.cc"],
+ "output_name": "./dist/cc",
+ "cpp_macros": [
+ "kCCVersion=0x0100",
+ "kCCVersionHighest=0x0100",
+ "kCCVersionLowest=0x0100"
+ ]
+}
diff --git a/public/tools/cc/dist/.keep b/public/tools/cc/dist/.keep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/public/tools/cc/dist/.keep
diff --git a/public/tools/cc/src/CommandLine.cc b/public/tools/cc/src/CommandLine.cc
new file mode 100644
index 00000000..3efa5301
--- /dev/null
+++ b/public/tools/cc/src/CommandLine.cc
@@ -0,0 +1,15 @@
+/*
+ * Created on Thu Oct 17 08:00:42 CEST 2024
+ *
+ * Copyright (c) 2024 Amlal EL Mahrouss
+ */
+
+#include <LibSCI/SCI.h>
+
+/// @brief This program loads a program for NeOS.
+
+SInt32 main(SInt32 argc, Char* argv[])
+{
+ ConOut(nullptr, "LD: OpenCC or GCC for Ne needs to be installed.\rLD: This program is present as a placeholder.");
+ return EXIT_FAILURE;
+}
diff --git a/public/tools/ld/src/CommandLine.cc b/public/tools/ld/src/CommandLine.cc
index 6f2fc4a8..3efa5301 100644
--- a/public/tools/ld/src/CommandLine.cc
+++ b/public/tools/ld/src/CommandLine.cc
@@ -10,7 +10,6 @@
SInt32 main(SInt32 argc, Char* argv[])
{
- ConOut(nullptr, "LD: Either OpenCC or Aker's CC needs to be installed.\rLD: This program is present as a placeholder.");
-
+ ConOut(nullptr, "LD: OpenCC or GCC for Ne needs to be installed.\rLD: This program is present as a placeholder.");
return EXIT_FAILURE;
}