Chip-8_Go/cmd/test_prog/main.go

12 lines
219 B
Go
Raw Normal View History

2020-10-11 19:18:08 +01:00
package main
import (
"git.jacknet.io/S.D/Chip-8_Go/chip8"
"fmt"
)
func main() {
prog := make([]byte, 6)
cpu := chip8.NewCHIP8(prog)
2020-10-11 19:30:38 +01:00
fmt.Printf("This should print out zero: %d!\n", cpu.GetGraphicsBuffer()[0])
2020-10-11 19:18:08 +01:00
}