1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-12 12:29:32 +00:00

CBM510 update

git-svn-id: svn://svn.cc65.org/cc65/trunk@956 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2001-09-20 14:08:24 +00:00
parent 63ff669d64
commit 03273a03f8

View File

@ -25,8 +25,8 @@
# define SPRITE0_DATA 0x0E00
# define SPRITE0_PTR 0x07F8
#elif defined(__CBM510__)
# define SPRITE0_DATA 0xF800
# define SPRITE0_PTR 0xF7F8
# define SPRITE0_DATA 0xF400
# define SPRITE0_PTR 0xF3F8
#endif
/* The mouse sprite (an arrow) */
@ -99,7 +99,11 @@ int main (void)
*(unsigned char*)SPRITE0_PTR = SPRITE0_DATA / 64;
/* Set the color of sprite 0 */
#ifdef __CBM510__
pokebsys ((unsigned) &VIC.spr0_color, COLOR_WHITE);
#else
VIC.spr0_color = COLOR_WHITE;
#endif
/* Initialize the mouse */
mouse_init (MOUSE_CBM1351);