Skip to navigation

Aviator on the BBC Micro

Workspaces: Stack variables

Name: Stack variables [Show more] Type: Workspace Address: &0100 to &0175 Category: Workspaces Summary: Variables that share page 1 with the stack
Context: See this workspace in context in the source code References: No direct references to this workspace in this source file
ORG &0100 .lineBufferU SKIP 96 \ Line buffer storage for the line's |y-delta| (U) \ \ Stores information about lines that are drawn \ on-screen, so they can be quickly erased without \ having to spend precious time recalculating the line \ coordinates. The information is stored when a line is \ drawn by the DrawClippedLine routine, and is read by \ the EraseCanopyLines routine when the line is erased \ \ We can buffer up to 96 lines, with 48 in each of the \ two line buffers, so the maximum number of lines on \ screen at any one time is 48 lines out of the 193 \ lines defined in the world \ \ [Show more]
\ \ This variable is used by the following: \ \ * DrawClippedLine (Part 6 of 6) \ * EraseCanopyLines \ \ This list only includes code that refers to the \ variable by name; there may be other references to \ this memory location that don't use this label, and \ these will not be mentioned above
ORG &0160 .mx1Lo SKIP 1 \ The value of mx1, used when constructing the rotation \ matrices (low byte) \ \ Stored as a 16-bit value (mx1Hi mx1Lo) \ \ [Show more]
\ \ This variable is used by the following: \ \ * ProjectAxisAngle \ * SetMatrices \ * SetMatrixEntry \ \ This list only includes code that refers to the \ variable by name; there may be other references to \ this memory location that don't use this label, and \ these will not be mentioned above
.my1Lo SKIP 1 \ The value of my1, used when constructing the rotation \ matrices (low byte) \ \ Stored as a 16-bit value (my1Hi my1Lo) \ \ [Show more]
\ \ This variable is used by the following: \ \ * SetMatrices \ \ This list only includes code that refers to the \ variable by name; there may be other references to \ this memory location that don't use this label, and \ these will not be mentioned above
.mz1Lo SKIP 1 \ The value of mz1, used when constructing the rotation \ matrices (low byte) \ \ Stored as a 16-bit value (mz1Hi mz1Lo) \ \ [Show more]
\ \ This variable is used by the following: \ \ * SetMatrices \ \ This list only includes code that refers to the \ variable by name; there may be other references to \ this memory location that don't use this label, and \ these will not be mentioned above
.mx2Lo SKIP 1 \ The value of mx2, used when constructing the rotation \ matrices (low byte) \ \ Stored as a 16-bit value (mx2Hi mx2Lo) \ \ [Show more]
\ \ This variable is used by the following: \ \ * ProjectAxisAngle \ * SetMatrices \ \ This list only includes code that refers to the \ variable by name; there may be other references to \ this memory location that don't use this label, and \ these will not be mentioned above
.my2Lo SKIP 1 \ The value of my2, used when constructing the rotation \ matrices (low byte) \ \ Stored as a 16-bit value (my2Hi my2Lo) \ \ [Show more]
\ \ This variable is used by the following: \ \ * SetMatrices \ \ This list only includes code that refers to the \ variable by name; there may be other references to \ this memory location that don't use this label, and \ these will not be mentioned above
.mz2Lo SKIP 1 \ The value of mz2, used when constructing the rotation \ matrices (low byte) \ \ Stored as a 16-bit value (mz2Hi mz2Lo) \ \ [Show more]
\ \ This variable is used by the following: \ \ * SetMatrices \ \ This list only includes code that refers to the \ variable by name; there may be other references to \ this memory location that don't use this label, and \ these will not be mentioned above
ORG &0170 .mx1Hi SKIP 1 \ The value of mx1, used when constructing the rotation \ matrices (high byte) \ \ Stored as a 16-bit value (mx1Hi mx1Lo) \ \ [Show more]
\ \ This variable is used by the following: \ \ * ProjectAxisAngle \ * SetMatrices \ * SetMatrixEntry \ \ This list only includes code that refers to the \ variable by name; there may be other references to \ this memory location that don't use this label, and \ these will not be mentioned above
.my1Hi SKIP 1 \ The value of my1, used when constructing the rotation \ matrices (high byte) \ \ Stored as a 16-bit value (my1Hi my1Lo) \ \ [Show more]
\ \ This variable is used by the following: \ \ * SetMatrices \ \ This list only includes code that refers to the \ variable by name; there may be other references to \ this memory location that don't use this label, and \ these will not be mentioned above
.mz1Hi SKIP 1 \ The value of mz1, used when constructing the rotation \ matrices (high byte) \ \ Stored as a 16-bit value (mz1Hi mz1Lo) \ \ [Show more]
\ \ This variable is used by the following: \ \ * SetMatrices \ \ This list only includes code that refers to the \ variable by name; there may be other references to \ this memory location that don't use this label, and \ these will not be mentioned above
.mx2Hi SKIP 1 \ The value of mx2, used when constructing the rotation \ matrices (high byte) \ \ Stored as a 16-bit value (mx2Hi mx2Lo) \ \ [Show more]
\ \ This variable is used by the following: \ \ * ProjectAxisAngle \ * SetMatrices \ \ This list only includes code that refers to the \ variable by name; there may be other references to \ this memory location that don't use this label, and \ these will not be mentioned above
.my2Hi SKIP 1 \ The value of my2, used when constructing the rotation \ matrices (high byte) \ \ Stored as a 16-bit value (my2Hi my2Lo) \ \ [Show more]
\ \ This variable is used by the following: \ \ * SetMatrices \ \ This list only includes code that refers to the \ variable by name; there may be other references to \ this memory location that don't use this label, and \ these will not be mentioned above
.mz2Hi SKIP 1 \ The value of mz2, used when constructing the rotation \ matrices (high byte) \ \ Stored as a 16-bit value (mz2Hi mz2Lo) \ \ [Show more]
\ \ This variable is used by the following: \ \ * SetMatrices \ \ This list only includes code that refers to the \ variable by name; there may be other references to \ this memory location that don't use this label, and \ these will not be mentioned above