diff options
author | Ian C <ianc@noddybox.co.uk> | 2007-03-14 01:00:54 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2007-03-14 01:00:54 +0000 |
commit | e6351a008d4c8a1ac5d6d424c06df21e98e6036c (patch) | |
tree | 8636b9f23b7be1bea1fa299880d1ffe97109297b /source/main.c | |
parent | 7e2703a49de38100f9ee82042a744517fc7eb171 (diff) |
Initial woking monitor -- still keyboard handling to do.
Diffstat (limited to 'source/main.c')
-rw-r--r-- | source/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/main.c b/source/main.c index 33ca01e..5193967 100644 --- a/source/main.c +++ b/source/main.c @@ -309,7 +309,7 @@ int main(int argc, char *argv[]) videoSetModeSub(MODE_4_2D | DISPLAY_BG2_ACTIVE | DISPLAY_BG3_ACTIVE); vramSetBankC(VRAM_C_SUB_BG_0x06200000); - SUB_BG2_CR = BG_COLOR_256 | BG_RS_64x64 | BG_MAP_BASE(4) | + SUB_BG2_CR = BG_COLOR_256 | BG_RS_32x32 | BG_MAP_BASE(4) | BG_TILE_BASE(0) | BG_PRIORITY(0); SUB_BG2_XDX = 0x100; SUB_BG2_XDY = 0; @@ -333,7 +333,7 @@ int main(int argc, char *argv[]) /* Set up lower screen text overlay */ FB_LoadASCIITiles((uint16*)BG_TILE_RAM_SUB(0)); - TM_Init((uint16*)BG_MAP_RAM_SUB(4),64,64,TRUE); + TM_Init((uint16*)BG_MAP_RAM_SUB(4),32,32,TRUE); /* Set up interrupts and timers */ @@ -403,7 +403,7 @@ int main(int argc, char *argv[]) break; case MenuMonitor: - MachineCodeMonitor(); + MachineCodeMonitor(z80); break; } |