Skip to navigation

Revs on the BBC Micro

Screen buffer: ldaDrawByte

Name: ldaDrawByte [Show more] Type: Variable Category: Screen buffer Summary: Low address bytes of the LDA #0 instructions in the DRAW_BYTE macros, for use when drawing track lines around the dashboard
Context: See this variable in context in the source code References: This variable is used as follows: * DrawTrackView (Part 2 of 4) calls ldaDrawByte * DrawTrackView (Part 3 of 4) calls ldaDrawByte
.ldaDrawByte IF _ACORNSOFT OR _4TRACKS EQUB &1C \ Line 0 is unused and contains workspace noise ELIF _SUPERIOR OR _REVSPLUS EQUB &28 \ Line 0 is unused and contains workspace noise ENDIF EQUB 8 * 17 + 5 \ Line 1 = LO(address) of LDA #0 in DRAW_BYTE 34 EQUB 7 * 17 + 5 \ Line 2 = LO(address) of LDA #0 in DRAW_BYTE 33 EQUB 7 * 17 + 5 \ Line 3 = LO(address) of LDA #0 in DRAW_BYTE 33 EQUB 7 * 17 + 5 \ Line 4 = LO(address) of LDA #0 in DRAW_BYTE 33 EQUB 7 * 17 + 5 \ Line 5 = LO(address) of LDA #0 in DRAW_BYTE 33 EQUB 7 * 17 + 5 \ Line 6 = LO(address) of LDA #0 in DRAW_BYTE 33 EQUB 6 * 17 + 5 \ Line 7 = LO(address) of LDA #0 in DRAW_BYTE 32 EQUB 6 * 17 + 5 \ Line 8 = LO(address) of LDA #0 in DRAW_BYTE 32 EQUB 6 * 17 + 5 \ Line 9 = LO(address) of LDA #0 in DRAW_BYTE 32 EQUB 6 * 17 + 5 \ Line 10 = LO(address) of LDA #0 in DRAW_BYTE 32 EQUB 6 * 17 + 5 \ Line 11 = LO(address) of LDA #0 in DRAW_BYTE 32 EQUB 5 * 17 + 5 \ Line 12 = LO(address) of LDA #0 in DRAW_BYTE 31 EQUB 5 * 17 + 5 \ Line 13 = LO(address) of LDA #0 in DRAW_BYTE 31 EQUB 5 * 17 + 5 \ Line 14 = LO(address) of LDA #0 in DRAW_BYTE 31 EQUB 5 * 17 + 5 \ Line 15 = LO(address) of LDA #0 in DRAW_BYTE 31 EQUB 4 * 17 + 5 \ Line 16 = LO(address) of LDA #0 in DRAW_BYTE 30 EQUB 4 * 17 + 5 \ Line 17 = LO(address) of LDA #0 in DRAW_BYTE 30 EQUB 4 * 17 + 5 \ Line 18 = LO(address) of LDA #0 in DRAW_BYTE 30 EQUB 4 * 17 + 5 \ Line 19 = LO(address) of LDA #0 in DRAW_BYTE 30 EQUB 3 * 17 + 5 \ Line 20 = LO(address) of LDA #0 in DRAW_BYTE 29 EQUB 3 * 17 + 5 \ Line 21 = LO(address) of LDA #0 in DRAW_BYTE 29 EQUB 3 * 17 + 5 \ Line 22 = LO(address) of LDA #0 in DRAW_BYTE 29 EQUB 3 * 17 + 5 \ Line 23 = LO(address) of LDA #0 in DRAW_BYTE 29 EQUB 2 * 17 + 5 \ Line 24 = LO(address) of LDA #0 in DRAW_BYTE 28 EQUB 2 * 17 + 5 \ Line 25 = LO(address) of LDA #0 in DRAW_BYTE 28 EQUB 2 * 17 + 5 \ Line 26 = LO(address) of LDA #0 in DRAW_BYTE 28 EQUB 2 * 17 + 5 \ Line 27 = LO(address) of LDA #0 in DRAW_BYTE 28 EQUB 1 * 17 + 5 \ Line 28 = LO(address) of LDA #0 in DRAW_BYTE 27 EQUB 1 * 17 + 5 \ Line 29 = LO(address) of LDA #0 in DRAW_BYTE 27 EQUB 1 * 17 + 5 \ Line 30 = LO(address) of LDA #0 in DRAW_BYTE 27 EQUB 1 * 17 + 5 \ Line 31 = LO(address) of LDA #0 in DRAW_BYTE 27 EQUB 1 * 17 + 5 \ Line 32 = LO(address) of LDA #0 in DRAW_BYTE 27 EQUB 1 * 17 + 5 \ Line 33 = LO(address) of LDA #0 in DRAW_BYTE 27 EQUB 1 * 17 + 5 \ Line 34 = LO(address) of LDA #0 in DRAW_BYTE 27 EQUB 1 * 17 + 5 \ Line 35 = LO(address) of LDA #0 in DRAW_BYTE 27 EQUB 1 * 17 + 5 \ Line 36 = LO(address) of LDA #0 in DRAW_BYTE 27 EQUB 1 * 17 + 5 \ Line 37 = LO(address) of LDA #0 in DRAW_BYTE 27 EQUB 1 * 17 + 5 \ Line 38 = LO(address) of LDA #0 in DRAW_BYTE 27 EQUB 0 * 17 + 5 \ Line 39 = LO(address) of LDA #0 in DRAW_BYTE 26 EQUB 0 * 17 + 5 \ Line 40 = LO(address) of LDA #0 in DRAW_BYTE 26 EQUB 0 * 17 + 5 \ Line 41 = LO(address) of LDA #0 in DRAW_BYTE 26 EQUB 0 * 17 + 5 \ Line 42 = LO(address) of LDA #0 in DRAW_BYTE 26 EQUB 0 * 17 + 5 \ Line 43 = LO(address) of LDA #0 in DRAW_BYTE 26