Removed mouse pointer initialization.
Now the cc65 C library for CBM takes care of this.
This commit is contained in:
parent
12fd559244
commit
43ac818dd2
|
@ -106,24 +106,6 @@ main(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if (WITH_GUI && WITH_MOUSE)
|
||||
{
|
||||
static const uint8_t mouse_sprite[64] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x0F, 0xE0, 0x00, 0x0F, 0xC0, 0x00, 0x0F,
|
||||
0x80, 0x00, 0x0F, 0xC0, 0x00, 0x0D, 0xE0, 0x00,
|
||||
0x08, 0xF0, 0x00, 0x00, 0x78, 0x00, 0x00, 0x3C,
|
||||
0x00, 0x00, 0x1E, 0x00, 0x00, 0x0F, 0x00, 0x00,
|
||||
0x07, 0x80, 0x00, 0x03, 0x80, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
|
||||
|
||||
memcpy((void*)0x0E00, mouse_sprite, sizeof(mouse_sprite));
|
||||
*(uint8_t*)0x07F8 = 0x0E00 / 64;
|
||||
VIC.spr0_color = COLOR_WHITE;
|
||||
}
|
||||
#endif /* WITH_GUI && WITH_MOUSE */
|
||||
|
||||
procinit_init();
|
||||
|
||||
process_start((struct process *)ðernet_process, (void *)ethernet_config);
|
||||
|
|
|
@ -104,24 +104,6 @@ main(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if (WITH_GUI && WITH_MOUSE)
|
||||
{
|
||||
static const uint8_t mouse_sprite[64] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x0F, 0xE0, 0x00, 0x0F, 0xC0, 0x00, 0x0F,
|
||||
0x80, 0x00, 0x0F, 0xC0, 0x00, 0x0D, 0xE0, 0x00,
|
||||
0x08, 0xF0, 0x00, 0x00, 0x78, 0x00, 0x00, 0x3C,
|
||||
0x00, 0x00, 0x1E, 0x00, 0x00, 0x0F, 0x00, 0x00,
|
||||
0x07, 0x80, 0x00, 0x03, 0x80, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
|
||||
|
||||
memcpy((void*)0x0340, mouse_sprite, sizeof(mouse_sprite));
|
||||
*(uint8_t*)0x07F8 = 0x0340 / 64;
|
||||
VIC.spr0_color = COLOR_WHITE;
|
||||
}
|
||||
#endif /* WITH_GUI && WITH_MOUSE */
|
||||
|
||||
procinit_init();
|
||||
|
||||
process_start((struct process *)ðernet_process, (void *)ethernet_config);
|
||||
|
|
Loading…
Reference in a new issue