Mercurial > repos > blastem
comparison gst.c @ 1103:22e87b739ad6
WIP split of ROM loading/argument parsing from Genesis emulation code. Compiles and doesn't crash, but nothing works. Still a few too many globals as well.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 09 Dec 2016 09:48:48 -0800 |
parents | 1a66d5165ea7 |
children | 2eb54e24914e |
comparison
equal
deleted
inserted
replaced
1102:c15896605bf2 | 1103:22e87b739ad6 |
---|---|
1 /* | 1 /* |
2 Copyright 2013 Michael Pavone | 2 Copyright 2013 Michael Pavone |
3 This file is part of BlastEm. | 3 This file is part of BlastEm. |
4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. | 4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. |
5 */ | 5 */ |
6 #include "genesis.h" | |
6 #include "gst.h" | 7 #include "gst.h" |
7 #include <string.h> | 8 #include <string.h> |
9 #include <stdio.h> | |
8 | 10 |
9 #define GST_68K_REGS 0x80 | 11 #define GST_68K_REGS 0x80 |
10 #define GST_68K_REG_SIZE (0xDA-GST_68K_REGS) | 12 #define GST_68K_REG_SIZE (0xDA-GST_68K_REGS) |
11 #define GST_68K_PC_OFFSET (0xC8-GST_68K_REGS) | 13 #define GST_68K_PC_OFFSET (0xC8-GST_68K_REGS) |
12 #define GST_68K_SR_OFFSET (0xD0-GST_68K_REGS) | 14 #define GST_68K_SR_OFFSET (0xD0-GST_68K_REGS) |