Skip to navigation

Elite on the BBC Micro and NES

Drawing pixels: CPIX4, Removed

[Elite-A, Docked]

Name: CPIX4, Removed [Show more] Type: Subroutine Category: Drawing pixels Summary: Draw a double-height dot on the dashboard
Context: See this subroutine in context in the source code References: No direct references to this subroutine in this source file

Draw a double-height mode 5 dot (2 pixels high, 2 pixels wide).
Arguments: X1 The screen pixel x-coordinate of the bottom-left corner of the dot Y1 The screen pixel y-coordinate of the bottom-left corner of the dot COL The colour of the dot as a mode 5 character row byte
\ --- Mod: Code removed for Elite-A: ------------------> \.CPIX4 \ \ JSR CPIX2 \ Call CPIX2 to draw a single-height dash at (X1, Y1) \ \ DEC Y1 \ Decrement Y1 \ \ \ Fall through into CPIX2 to draw a second single-height \ \ dash on the pixel row above the first one, to create a \ \ double-height dot \ --- End of removed code ----------------------------->