Other_Functions

From ArchaicPixels: HuC and PCEAS Documentation

Jump to: navigation, search

Other Functions

clock_hh -- Return the hours since the last clock_reset

clock_mm -- Return the minutes since the last clock_reset

clock_reset -- Reset the clock to 00:00:00.00

clock_ss -- Return the seconds since the last clock_reset

clock_tt -- Return the ticks since the last clock_reset

poke - Write a char directly to a memory location

pokew - Write a word directly to a memory location

peek - Read a char from a memory location

peekw - Read a word from a memory location

rand - Return a 16-bit random number

srand - Seed the random number generator with 16 bits

srand32 - Seed the random number generator with 32 bits

random - Return a random number based on the given value

Personal tools