From f2acc132f94780f32f1e2c52b28c0d00595a47ac Mon Sep 17 00:00:00 2001 From: Jeremiah Orians Date: Fri, 31 Aug 2018 18:52:18 -0400 Subject: [PATCH] Expand documentation and make cc_x86.s compatable with M2-Planet's --debug --- README | 41 ++++++++++++++++++++++++++++++++++++++++- stage2/cc_x86.s | 7 ------- test/SHA256SUMS | 2 +- 3 files changed, 41 insertions(+), 9 deletions(-) diff --git a/README b/README index 5a4e9a0..b06f763 100644 --- a/README +++ b/README @@ -136,7 +136,7 @@ one has created a rather flexiable and powerful Assembler capable of building far more ambitious pieces in "Macro Assembly" ** stage2 -The stage2 is dependent on the availabilty of text sources files and atleast a +The stage2 is dependent on the availabilty of text source files and atleast a functional macro assembler and can be used to build operating systems or other "Bootstrap" functionality that might be required to enable functional binaries; such as programs that set execute bits or generate dwarf stubs. @@ -172,3 +172,42 @@ be able to verify it did exactly what it was supposed to and see it self-host its C version. ** stage3 +The stage3 is dependent on the availabilty of text source files and atleast a +functional M2-Planet level C compiler, FORTH and a Minimal Garbage collecting +Lisp and can be used to build more advanced tools that can be used in +bootstrapping whole operating systems with modern tool stacks. + +*** inital_library +A library collection of very useful FORTH functionality designed to make the +lives of any FORTH programmer easier. + +It now sits waiting for any FORTH programmer who wishes to build upon it + +*** ascension +A library collection of useful Lisp functionality designed to make the lives +of any Lisp programmer easier. + +As it depends on archaic Lisp dialect; it will likely need to be replaced should +the Lisp be properly fixed. + +*** blood-elf_x86 +The x86 program for a dwarf stub generator used in mescc-tools bootstrapping +Specifically mescc-tools-seed generation, which can be used to build M2-Planet +and thus complete the circle + +*** get_machine_x86 +The trivial x86 program that allows one to skip tests or scripts that will not +run on that specific platform or run alternate commands depending upon the +architecture. + +*** hex2_linker_x86 +The program that allows one to build the hex2 programs for any hardware platform +on x86 and thus verify software builds for hardware one does not even have. + +*** M1-macro_x86 +The program that allows one to build the M1 program for any hardware platform +on x86 and thus verify software builds for hardware one does not even have. + +*** M2-Planet_x86 +The x86 port of the M2-Planet C compiler v1.0 used as one of the paths in +bootstrapping M2-Planet on x86 hardware. diff --git a/stage2/cc_x86.s b/stage2/cc_x86.s index aa5f18c..6a0d7e6 100644 --- a/stage2/cc_x86.s +++ b/stage2/cc_x86.s @@ -62,8 +62,6 @@ CALLI R15 @file_print ; Write string MOVE R0 R11 ; using Contents of strings_list CALLI R15 @recursive_output ; Recursively write - LOADUI R0 $header_string4 ; Using our fourth header string - CALLI R15 @file_print ; Write string HALT ; We have completed compiling our input ;; Symbol lists @@ -94,11 +92,6 @@ # Program strings " -:header_string4 - " -:ELF_end -" - ;; clearWhiteSpace function ;; Recieves a character in R0 and FILE* in R1 and line_num in R11 diff --git a/test/SHA256SUMS b/test/SHA256SUMS index 839dfe8..a9c0af7 100644 --- a/test/SHA256SUMS +++ b/test/SHA256SUMS @@ -1,5 +1,5 @@ 695698ebc7ed1d3acbcded1bd832a6b49b9a7c2a37c216a9fccdc0e89e976e99 roms/CAT -798c5d19b9824fe96d28a9b751070581342ebd3ae00625ee56c951fadfe889b1 roms/cc_x86 +6eaa17df90334f135521ec9c2fc0de6e203b3fa8fca87a74b46e9ffd3e0497ad roms/cc_x86 662b14485df5da61c3f5ad63151932985914b2fe074c21798e20ba2d83b45ecc roms/DEHEX f4bbf9e9c4828170d0c153ac265382dc705643f95efd2a029243326d426be5a4 roms/forth 2b80849180d5fb3757bcca2471b6337808e5b5ca80b18d93fa82ddef0435b84b roms/lisp