video: first signs of life

The video code now writes out a bmp file per-frame. With this patch
applied, the Nintendo logo is rendered in each frame.

There is still plenty of work to be done. Pretty much everything is
hardcoded to make the bootrom work.
This commit is contained in:
2018-07-18 19:32:03 -07:00
parent cd66ad8a89
commit 53cd4ab7e5
7 changed files with 165 additions and 63 deletions

View File

@@ -88,7 +88,7 @@ static void init(void)
cpu_ops.undef_d3 = breakpoint_cb;
lr35902_init(&cpu, memory, &cpu_ops);
gb_video_init(&video);
gb_video_init(&video, memory);
gb_mem_init(memory, &video);
}