diff options
| author | Duncan Smith | 2010-07-24 16:48:51 -0700 |
|---|---|---|
| committer | Duncan Smith | 2010-07-24 16:48:51 -0700 |
| commit | 53687e9aec854b649e457fc680af4b65f38a6c3d (patch) | |
| tree | ded6478c2e35b5d16aa9acfc8b1feb6be084e04e | |
| parent | 569f729ffd4bb44b194861d12285ee0de8e11dba (diff) | |
Created ROM packager utility stub
| -rw-r--r-- | Makefile | 8 | ||||
| -rw-r--r-- | packager.c | 20 |
2 files changed, 26 insertions, 2 deletions
@@ -1,7 +1,11 @@ ASM_FILES=alu.asm flags.asm opcodes.asm ports.asm interrupts.asm main.asm C_FILES=loader.c bankswap.c video.c -CFLAGS=-Wall +TIGCCFLAGS=-Wall +CFLAGS=-Wall -ltifiles z680.89k: $(ASM_FILES) $(C_FILES) - tigcc $(CFLAGS) $(ASM_FILES) $(C_FILES) -o z680.89z + tigcc $(TIGCCFLAGS) $(ASM_FILES) $(C_FILES) -o z680.89z + +packager: packager.c + gcc $(CFLAGS) packager.c -o packager diff --git a/packager.c b/packager.c new file mode 100644 index 0000000..cad8f7b --- /dev/null +++ b/packager.c @@ -0,0 +1,20 @@ +/* Copyright 2010, Duncan Smith + * GPL + * + * A Linux tool to turn a rom dump into an 89g file of rom segments. + */ + +#include <tilp/tifiles.h> +#include <tilp/macros.h> + + +int main(int argc, char **argv) +{ + Ti9xFlash content; + + tifiles_init(); + + + + return 0; +} |
