[A89] Re: C Problems


[Prev][Next][Index][Thread]

[A89] Re: C Problems




Hi!

| you can fiddle with the contents of memory positions (and therefor ports,
| since they are memorymapped in 68k)
| fairly easy in C:
|
| *(char*)0x600015 = 0x1B;
|
| sets 0x600015 to its default value for example.

While this might be all right, reading values this way is not possible
because of optimization.  Therefore you should use PokeIO and PeekIO.

Sebastian Reichelt





Follow-Ups: