Commit Graph

3262 Commits

Author SHA1 Message Date
Jeffrey Pfau a8b473870d LR35902: Mostly fix DAA 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 6ab3bdcc46 LR35902: Fix C flag in SRA 2016-02-10 22:40:21 -08:00
Jeffrey Pfau d1763869c6 LR35902: Fix a bunch of flag updates 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 9de8576e71 GB Video: Draw top scanline 2016-02-10 22:40:21 -08:00
Jeffrey Pfau c0b965a41e LR35902: Fix a ton of Z flags 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 6c399882f9 LR35902: Implement DAA 2016-02-10 22:40:21 -08:00
Jeffrey Pfau f8469822d7 GB: Fix div timer 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 7685bc8b00 LR35902: Popping AF should clear unused F bits 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 9140018b85 GB IO: Speculative keypad fix 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 73e3532277 GB IO: Unused MMIO bits read high 2016-02-10 22:40:21 -08:00
Jeffrey Pfau e284a059a2 LR35902: Fix RES/SET/BIT HL 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 34b90477ce LR35902: Fix LD (HL) instructions 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 2322e942c4 LR35902: Implement LD (a16), SP and ADD SP, r8 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 781f3f76f1 GB: Fix some initializations 2016-02-10 22:40:21 -08:00
Jeffrey Pfau cbad932f45 LR35902: Implement LD SP, HL and LD HL, SP+r8 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 06e0908642 GB: Start on timers 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 4b51783589 GB: Fix IRQs firing infinitely 2016-02-10 22:40:21 -08:00
Jeffrey Pfau dfaa06d0d2 SDL: More refactoring 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 4e64b4fde4 LR35902: Implement RRCA and RRA 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 81cd68cbac GB IO: Implement key reading 2016-02-10 22:40:21 -08:00
Jeffrey Pfau d2f97a8edc LR35902: Fix IRQ raising 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 6f52a26668 LR35902: Implement bitwise instructions, RST 2016-02-10 22:40:21 -08:00
Jeffrey Pfau b7e80deda0 GB Video: Initial rendering work 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 5fb2cfde1d GB Memory: VRAM access 2016-02-10 22:40:21 -08:00
Jeffrey Pfau dabc92bf5f GB IO: Pass more video registers to the video renderer 2016-02-10 22:40:21 -08:00
Jeffrey Pfau e4a17e12f4 LR35902: Fix ADD HL instructions 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 3158db06c2 GB: Start work on video rendering 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 23ca81708d LR35902: Fix pack pop pragma 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 5a23814973 GB IO: Add missing function declaration 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 67050e44dd LR35902: Implement HALT, RETI and CPL 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 7a91b4a98a LR35902: Implement SCF and CCF 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 4271d89129 LR35902: Increment double-wide adds 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 7a104c07a7 LR35902: Implement remaining ALU instructions 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 76c41a62ba GB Video: Fix event timing on LCD enable 2016-02-10 22:40:21 -08:00
Jeffrey Pfau e019c54aad GB: Improve initialization 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 31b509e033 GB: Revamp STAT register 2016-02-10 22:40:21 -08:00
Jeffrey Pfau b711432a5e GB: Start MBCs 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 7c989fd818 LR35902: Implement more LD A memory instructions 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 9a4db4b03d GB: Fix ROM bank initialization 2016-02-10 22:40:21 -08:00
Jeffrey Pfau cbc54ca09a LR35902: Implement INC/DEC 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 3603958e02 LR35902: Implement POP/PUSH 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 5bce4480db LR35902: Improve stalling behavior 2016-02-10 22:40:21 -08:00
Jeffrey Pfau b104a5cd1c LR35902: Increment INC and DEC on double-wide registers 2016-02-10 22:40:21 -08:00
Jeffrey Pfau e96da4c7b9 LR35902: Simplify pipeline 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 0bfbc2079e LR35902: Implement more LD forms 2016-02-10 22:40:21 -08:00
Jeffrey Pfau c3abc16a94 GB: Fix writing IE 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 0d4bb5dc2b LR35902: Implement RET, add missing file 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 9170dd26da LR35902: Add CALL and more LD 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 8622ba7ed0 GB: Add basic I/O, interrupts and video 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 64676529ba LR35902, GB: Start work on GB core 2016-02-10 22:40:21 -08:00