From e6351a008d4c8a1ac5d6d424c06df21e98e6036c Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 14 Mar 2007 01:00:54 +0000 Subject: Initial woking monitor -- still keyboard handling to do. --- source/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/main.c') 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; } -- cgit v1.2.3