[comp.sys.apple2] hyperC weirdness

ericmcg@pnet91.cts.com (Eric Mcgillicuddy) (11/25/90)

>        t = *MEDATA;
>        printf("%d %d ", i, t);
>        ti = 0 + t;
>/*        printf("%d ", ti);    */

Perhaps type casting t to an int would do the trick?

ti = (int ) t;

It might be as simple as that.

Something else that you can do is to use anchored variables. This is a
non-portable method of assigning variables to specific addresses. 

UBYTE MEMSEL   @0xc500;
UBYTE MELOW    @0xc0d0;
etc.....

These are options you could try. If you want more info, send me mail.

Eric McGillicuddy

UUCP: bkj386!pnet91!ericmcg
INET: ericmcg@pnet91.cts.com