Skip to navigation

Revs on the BBC Micro

Screen buffer: staDrawByte

Name: staDrawByte [Show more] Type: Variable Category: Screen buffer Summary: Low address bytes of the STA 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 staDrawByte * DrawTrackView (Part 3 of 4) calls staDrawByte
.staDrawByte EQUB 3 * 17 + 15 \ Line 0 = LO(address) of STA (P),Y in DRAW_BYTE 3 EQUB 5 * 17 + 15 \ Line 1 = LO(address) of STA (P),Y in DRAW_BYTE 5 EQUB 6 * 17 + 15 \ Line 2 = LO(address) of STA (P),Y in DRAW_BYTE 6 EQUB 6 * 17 + 15 \ Line 3 = LO(address) of STA (P),Y in DRAW_BYTE 6 EQUB 6 * 17 + 15 \ Line 4 = LO(address) of STA (P),Y in DRAW_BYTE 6 EQUB 6 * 17 + 15 \ Line 5 = LO(address) of STA (P),Y in DRAW_BYTE 6 EQUB 6 * 17 + 15 \ Line 6 = LO(address) of STA (P),Y in DRAW_BYTE 6 EQUB 7 * 17 + 15 \ Line 7 = LO(address) of STA (P),Y in DRAW_BYTE 7 EQUB 7 * 17 + 15 \ Line 8 = LO(address) of STA (P),Y in DRAW_BYTE 7 EQUB 7 * 17 + 15 \ Line 9 = LO(address) of STA (P),Y in DRAW_BYTE 7 EQUB 7 * 17 + 15 \ Line 10 = LO(address) of STA (P),Y in DRAW_BYTE 7 EQUB 7 * 17 + 15 \ Line 11 = LO(address) of STA (P),Y in DRAW_BYTE 7 EQUB 8 * 17 + 15 \ Line 12 = LO(address) of STA (P),Y in DRAW_BYTE 8 EQUB 8 * 17 + 15 \ Line 13 = LO(address) of STA (P),Y in DRAW_BYTE 8 EQUB 8 * 17 + 15 \ Line 14 = LO(address) of STA (P),Y in DRAW_BYTE 8 EQUB 8 * 17 + 15 \ Line 15 = LO(address) of STA (P),Y in DRAW_BYTE 8 EQUB 9 * 17 + 15 \ Line 16 = LO(address) of STA (P),Y in DRAW_BYTE 9 EQUB 9 * 17 + 15 \ Line 17 = LO(address) of STA (P),Y in DRAW_BYTE 9 EQUB 9 * 17 + 15 \ Line 18 = LO(address) of STA (P),Y in DRAW_BYTE 9 EQUB 9 * 17 + 15 \ Line 19 = LO(address) of STA (P),Y in DRAW_BYTE 9 EQUB 10 * 17 + 15 \ Line 20 = LO(address) of STA (P),Y in DRAW_BYTE 10 EQUB 10 * 17 + 15 \ Line 21 = LO(address) of STA (P),Y in DRAW_BYTE 10 EQUB 10 * 17 + 15 \ Line 22 = LO(address) of STA (P),Y in DRAW_BYTE 10 EQUB 10 * 17 + 15 \ Line 23 = LO(address) of STA (P),Y in DRAW_BYTE 10 EQUB 11 * 17 + 15 \ Line 24 = LO(address) of STA (P),Y in DRAW_BYTE 11 EQUB 11 * 17 + 15 \ Line 25 = LO(address) of STA (P),Y in DRAW_BYTE 11 EQUB 11 * 17 + 15 \ Line 26 = LO(address) of STA (P),Y in DRAW_BYTE 11 EQUB 11 * 17 + 15 \ Line 27 = LO(address) of STA (P),Y in DRAW_BYTE 11 EQUB 12 * 17 + 15 \ Line 28 = LO(address) of STA (P),Y in DRAW_BYTE 12 EQUB 12 * 17 + 15 \ Line 29 = LO(address) of STA (P),Y in DRAW_BYTE 12 EQUB 12 * 17 + 15 \ Line 30 = LO(address) of STA (P),Y in DRAW_BYTE 12 EQUB 12 * 17 + 15 \ Line 31 = LO(address) of STA (P),Y in DRAW_BYTE 12 EQUB 12 * 17 + 15 \ Line 32 = LO(address) of STA (P),Y in DRAW_BYTE 12 EQUB 12 * 17 + 15 \ Line 33 = LO(address) of STA (P),Y in DRAW_BYTE 12 EQUB 12 * 17 + 15 \ Line 34 = LO(address) of STA (P),Y in DRAW_BYTE 12 EQUB 12 * 17 + 15 \ Line 35 = LO(address) of STA (P),Y in DRAW_BYTE 12 EQUB 12 * 17 + 15 \ Line 36 = LO(address) of STA (P),Y in DRAW_BYTE 12 EQUB 12 * 17 + 15 \ Line 37 = LO(address) of STA (P),Y in DRAW_BYTE 12 EQUB 12 * 17 + 15 \ Line 38 = LO(address) of STA (P),Y in DRAW_BYTE 12 EQUB 13 * 17 + 15 \ Line 39 = LO(address) of STA (P),Y in DRAW_BYTE 13 EQUB 13 * 17 + 15 \ Line 40 = LO(address) of STA (P),Y in DRAW_BYTE 13 EQUB 13 * 17 + 15 \ Line 41 = LO(address) of STA (P),Y in DRAW_BYTE 13 EQUB 13 * 17 + 15 \ Line 42 = LO(address) of STA (P),Y in DRAW_BYTE 13 EQUB 13 * 17 + 15 \ Line 43 = LO(address) of STA (P),Y in DRAW_BYTE 13 EQUB &28, &28 \ These bytes appear to be unused EQUB &00, &00 EQUB &81, &81 EQUB &81, &81 EQUB &81, &81 EQUB &81, &81 EQUB &81, &81 EQUB &81, &81 EQUB &81, &81 EQUB &81, &81 EQUB &81, &81 EQUB &81, &81 EQUB &81, &81