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:26:53 +01:00
|
|
|
fmt.Printf("This should print out zero: %d\n", cpu.GetGraphicsBuffer()[0])
|
2020-10-11 19:18:08 +01:00
|
|
|
}
|