Skip to content

Commit

Permalink
Allow addresses to be specified for boot segments.
Browse files Browse the repository at this point in the history
  • Loading branch information
trhodeos committed Mar 27, 2018
1 parent 6be0a69 commit 29c658d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func convertWaveAst(s *WaveAst, segments map[string]*Segment) (*Wave, error) {

func (w *Wave) updateWithConstants() {
for _, seg := range w.ObjectSegments {
if seg.Flags.Boot {
if seg.Flags.Boot && seg.Positioning.Address == 0 {
seg.Positioning.Address = 0x80000450
}
}
Expand Down

0 comments on commit 29c658d

Please sign in to comment.