Commit graph

62 commits

Author SHA1 Message Date
Fabien Freling 6eb0e61426 Add headers to CMakeLists 2019-07-13 17:15:21 +02:00
Fabien Freling fbf8956885 Remove doc warning 2019-07-13 17:15:21 +02:00
Fabien Freling 35ea1690fe Display maps from OCaml 2019-07-12 13:48:16 +02:00
Fabien Freling e6c8ffe793 Add loaded state 2019-06-07 14:25:34 +02:00
Fabien Freling e260011665 Print cartridge info when loaded 2019-06-07 14:25:10 +02:00
Fabien Freling f0cab3f1c6 Use Caml macros for variables 2019-06-06 14:39:11 +02:00
Fabien Freling d197159f5a Load cartridge 2019-06-06 14:27:43 +02:00
Fabien Freling 2f31756be8 Add FileDialog 2019-05-14 13:54:41 +02:00
Fabien Freling c4960d87f8 Prefix symbols with oboy_* 2019-05-14 13:54:17 +02:00
Fabien Freling b6632aa74b Capitalize project name in QML 2019-05-13 14:02:02 +02:00
Fabien Freling a17a03aaef Add state.ml 2019-05-12 11:56:31 +02:00
Fabien Freling a206b9d7ca Split oboy.ml 2019-05-12 11:22:51 +02:00
Fabien Freling fe2c5e8ba1 Add name + version in About view 2019-05-11 21:13:09 +02:00
Fabien Freling 95a1f784fc Add OBoy C++ class 2019-05-11 20:00:33 +02:00
Fabien Freling 761fc4aa90 Switch to CMake for Qt build 2019-05-11 19:46:47 +02:00
Fabien Freling dbc17bb003 Integrate OCaml in Qt project 2019-05-08 23:09:31 +02:00
Fabien Freling 3c0c2cff6f Reorganize src/ directory 2019-05-08 14:37:10 +02:00
Fabien Freling d3823b9455 Create src/lib 2018-12-28 17:20:48 +01:00
Fabien Freling 4cb229e472 Switch to Dune build system 2018-12-26 15:32:23 +01:00
Fabien Freling b4c81fa3f9 Add CPU.handle_interrupts 2016-03-01 23:15:56 +01:00
Fabien Freling c6106203eb Change of heart, begin is cool 2016-03-01 00:22:56 +01:00
Fabien Freling 77f7c7bef3 Replace begin .. end with ( .. ) 2016-02-29 23:58:29 +01:00
Fabien Freling 033f63ec42 Add interrupt handlers in cpu 2016-02-29 23:07:42 +01:00
Fabien Freling 4df4aea484 Add Interrupt module 2016-02-28 23:41:06 +01:00
Fabien Freling 27efc19125 Remove redundant inc_cycles()
inc_cycles() was called in every case of the
CPU pattern matching. Since we return the number
of cycles of each instructions, we can increment
only afterwards.
2016-02-17 23:14:33 +01:00
Fabien Freling 1b7c60e94d Add copyright banner 2016-02-02 21:25:53 +01:00
Fabien Freling 67093196ea Implement timers 2016-01-23 13:16:18 +01:00
Fabien Freling 013fd9abe4 Add fps to main loop 2015-08-17 22:26:11 +02:00
Fabien Freling fb5eeed6ba Add graphics window 2015-08-11 23:06:32 +02:00
Fabien Freling 54def17c26 Move signed_byte to Bit 2015-08-11 22:49:27 +02:00
Fabien Freling a2f5b2e08a Fix signed integer parsing 2015-08-10 01:35:47 +02:00
Fabien Freling eb98415994 Improve debug printing 2015-08-10 00:34:10 +02:00
Fabien Freling b52a070087 Add CPU instructions. 2015-06-15 00:52:50 +02:00
Fabien Freling 6599857947 Add print_cpu_state.
This function pretty prints the state of the CPU on stdout.
2015-05-20 16:38:39 +02:00
Fabien Freling c8b231d48a Add CPU instructions. 2015-05-20 16:37:56 +02:00
Fabien Freling 763c81a1e2 Add CPU instructions. 2015-05-08 14:48:44 +02:00
Fabien Freling 7805e50062 Add work RAM. 2015-05-08 14:47:30 +02:00
Fabien Freling 3c24ade366 Blit tiles to map. 2015-04-19 19:18:20 +02:00
Fabien Freling c464ca697a Add graphics window. 2015-04-19 19:18:03 +02:00
Fabien Freling 644a1356a8 Add LCD control structure.
Also add the Bin module to easily deal with binary.
2015-04-08 14:49:24 +02:00
Fabien Freling 52e5afa344 Add draft for Screen module. 2015-03-25 16:20:06 +01:00
Fabien Freling 5789fe145f Add Cpu.read_pc_byte 2015-03-25 16:19:54 +01:00
Fabien Freling 5d2d1ca2da Update README. 2015-03-24 11:27:25 +01:00
Fabien Freling b611dfdd49 Add more opcodes. 2015-03-23 22:38:11 +01:00
Fabien Freling b3ca33a814 Automatically increment PC register. 2015-03-23 17:34:22 +01:00
Fabien Freling f3916dfd64 Add flag register. 2015-03-23 12:50:02 +01:00
Fabien Freling e5bc9bc4db Use memory map instead of cartridge. 2015-03-22 16:57:03 +01:00
Fabien Freling 16d303008c Add memory module. 2015-03-22 13:56:32 +01:00
Fabien Freling 02e2ef3caf Add basic support for MBC. 2015-03-05 23:00:28 +01:00
Fabien Freling 0f83810230 Add CPU instructions. 2015-02-28 00:25:10 +01:00