Bdisp SetPoint VRAM

From WikiPrizm
Revision as of 10:47, 25 March 2012 by Ashbad (talk | contribs) (Created page with '== Synopsis == '''Syscall:''' 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 === * ''…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Synopsis

Syscall: 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.