Commit graph

38 commits

Author SHA1 Message Date
Colby
322cbffc3c more cleanup 2016-07-31 14:13:28 +10:00
Colby
d632b015c1 rename line gpu line methods 2016-07-31 13:54:59 +10:00
Colby
15005532e3 removing junk 2016-07-31 13:51:45 +10:00
Colby
5faa2f2a81 extraced GPU modes into methods 2016-07-31 13:32:42 +10:00
Colby
f962e68c73 add ppu spec, moved vblank into method and accessor mode + modeclock 2016-07-31 13:24:00 +10:00
Colby
d466c46056 rename gpu time to cycles 2016-07-31 13:16:34 +10:00
Colby
0e13707487 removed SCREEN_HEIGHT and WIDTH defintion from GPU 2016-07-31 13:13:45 +10:00
Colby
8b727f1bde fix incorrect framebuffer size 2016-07-31 13:12:13 +10:00
Colby
5a71e8de00 fix incorrect setting of GPU modeclock 2016-07-31 13:10:47 +10:00
Colby
f9be999699 LCD Stat interrupt 2016-07-26 22:38:36 +10:00
Colby
ba2d81a89b fix instruction timing 2016-07-26 20:19:26 +10:00
Colby
a10a2794d1 handle HALT instruction 2016-07-24 11:02:07 +10:00
Colby
faf994fb89 interrupt Vblank 2016-07-24 11:01:08 +10:00
Colby
db5044effa fixes for IME instructions and time 2016-07-23 23:09:31 +10:00
Colby
2a1f3a6e30 fix breaking DAA instruction 2016-07-23 14:57:41 +10:00
Colby
94984f5db4 fix incorrect interrupt time and serving the correct interrupt 2016-07-21 18:09:41 +10:00
Colby
f7887b745e rewrote ROM controller 2016-07-21 18:09:11 +10:00
Colby
c2357e31fd removed unused Interrupt.serve_interrupt 2016-07-21 18:08:48 +10:00
Colby
91f3a27fe2 move timer tick outside CPU non-halt loop, must always tick 2016-07-21 18:08:34 +10:00
Colby
e72058ec37 proper MBC1 implementation 2016-07-20 21:19:04 +10:00
Colby
346b4ae443 refactor memory mapping 2016-07-20 14:21:24 +10:00
Colby
a68e9339d8 update timer to pass specs 2016-07-19 00:08:46 +10:00
Colby
f5491fb543 fix bad spelling of request_interupt method in Interrupt 2016-07-19 00:08:37 +10:00
Colby
f5c9376663 fix bug inside mmu for div reset register 2016-07-18 21:07:18 +10:00
Colby
5e6aa1391c add dma transfer to mmu 2016-07-17 22:23:38 +10:00
Colby
7f3f8243de fix missing forwardable in cartrdige.rb 2016-07-17 22:06:31 +10:00
Colby
4fa99873e4 move loading cartridge from MMU initialize to attr_accessor 2016-07-17 22:06:15 +10:00
Colby
196235bce3 added timer 2016-07-17 22:05:51 +10:00
Colby
9654dd09c3 fixed spelling typo of cartridge in mmu 2016-07-05 19:06:04 +10:00
Colby
932159d05f some code cleanup and documentation 2016-07-05 19:03:49 +10:00
Colby
1aa1ccb556 fixed bug where skip_boot option was not being checkd correctly 2016-05-26 21:35:29 +10:00
Colby
a028d378b7 removed external rom from ROM MBC #initialize 2016-05-26 21:13:12 +10:00
Colby
f0e068e0c1 better variable + mehtod names in emulator 2016-05-26 21:10:58 +10:00
Colby
e316301bb7 fixed the rom filename not being passed correctly to the emulator 2016-05-26 21:09:35 +10:00
Colby
cfed45e7a1 fixed bug where cartridge was trying to read from nil object 2016-05-26 21:06:08 +10:00
Colby
9531b235c9 cartrdige documentation, added factory method for cartrdige type
Added factory method for cartrdige to assign the correct cartridge type to @mbc
2016-05-16 16:56:57 +10:00
Colby
8005c860fb added documentation of the bootrom 2016-05-16 11:02:08 +10:00
Colby
f6fcbba13e init commit 2016-05-08 17:20:05 +10:00