/** * init.c * * Start up and initialise the environement - just enough to get working and (ultimately) * hand off to the executive. * * * (c) 2017 Simon Brooke * Licensed under GPL version 2.0, or, at your option, any later version. */ #include #include "version.h" #include "conspage.h" #include "consspaceobject.h" #include "print.h" #include "read.h" int main (int argc, char *argv[]) { // printf( "Post scarcity software environment version %s\n", VERSION); initialise_cons_pages(); struct cons_pointer input = read( stdin); //inc_ref( input); //printf( "\n:: "); print( stdout, input); // dump_pages(stdout); // printf( "Tag2uint(\"FREE\") = %d\n", tag2uint("FREE")); return(0); }