Re: [cc65] compling with 2.9.0

Date view Thread view Subject view

From: Shawn Jefferson (sjefferson_at_sd62.bc.ca)
Date: 2002-12-17 17:38:18


 
>This is a problem with the new typecast code. As a workaround, use
>
>        SDLSTL = (unsigned int) &map_dl[0];      // new dlist address

It also appears to affect this code, but doesn't give any compiler warnings or errors.  This code worked with 2.8.0.

SAVMSC is a pointer to an integer.

gen_dl[4] = (unsigned char) SAVMSC % 256;
gen_dl[5] = (unsigned char) SAVMSC / 256;

¯
Shawn


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-12-17 17:38:43 CET