Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: daverh@ix.netcom.com (David Hathaway) Newsgroups: scea.yaroze.programming.2d_graphics Subject: Help! Lockup on load. Date: Mon, 25 Aug 1997 17:56:20 GMT Organization: SCEA News Server Lines: 43 Message-ID: <5tsgpp$m6f2@scea> NNTP-Posting-Host: pas-ca8-19.ix.netcom.com X-Newsreader: Forte Free Agent 1.0.82 HELP!!! I have the following code in my program: enum { SPRITE1, SPRITE2, SPRITE3, SPRITE4, SPRITE5, SPRITE6, SPRITE7, SPRITE8, //SPRITE9, NUMBER_OF_SPRITES }; unsigned long TIM_ADDRESS[NUMBER_OF_SPRITES]; Everything works fine UNTIL I uncomment SPRITE9, then the program no longer loads. It downloads to the Yaroze but never starts up. I have a printf as the first line of code in my program, but it never shows up on my PC: printf("Starting program.\n"); Anyone have any ideas? This is a very strange bug. I've been trying to debug it, but I can't seem to get the debugger working either (packet errors). Thanks, Dave p.s. I also tried using #DEFINEs instead of enums and got the same results.