Small fix to display buffer and new rom addition.
This commit is contained in:
+3
-2
@@ -23,13 +23,14 @@ main :: proc() {
|
||||
system := chip.init()
|
||||
|
||||
// load rom, hardcoded for now, will eventually be cli or gui
|
||||
err := chip.load_rom(&system, "./2-ibm-logo.ch8")
|
||||
// err := chip.load_rom(&system, "./2-ibm-logo.ch8")
|
||||
err := chip.load_rom(&system, "./1-chip8-logo.ch8")
|
||||
if err != nil {
|
||||
panic("failed to load rom!")
|
||||
}
|
||||
|
||||
// start the cycle
|
||||
chip.init_display_and_cycle(&system)
|
||||
chip.run_system(&system)
|
||||
|
||||
when DEV {
|
||||
if len(track.allocation_map) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user