NIAD Posted February 16, 2015 Share Posted February 16, 2015 You've seen enough. PM en route. My son had that game up until recently when we donated it along with numeous other toys to the Salvation Army. He never got very far without looking at the answers or relying on me for help. Good choice 5-11under. Quote Link to comment Share on other sites More sharing options...
youki Posted February 17, 2015 Share Posted February 17, 2015 for(aa=0;aa<256;aa++) {change_multicolor(aa,COLOR1+aa*;} what does that row? If behind change_multicolor there are calls to VDP (and at least 255 here) . ... i'm almost sure a NMI will occurs while you are accessing the VDP. In addition the change_spattern you do before and after are accessing VDP as well. ( i had lot of issues with change_spattern in one of my project...). Quote Link to comment Share on other sites More sharing options...
+5-11under Posted February 17, 2015 Share Posted February 17, 2015 what does that row? If behind change_multicolor there are calls to VDP (and at least 255 here) . ... i'm almost sure a NMI will occurs while you are accessing the VDP. In addition the change_spattern you do before and after are accessing VDP as well. ( i had lot of issues with change_spattern in one of my project...). I don't have my code here at the moment, but I'm pretty sure I have nmi disabled at that point. Quote Link to comment Share on other sites More sharing options...
youki Posted February 17, 2015 Share Posted February 17, 2015 I don't have my code here at the moment, but I'm pretty sure I have nmi disabled at that point. As i said here : http://atariage.com/forums/topic/230599-galaga-crashing-all-the-time/?p=3178975 The disable nmi don't prevent the problem to occur. if you are accessing the VDP when the hardware Interrupt Occurs , you can have glitches. And i think during the time of your loop , it could occurs. Quote Link to comment Share on other sites More sharing options...
+5-11under Posted February 17, 2015 Share Posted February 17, 2015 As i said here : http://atariage.com/forums/topic/230599-galaga-crashing-all-the-time/?p=3178975 The disable nmi don't prevent the problem to occur. if you are accessing the VDP when the hardware Interrupt Occurs , you can have glitches. And i think during the time of your loop , it could occurs. Well, I'm writing the colour of the characters here, and I need to do that, so I'm not sure what other method is to be used. I've tried to do it with faster methods with no success, although even faster methods would still have the same problem you're describing. Anyway, I'm not seeing any issues in the initialization stage. What I was seeing before I put the update-sprites command in the nmi (and nowhere else) was that some of the characters would be written over by sprite data and possibly other garbage after playing for a few minutes or so. Quote Link to comment Share on other sites More sharing options...
parkfun101 Posted February 17, 2015 Share Posted February 17, 2015 So, in terms of fewer or no nmi glitches, would you say putting commands like update_sprites, vram updates, etc. into the nmi be the best solution? I'm thinking I want to start doing that if it seems to be less problematic. Quote Link to comment Share on other sites More sharing options...
+5-11under Posted February 17, 2015 Share Posted February 17, 2015 So, in terms of fewer or no nmi glitches, would you say putting commands like update_sprites, vram updates, etc. into the nmi be the best solution? I'm thinking I want to start doing that if it seems to be less problematic. After playing some more, it looks like the problem remains for this game. For previous games, I've put all the "action" within the nmi, without issue. It looks like some others are doing the opposite. Whichever works, I guess. Quote Link to comment Share on other sites More sharing options...
Pixelboy Posted February 17, 2015 Share Posted February 17, 2015 After playing some more, it looks like the problem remains for this game. For previous games, I've put all the "action" within the nmi, without issue. It looks like some others are doing the opposite. Whichever works, I guess. So your problem hasn't really been solved? That's too bad... Quote Link to comment Share on other sites More sharing options...
Kiwi Posted February 18, 2015 Share Posted February 18, 2015 (edited) You can try slowing the color drawing down with this for loop with delay(1) in it. In the example, it'll change 32 colors a frame. This one method I would try. b=0; for(aa=0;aa<256;aa++) { change_multicolor(aa,COLOR1+aa*8); b++; if(b==32){delay(1);b=0;} } Hopes that helps a bit. The vdp seems to accept 200-300 bytes a frame. Edited February 18, 2015 by Kiwi Quote Link to comment Share on other sites More sharing options...
youki Posted February 18, 2015 Share Posted February 18, 2015 So, in terms of fewer or no nmi glitches, would you say putting commands like update_sprites, vram updates, etc. into the nmi be the best solution? For me yes, but you have to be sure that what you put in the nmi() doesn't overrun the nmi. all what you put here should take a little less than 16ms . So just put here code that make vdp calls. Use the nmi method as a "rendering" method only , and put the logic of the game outside. Quote Link to comment Share on other sites More sharing options...
youki Posted February 18, 2015 Share Posted February 18, 2015 You can try slowing the color drawing down with this for loop with delay(1) in it. In the example, it'll change 32 colors a frame. This one method I would try. b=0; for(aa=0;aa<256;aa++) { change_multicolor(aa,COLOR1+aa*8); b++; if(b==32){delay(1);b=0;} } Hopes that helps a bit. The vdp seems to accept 200-300 bytes a frame. It is exactly that i would have suggested. Quote Link to comment Share on other sites More sharing options...
+5-11under Posted February 18, 2015 Share Posted February 18, 2015 Thanks for the hints everyone! As mentioned, the initial set-up is working fine. However, I'll see if there are other times the VDP is too busy. Quote Link to comment Share on other sites More sharing options...
ten-four Posted June 4, 2016 Share Posted June 4, 2016 Hi guys, We have a fix for anyone who as a problem with is Galaga. You can PM me anytime to return it, please return the cart only. I will change the pcb and label. Sega_Shark is the only one that has return it yet, On the new label it will say "REV A" The new rom was tested in a few system without issue. Thank you! Hi Toby. I have for the first time a chance to play the ColecoVision Galaga via SGM. My version of ColecoVision Galaga do not work properly. Quote Link to comment Share on other sites More sharing options...
coleco_master Posted June 7, 2016 Share Posted June 7, 2016 Hi Toby. I have for the first time a chance to play the ColecoVision Galaga via SGM. My version of ColecoVision Galaga do not work properly. DSC06930-2.jpg PM sent! 1 Quote Link to comment Share on other sites More sharing options...
ten-four Posted July 9, 2016 Share Posted July 9, 2016 PM sent! Hi Toby. One month has passed. Have you changed the defective CV Galaga with a new one, and sent it to me. ? Quote Link to comment Share on other sites More sharing options...
coleco_master Posted July 11, 2016 Share Posted July 11, 2016 Hi Toby. One month has passed. Have you changed the defective CV Galaga with a new one, and sent it to me. ? It is ready to go, I just want to make sure everything is ok with Canada Post. They were talking about strike for a good week now. But I'm sure I'll be able to ship very soon. Thank you! 1 Quote Link to comment Share on other sites More sharing options...
retroillucid Posted July 11, 2016 Share Posted July 11, 2016 It is ready to go, I just want to make sure everything is ok with Canada Post. They were talking about strike for a good week now. But I'm sure I'll be able to ship very soon. Thank you! They (news) just said Post Canada is not going in strike.......yet Quote Link to comment Share on other sites More sharing options...
Pixelboy Posted July 11, 2016 Share Posted July 11, 2016 They (news) just said Post Canada is not going in strike.......yet Actually, the threat of a lock-out has been lifted (for now) but the worker's union could still decide to go on strike. Quote Link to comment Share on other sites More sharing options...
youki Posted July 11, 2016 Share Posted July 11, 2016 I thought Strike was only a French speciality. 1 Quote Link to comment Share on other sites More sharing options...
ten-four Posted July 11, 2016 Share Posted July 11, 2016 Thank you Toby. Galaga is in my Top 10... Quote Link to comment Share on other sites More sharing options...
ten-four Posted August 8, 2016 Share Posted August 8, 2016 (edited) It is ready to go, I just want to make sure everything is ok with Canada Post. They were talking about strike for a good week now. But I'm sure I'll be able to ship very soon. Thank you! Hi Toby. Two months has passed. Is there any news about my "updated" ColecoVision Galaga and of course Canada Post. ? Edited August 8, 2016 by ten-four Quote Link to comment Share on other sites More sharing options...
coleco_master Posted August 9, 2016 Share Posted August 9, 2016 (edited) Hi Toby. Two months has passed. Is there any news about my "updated" ColecoVision Galaga and of course Canada Post. ? Hi Toby. Two months has passed. Is there any news about my "updated" ColecoVision Galaga and of course Canada Post. ? Hi Ole, Yes, shipped back about 2 weeks ago to: 9210 Aalborg Sø. Denmark You should see it soon. Thank you Edited August 9, 2016 by coleco_master Quote Link to comment Share on other sites More sharing options...
ten-four Posted August 9, 2016 Share Posted August 9, 2016 Thanks Toby. Quote Link to comment Share on other sites More sharing options...
ten-four Posted September 12, 2016 Share Posted September 12, 2016 Hi Ole, Yes, shipped back about 2 weeks ago to: You should see it soon. Thank you Hi Toby. 3 months is now going and I never received the replacement ColecoVision Galaga from you. First of all, I will give it few days more. Second, I will take contact to Post offices in DK and CAN and simply "wanted" the package. Quote Link to comment Share on other sites More sharing options...
coleco_master Posted September 12, 2016 Share Posted September 12, 2016 Hi Ole, Sorry about that I will send you a PM 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.