diff --git a/tools/retro-embedimage.c b/tools/retro-embedimage.c index c676d41..14d223d 100644 --- a/tools/retro-embedimage.c +++ b/tools/retro-embedimage.c @@ -1,9 +1,11 @@ -/* This loads an image file and generates a C formatted - output. It's used to create the `image.c` that gets - linked into `rre`. +/* RETRO ------------------------------------------------------ + A personal, minimalistic forth + Copyright (c) 2016 - 2019 Charles Childers - Copyright (c) 2016-2019 Charles Childers -*/ + This loads an image file and generates a C formatted output + suitable for being linked into the virtual machine. It's + used to create the `image.c` that gets linked into `retro`. + ---------------------------------------------------------- */ #include #include @@ -44,7 +46,10 @@ CELL ngaLoadImage(char *imageFile) { } void output_header(int size) { - printf("#include \n#ifndef CELL\n#define CELL int32_t\n#endif\n"); + printf("#include \n"); + printf("#ifndef CELL\n"); + printf("#define CELL int32_t\n"); + printf("#endif\n"); printf("CELL ngaImageCells = %lld;\n", (long long)size); printf("CELL ngaImage[] = { "); } diff --git a/tools/retro-muri.c b/tools/retro-muri.c index a336193..aed4ce5 100644 --- a/tools/retro-muri.c +++ b/tools/retro-muri.c @@ -1,12 +1,11 @@ -/* retro-muri.c - - Copyright (c) 2017-2020 Charles Childers - Copyright (c) 2019 Luke Parrish - - This is the standard assembler for Nga. It's primarily used - to build the RETRO kernel (rx.muri). -*/ +/* RETRO ------------------------------------------------------ + A personal, minimalistic forth + Copyright (c) 2017 - 2019 Charles Childers + Copyright (c) 2019 Luke Parrish + This is the standard assembler for Nga. It's primarily used + to build the RETRO kernel (rx.muri). + ---------------------------------------------------------- */ #include #include diff --git a/tools/retro-unu.c b/tools/retro-unu.c index b3bbadf..e4120d0 100644 --- a/tools/retro-unu.c +++ b/tools/retro-unu.c @@ -1,15 +1,14 @@ -/* retro-unu.c +/* RETRO ------------------------------------------------------ + A personal, minimalistic forth + Copyright (c) 2017 - 2020 Charles Childers - This is a tool to extract code blocks from a RETRO-flavored - Markdown source file. - - Code blocks start and end with ~~~ and test blocks start - and end with ```, though this does support setting them - from the command line. - - Copyright (c) 2017-2020 Charles Childers -*/ + This is retro-unu, a tool to extract code blocks from a + RETRO-flavored Markdown source file. + Code blocks start and end with ~~~ and test blocks start + and end with ```, though this does support setting them + from the command line. + ---------------------------------------------------------- */ #include #include