Commit graph

85 commits

Author SHA1 Message Date
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
c0780010a5 added serve interrupt spec 2016-07-23 20:58:36 +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
2bbfd679e2 rewote interrupt spec 2016-07-21 18:08:58 +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
b420384227 added specs for timer and mmu 2016-07-19 00:08:12 +10:00
Colby
7329ffa754 add DIV reset spec and DIV overflow reset spec 2016-07-18 21:08:20 +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 Swandale
9a1f2456ae added how to run the emulator in README
also fixed a few spelling issues.
2016-05-26 21:43:29 +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 Swandale
c4194ad39e Updated README.md
updated README with some basic documentation, testing and requirements
2016-05-08 17:41:44 +10:00
Colby
f6fcbba13e init commit 2016-05-08 17:20:05 +10:00