12 lines
190 B
Go
12 lines
190 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("%d\n", cpu.GetGraphicsBuffer()[0])
|
||
|
}
|