aboutsummaryrefslogtreecommitdiff
path: root/src/gbout.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2016-04-17 22:47:10 +0100
committerIan C <ianc@noddybox.co.uk>2016-04-17 22:47:10 +0100
commita8131ea5ed00c11517c2cb605834eb103ecac250 (patch)
treead172298ea5d68e708eb232b07cea456ee413c86 /src/gbout.c
parent24ebb224a11d31bfe039352fd29d2b89368583ac (diff)
Various fixes
* Added VCS example, which highlighted some bug in the zero page detection. * 6502 fixes for the above. Still a problem with code generation. * Updates to Gameboy code (example still not working in emulator). * Fixed listing not being generated when enabled.
Diffstat (limited to 'src/gbout.c')
-rw-r--r--src/gbout.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gbout.c b/src/gbout.c
index 8fa3e7a..9b73655 100644
--- a/src/gbout.c
+++ b/src/gbout.c
@@ -261,6 +261,13 @@ int GBOutput(const char *filename, const char *filename_bank,
mem = bank[0]->memory;
+ /* Create the log
+ */
+ for(f = 0; logo[f] != -1; f++)
+ {
+ PokeB(mem, 0x104 + f, logo[f]);
+ }
+
/* Create the RST handlers
*/
for(f = 0; f < 8; f++)