Difference between revisions of "GetVRAMAddress"

From WikiPrizm
Jump to navigationJump to search
(Created page with '== Synopsis == '''Syscall:''' '''Function declaration:'''void*GetVRAMAddress(void); Changes the color of the screen border. === Inputs === === Outputs === A void* pointer to…')
 
m
Line 1: Line 1:
 
== Synopsis ==
 
== Synopsis ==
'''Syscall:'''
+
'''Syscall:'''0x01E6
  
 
'''Function declaration:'''void*GetVRAMAddress(void);
 
'''Function declaration:'''void*GetVRAMAddress(void);

Revision as of 10:39, 25 March 2012

Synopsis

Syscall:0x01E6

Function declaration:void*GetVRAMAddress(void);

Changes the color of the screen border.

Inputs

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.