package main import ( "fmt" "jh/gomos/internal/bus" "jh/gomos/internal/cpu" ) func main() { fmt.Println("--- 6502 Simulator Starting ---") // Initialize the Bus b := bus.New() // Initialize CPU and "plug in" the Bus c := &cpu.CPU{Bus: b} c.Reset() // Run for 10 cycles to verify the "Fetch" works for range 10 { c.Step() } fmt.Println("--- Simulation Complete ---") }