From b8b4e1c5a0c57fe275208e551b623e6fa9719e17 Mon Sep 17 00:00:00 2001 From: AntonioND Date: Thu, 3 Apr 2014 12:02:38 +0200 Subject: [PATCH] Cleanup. Cleanup. --- GiiBiiAdvance.ini | 2 +- TODO.md | 14 ++++---------- main.c | 2 +- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/GiiBiiAdvance.ini b/GiiBiiAdvance.ini index 5a9a898..06fa5d3 100644 --- a/GiiBiiAdvance.ini +++ b/GiiBiiAdvance.ini @@ -16,5 +16,5 @@ hardware_type=Auto serial_device=GBPrinter enable_blur=true real_colors=false -gb_palette=#B0FFB0 +gb_palette=#B0F8B0 diff --git a/TODO.md b/TODO.md index a3f16d5..0155f63 100644 --- a/TODO.md +++ b/TODO.md @@ -2,13 +2,10 @@ General ------- -- ARM undefined opcodes - Autosave. -- Update memory, I/O viewers...? with F7 +- Update memory, I/O viewers... with F7? - Save memory dumps, dissasembly... - Allow to execute one frame per press. -- Cross out unused palette colors in the palette viewer. -- Detect ROM (GB/GBA) checking the headers? - Custom controls. Game controllers. - Rumble in game controller. - Cross out things in debugger that can't be used (transparent palette colors, GBA sprites that are hiden?, ...) @@ -19,34 +16,31 @@ Game Boy - Measure delay between VBL and VBL IRQ. - Make that everything reads FFh except HRAM when DMG DMA is enabled. - Check GDMA/HDMA timings in real hardware. -- Fix reset in GBC mode. (?) - Memory after OAM is an OAM mirror? - What happens if [DMA] = FFh or any other invalid value? - Put wave RAM in the I/O viewer? -- Rumble. - GB Camera. - ATTRACTION MODE (SGB). Maybe it is the thing that the system borders can animate in a real SGB. (?) Game Boy Advance ---------------- +- ARM undefined opcodes - Sound glitches. (Buffer underflow or something?) - The NDS7 and GBA allow to access CP14 (unlike as for CP0..CP13 & CP15, access to CP14 doesn't generate any exceptions) - What happens with video modes 6 and 7? - Emulate weird things with invalid window coordinates. - Affine sprites/bgs(mode 7) + mosaic = bad - Emulate mosaic effect correctly. -- Fix sound. - Serial port. - RTC. I/O registers for external hardware. - The correct way of emulating is drawing a pixel every 4 clocks... But maybe it is too slow. -- Fix memory read (2 least significative bits) +- Fix memory read (2 least significative bits)? - Check ARM interpreter. -- Emulate pipeline to prevent programs from detecting they are running on an emulator. +- Emulate pipeline to prevent programs from detecting they are running on an emulator? - Fix CPU cycles. - Configuration -> Disable GBA layers? - THUMB LDMIA/STMIA: Strange Effects on Invalid Rlist's. Empty Rlist: R15 loaded/stored, and Rb=Rb+40h. Writeback with Rb included in Rlist: Store OLD base if Rb is FIRST entry in Rlist, otherwise store NEW base,no writeback. -- Finish I/O viewer. - Caution: A very large OBJ (of 128 pixels vertically, ie. a 64 pixels OBJ in a Double Size area) located at Y>128 will be treated as at Y>-128, the OBJ is then displayed parts offscreen at the TOP of the display, it is then NOT displayed at the bottom. - Video Capture Mode (DMA3 only): Intended to copy a bitmap from memory (or from external hardware/camera) to VRAM. When using this transfer mode, set the repeat bit, and write the number of data units (per scanline) to the word count register. Capture works similar like HBlank DMA, however, the transfer is started when VCOUNT=2, it is then repeated each scanline, and it gets stopped when VCOUNT=162. - Rumble. diff --git a/main.c b/main.c index ccc20ce..18caf44 100644 --- a/main.c +++ b/main.c @@ -101,7 +101,7 @@ int main( int argc, char * argv[] ) if(Input_Speedup_Enabled()) { - SDL_Delay(1); + SDL_Delay(0); } else {