diff options
Diffstat (limited to 'dev/HPFS')
| -rw-r--r-- | dev/HPFS/Defines.hxx | 15 | ||||
| -rw-r--r-- | dev/HPFS/Sources/IFSMain.cxx | 14 | ||||
| -rw-r--r-- | dev/HPFS/Sources/IFSMain.rs | 12 | ||||
| -rw-r--r-- | dev/HPFS/Sources/compile_flags.txt | 1 | ||||
| -rw-r--r-- | dev/HPFS/hpfs.json | 30 |
5 files changed, 50 insertions, 22 deletions
diff --git a/dev/HPFS/Defines.hxx b/dev/HPFS/Defines.hxx new file mode 100644 index 00000000..8d0536a0 --- /dev/null +++ b/dev/HPFS/Defines.hxx @@ -0,0 +1,15 @@ +/* ------------------------------------------- + + Copyright ZKA Technologies. + + FILE: Defines.hxx + PURPOSE: HPFS IFS defines. + +------------------------------------------- */ + +#pragma once + +typedef __INT32_TYPE__ HPFS_INT32; +typedef void HPFS_VOID; + +#define cHPFSVersion 0x0100 diff --git a/dev/HPFS/Sources/IFSMain.cxx b/dev/HPFS/Sources/IFSMain.cxx new file mode 100644 index 00000000..229efb15 --- /dev/null +++ b/dev/HPFS/Sources/IFSMain.cxx @@ -0,0 +1,14 @@ +/* ------------------------------------------- + + Copyright ZKA Technologies. + + FILE: IFSMain.cxx + PURPOSE: HPFS IFS entrypoint. + +------------------------------------------- */ + +#include <HPFS/Defines.hxx> + +HPFS_INT32 IFSStart(HPFS_VOID) { + return 0; +} diff --git a/dev/HPFS/Sources/IFSMain.rs b/dev/HPFS/Sources/IFSMain.rs deleted file mode 100644 index 5a49585a..00000000 --- a/dev/HPFS/Sources/IFSMain.rs +++ /dev/null @@ -1,12 +0,0 @@ -/* ------------------------------------------- - - Copyright ZKA Technologies. - - FILE: IFSMain.rs - PURPOSE: HPFS IFS. - -------------------------------------------- */ - -fn IFSStart() { - -}
\ No newline at end of file diff --git a/dev/HPFS/Sources/compile_flags.txt b/dev/HPFS/Sources/compile_flags.txt new file mode 100644 index 00000000..7c66a118 --- /dev/null +++ b/dev/HPFS/Sources/compile_flags.txt @@ -0,0 +1 @@ +-I../../ diff --git a/dev/HPFS/hpfs.json b/dev/HPFS/hpfs.json index 3a13297b..a7ba778e 100644 --- a/dev/HPFS/hpfs.json +++ b/dev/HPFS/hpfs.json @@ -1,11 +1,21 @@ { - "compiler_path": "rustc", - "compiler_std": "", - "sources_path": ["Sources/*.rs"], - "output_name": "hpfs.sys", - "compiler_flags": [ - ], - "cpp_macros": [ - ] - } -
\ No newline at end of file + "compiler_path": "x86_64-w64-mingw32-g++", + "compiler_std": "c++20", + "headers_path": ["../"], + "sources_path": ["Sources/*.cxx"], + "output_name": "hpfs.sys", + "compiler_flags": [ + "-fPIC", + "-ffreestanding", + "-shared", + "-fno-rtti", + "-fno-exceptions", + "-Wl,--subsystem=17" + ], + "cpp_macros": [ + "__HPFS_IMPL__", + "cHPFSVersion=0x0100", + "cHPFSVersionHighest=0x0100", + "cHPFSVersionLowest=0x0100" + ] +} |
