Skip to content

Commit

Permalink
supervisor flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jenska committed Oct 29, 2018
1 parent ade4fbb commit c0a648a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpu/m68k.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ type (

func NewCPU(addressBus AddressBus) M68K {
result := M68K{bus: addressBus}
addressBus.SetSuperVisorFlag(&result.SR.S)

result.instructions = make([]Instruction, 0x10000)
init68000InstructionSet(&result)

result.Reset()
return result
}
Expand Down

0 comments on commit c0a648a

Please sign in to comment.