Bdisp SetPoint VRAM

From WikiPrizm
Jump to navigationJump to search

Synopsis

Syscall:

Function declaration: void Bdisp_SetPoint_VRAM(int x, int y, short unsigned int color);

Sets a single point (x, y) in the Video RAM (VRAM) to color.

Inputs

  • int x - pixel column, 0 to 383.
  • int y - pixel row, 0 to 215.
  • short unsigned int color - A 5-6-5 RGB color, or a color name from color.h

Outputs

Sets pixel on the VRAM (not directly to the LCD).

Comments

This syscall is exactly like Bdisp_SetPoint_DD, except sets the point to VRAM instead. It is strongly recommended that you use the VRAM-modifying functions from the Useful Routines page instead.