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

12 lines
218 B
Go

package main
import (
"git.jacknet.io/S.D/Chip-8_Go/chip8"
"fmt"
)
func main() {
prog := make([]byte, 6)
cpu := chip8.NewCHIP8(prog)
fmt.Printf("This should print out zero: %d\n", cpu.GetGraphicsBuffer()[0])
}