summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>2024-04-04 16:56:17 +0200
committerAmlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>2024-04-04 16:56:17 +0200
commit0f9388e1c596c13ae3c317d81e7bcfe23626acc2 (patch)
treee9c6ab7d4d0242e44db81fb1f54b6915797bc83e
parent9dd72018c4d6a1b3bfeb29e89519bf8a494c7063 (diff)
Meta: Add rsrc files, moved Elf.h to StdKit.
Signed-off-by: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>
-rw-r--r--64asm.rsrc25
-rw-r--r--Headers/StdKit/ELF.hpp (renamed from Headers/Elf.h)0
-rw-r--r--Headers/Version.hxx3
-rw-r--r--ReadMe.md7
-rw-r--r--i64asm.rsrc25
-rw-r--r--link.rsrc25
-rw-r--r--makefile9
-rw-r--r--ppcasm.rsrc25
8 files changed, 112 insertions, 7 deletions
diff --git a/64asm.rsrc b/64asm.rsrc
new file mode 100644
index 0000000..95860af
--- /dev/null
+++ b/64asm.rsrc
@@ -0,0 +1,25 @@
+#include "Headers/Version.hxx"
+
+1 VERSIONINFO
+FILEVERSION 1,0,0,0
+PRODUCTVERSION 1,0,0,0
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "080904E4"
+ BEGIN
+ VALUE "CompanyName", "Mahrouss-Logic"
+ VALUE "FileDescription", "NewOS 64x000 assembler."
+ VALUE "FileVersion", DIST_VERSION
+ VALUE "InternalName", "NewAssembler"
+ VALUE "LegalCopyright", "Mahrouss-Logic"
+ VALUE "OriginalFilename", "64asm.exe"
+ VALUE "ProductName", "NewAssembler"
+ VALUE "ProductVersion", DIST_VERSION
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x809, 1252
+ END
+END \ No newline at end of file
diff --git a/Headers/Elf.h b/Headers/StdKit/ELF.hpp
index 32b9ada..32b9ada 100644
--- a/Headers/Elf.h
+++ b/Headers/StdKit/ELF.hpp
diff --git a/Headers/Version.hxx b/Headers/Version.hxx
new file mode 100644
index 0000000..3a32f47
--- /dev/null
+++ b/Headers/Version.hxx
@@ -0,0 +1,3 @@
+#pragma once
+
+#define DIST_VERSION "v1.00" \ No newline at end of file
diff --git a/ReadMe.md b/ReadMe.md
index 1496168..2dc803a 100644
--- a/ReadMe.md
+++ b/ReadMe.md
@@ -1,16 +1,15 @@
-# MPCC
-## MultiProcessor Compiler Collection.
+# CodeTools
Start by cloning the repo:
```
-git clone git@gitlab.com:Mahrouss-Logic/mp-cc.git
+git clone git@bitbucket.org:mahrouss/codetools.git
```
and
```
-make cl && make link && make pp
+make all
```
Author: Amlal El Mahrouss
diff --git a/i64asm.rsrc b/i64asm.rsrc
new file mode 100644
index 0000000..86ca5a8
--- /dev/null
+++ b/i64asm.rsrc
@@ -0,0 +1,25 @@
+#include "Headers/Version.hxx"
+
+1 VERSIONINFO
+FILEVERSION 1,0,0,0
+PRODUCTVERSION 1,0,0,0
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "080904E4"
+ BEGIN
+ VALUE "CompanyName", "Mahrouss-Logic"
+ VALUE "FileDescription", "NewOS AMD64 assembler."
+ VALUE "FileVersion", DIST_VERSION
+ VALUE "InternalName", "NewAssembler"
+ VALUE "LegalCopyright", "Mahrouss-Logic"
+ VALUE "OriginalFilename", "i64asm.exe"
+ VALUE "ProductName", "NewAssembler"
+ VALUE "ProductVersion", DIST_VERSION
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x809, 1252
+ END
+END \ No newline at end of file
diff --git a/link.rsrc b/link.rsrc
new file mode 100644
index 0000000..afa1f77
--- /dev/null
+++ b/link.rsrc
@@ -0,0 +1,25 @@
+#include "Headers/Version.hxx"
+
+1 VERSIONINFO
+FILEVERSION 1,0,0,0
+PRODUCTVERSION 1,0,0,0
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "080904E4"
+ BEGIN
+ VALUE "CompanyName", "Mahrouss-Logic"
+ VALUE "FileDescription", "NewOS linker."
+ VALUE "FileVersion", DIST_VERSION
+ VALUE "InternalName", "NewLinker"
+ VALUE "LegalCopyright", "Mahrouss-Logic"
+ VALUE "OriginalFilename", "link.exe"
+ VALUE "ProductName", "NewLinker"
+ VALUE "ProductVersion", DIST_VERSION
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x809, 1252
+ END
+END \ No newline at end of file
diff --git a/makefile b/makefile
index 7d2b887..7b087e8 100644
--- a/makefile
+++ b/makefile
@@ -48,13 +48,16 @@ pre-processor:
.PHONY: compiler
compiler:
+ windres i64asm.rsrc -O coff -o i64asm.obj
+ windres 64asm.rsrc -O coff -o 64asm.obj
$(LINK_CC) $(COMMON_INC) $(CC_SRC) -o $(CC_OUTPUT)
- $(LINK_CC) $(COMMON_INC) $(IASM_SRC) -o $(IASM_OUTPUT)
- $(LINK_CC) $(COMMON_INC) $(ASM_SRC) -o $(ASM_OUTPUT)
+ $(LINK_CC) $(COMMON_INC) i64asm.obj $(IASM_SRC) -o $(IASM_OUTPUT)
+ $(LINK_CC) $(COMMON_INC) 64asm.obj $(ASM_SRC) -o $(ASM_OUTPUT)
.PHONY: linker
linker:
- $(LINK_CC) $(COMMON_INC) $(LINK_SRC) -o $(LINK_OUTPUT)
+ windres link.rsrc -O coff -o link.obj
+ $(LINK_CC) $(COMMON_INC) link.obj $(LINK_SRC) -o $(LINK_OUTPUT)
cp $(LINK_OUTPUT) $(LINK_ALT_OUTPUT)
cp $(LINK_OUTPUT) $(LINK_ALT_2_OUTPUT)
cp $(LINK_OUTPUT) $(LINK_ALT_3_OUTPUT)
diff --git a/ppcasm.rsrc b/ppcasm.rsrc
new file mode 100644
index 0000000..fc2caeb
--- /dev/null
+++ b/ppcasm.rsrc
@@ -0,0 +1,25 @@
+#include "Headers/Version.hxx"
+
+1 VERSIONINFO
+FILEVERSION 1,0,0,0
+PRODUCTVERSION 1,0,0,0
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "080904E4"
+ BEGIN
+ VALUE "CompanyName", "Mahrouss-Logic"
+ VALUE "FileDescription", "NewOS PowerPC assembler."
+ VALUE "FileVersion", DIST_VERSION
+ VALUE "InternalName", "NewAssembler"
+ VALUE "LegalCopyright", "Mahrouss-Logic"
+ VALUE "OriginalFilename", "ppcasm.exe"
+ VALUE "ProductName", "NewAssembler"
+ VALUE "ProductVersion", DIST_VERSION
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x809, 1252
+ END
+END \ No newline at end of file