+atari2600land Posted October 7, 2021 Share Posted October 7, 2021 The computer is being a butthole and not making RESMP1 work. I have this beginning at line 924: lda #2 sta RESMP1 lda #0 sta RESMP1 According to the "sacred scroll", this should work. Missiles have an additional positioning command. Writing a "1" to D1 of the reset missile-to-player register (RESMP0, RESMP1) disables that missiles' graphics (turns it off) and repositions it horizontally to the center of its associated player. Until a "0" is written to the register, the missile's horizontal position is locked to the center of its player in preparation to be fired again. I wrote 1 to D1 on RESMP1 to turn it on, then I wrote 0 to it to turn it off. Now the enemy never shoots EVEN THOUGH I WROTE 0 TO D1 OF RESMP1. I am tearing my hair out trying to find out why this is. Why won't the enemy shoot anything? burger17.asm Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted October 7, 2021 Author Share Posted October 7, 2021 I think I fixed it. I still don't know why RESMP1 wasn't working, but I found a way around it. Quote Link to comment Share on other sites More sharing options...
Thomas Jentzsch Posted October 7, 2021 Share Posted October 7, 2021 (edited) I checked your code, RESMP1 is working as expected, M1 is positioned at P1 + 4. You can check yourself in Stella's debugger. The bug must be something else. Edited October 7, 2021 by Thomas Jentzsch 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.