Skip to navigation

Elite on the BBC Micro

Version analysis of PL21

This code appears in the following versions (click to see it in the source code):

Code variations between these versions are shown below.

Name: PL21 Type: Subroutine Category: Drawing planets

Code variation 1 of 2A variation in the comments only

Tap on a version to expand it, and tap it again to show to all variations.

Cassette, Flight, Docked, 6502SP, Master

Electron

Summary: Return from a planet/sun-drawing routine with a failure flag
Summary: Return from a planet-drawing routine with a failure flag

Code variation 2 of 2A variation in the comments only

Tap on a version to expand it, and tap it again to show to all variations.

Cassette, Flight, Docked, 6502SP, Master

Electron

Set the C flag and return from the subroutine. This is used to return from a planet- or sun-drawing routine with the C flag indicating an overflow in the calculation.
Set the C flag and return from the subroutine. This is used to return from a planet-drawing routine with the C flag indicating an overflow in the calculation.
.PL21 SEC \ Set the C flag to indicate an overflow RTS \ Return from the subroutine
RSS Feed