Difference between revisions of "GetVRAMAddress"

From WikiPrizm
Jump to navigationJump to search
m
Line 3: Line 3:
  
 
'''Function declaration:'''void*GetVRAMAddress(void);
 
'''Function declaration:'''void*GetVRAMAddress(void);
 
Changes the color of the screen border.
 
  
 
=== Inputs ===
 
=== Inputs ===
  
 +
None
  
 
=== Outputs ===
 
=== Outputs ===

Revision as of 11:31, 2 April 2012

Synopsis

Syscall:0x01E6

Function declaration:void*GetVRAMAddress(void);

Inputs

None

Outputs

A void* pointer to the address of VRAM.

Comments

The return address is currently a constant address of 0xA8000000, but has the potential to be changed in the future, while very unlikely. If nothing else, this syscall is useful as it can help distinguish between different casio models, and can help with providing compatibility with future OS versions and other models. It is suggested that if you call it though, you save it in a variable at the beginning of a program, because using it to constantly get the VRAM address may slow down your program slightly.