package bus type MainBus struct { // add ram etc here } func New() *MainBus { return &MainBus{} } // Just a test read for now, need to figure wtf is happening... func (b *MainBus) Read(address uint16) uint8 { // Just testing with NOPs return 0xEA } func (b *MainBus) Write(address uint16, data uint8) { // Need to write data to the actual ram. }