Search found 2 matches

by Lettin03
Tue Nov 27, 2007 1:04 pm
Forum: CBoat C Forum
Topic: Return value to Register
Replies: 14
Views: 7977

Haha this is awesome. Didn't see it untill now, well I don't think I'm going to get much information here. So thanks for your reaction and take care.

P.S: Na me studie geen woord meer programmeren :P
by Lettin03
Tue Nov 27, 2007 8:55 am
Forum: CBoat C Forum
Topic: Return value to Register
Replies: 14
Views: 7977

Return value to Register

Guys, I have a code that reads my register #define IOBASE 0x4000

void leesRegister( unsigned char* Register )
{
Register[0] = *( ( unsigned char* ) ( IOBASE + 0x10 ) );
Register[2] = *( ( unsigned char* ) ( IOBASE + 0x12 ) );
Register[4] = *( ( unsigned char* ) ( IOBASE + 0x14 ) );
} The adress ...