Merge pull request #1302 from oliverschmidt/master

Removed mouse pointer initialization.
This commit is contained in:
Oliver Schmidt 2015-10-09 22:22:07 +02:00
commit 1b2028f1e0
2 changed files with 0 additions and 36 deletions

View file

@ -106,24 +106,6 @@ main(void)
} }
#endif #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(); procinit_init();
process_start((struct process *)&ethernet_process, (void *)ethernet_config); process_start((struct process *)&ethernet_process, (void *)ethernet_config);

View file

@ -104,24 +104,6 @@ main(void)
} }
#endif #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(); procinit_init();
process_start((struct process *)&ethernet_process, (void *)ethernet_config); process_start((struct process *)&ethernet_process, (void *)ethernet_config);