Processor (ALU & CU), data bus, registers, word size
Co-ordinates 320, 168 A little graphics such as this is called a sprite; it is a set of pixels gathered together as an object. This sprite is 5 X 5 pixels. Look at the pixel lightly shaded in the graphic representation below. Let us imagine that it has screen co-ordinates 320 along and 168 down, just for sake of illustration.
Co-ordinates 320, 168 A little graphics such as this is called a sprite; it is a set of pixels gathered together as an object. This sprite is 5 X 5 pixels. Look at the pixel lightly shaded in the graphic representation below. Let us imagine that it has screen co-ordinates 320 along and 168 down, just for sake of illustration. Typically a graphic may have to move on the screen according to instructions given by a program. For example, it may have to move 5 to the right and 5 down in one time unit. So in order to move the graphic in the way described, the processor must Calculate new co-ordinates for each of the pixels, 25 in all Send electronic signals to the monitor to clear the old graphic (sprite) Send electronic signals to the monitor corresponding to the new co-ordinates to get a new image Perhaps also a decision has to be made as to whether the sprite has contacted with the ‘wall’ on the right hand side.
Looking at the middle part, THE PROCESSOR, in more detail RAM Control Unit (CU) Arithmetic & Logic Unit (ALU) The control unit manages the data transfers withing the processor All actions in a computer come down to performing arithmetic and logic (is x bigger than y?) The ALU does this.
RAM Data Bus DECODE Arithmetic & Logic Unit (ALU) Registers ☺ ☺ ☺ ☺ ☺ ☺ Pixels on a screen >>>