diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-19 05:27:45 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-19 05:27:45 +0100 |
| commit | 74ec6b99f60c48ece7cd03a9ef77178145774c24 (patch) | |
| tree | d4ff2232fe04cb4698dfec7d944acd9a5d685270 | |
| parent | 000c92f292800efb6b88ac12af1680ec29ba61c9 (diff) | |
ADD: A new placeholder program, 'cc'
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
| -rw-r--r-- | ReadMe.md | 14 | ||||
| -rw-r--r-- | public/tools/cc/.keep | 0 | ||||
| -rw-r--r-- | public/tools/cc/cc.json | 12 | ||||
| -rw-r--r-- | public/tools/cc/dist/.keep | 0 | ||||
| -rw-r--r-- | public/tools/cc/src/CommandLine.cc | 15 | ||||
| -rw-r--r-- | public/tools/ld/src/CommandLine.cc | 3 |
6 files changed, 35 insertions, 9 deletions
@@ -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; } |
