| Electronics > Beginners |
| Assembly code Help! PIC16F57 |
| << < (11/32) > >> |
| KL27x:
Oh, haha. I was made at least one edit to my forum post but didn't do it to the code, lol. Try this one. Also reel_speed equ 1F slowdown_time equ 20 reel2_trigger equ 20 reel1_trigger equ 50 reel0_trigger equ 80 Also to note: For testing purposes you might want to mess with the values of these constants. So that the thing goes faster, for debugging/validating. |
| KL27x:
source Yeah, that would easier to try if I had attached the source code, sorry. |
| Electrofinn:
hahah ok, no worries dude. will report back. |
| Electrofinn:
ok did it again so now i'm testing with new_byte set to 0F, light show is fine on your version btw |
| Electrofinn:
if this still doesn't work I am almost tempted to call it a day on this particular problem because its not as if its that bad because it happens once in a blue moon and it at least does run the correct table even though it does half it doesn't really take too much away from the aesthetic of the game. if it payed out half the money I'd be like yeah this needs sorting but it's fine and I got the 32 value light show I wanted which is fantastic. The only other problem is just when the machine gives the option to hold reels when you put the first credit in, which normally wouldn't be a problem for most of the session but when you first switch machine on, the displays default to all bars, which is part of the aesthetic but simply just holding all reels and pressing start gives an instant jackpot win. it doesn't seem to do this on the original chip. I think the hold option is a suppose to be a randomly generated thing for the most part but not sure because the source code seems to let this happen at the start without fail. any ideas on that one? **update** ok just had instance where a win did part of the "pattern" table, am switching back to new_byte equ 0E for now. although if it were someone else other than me playing the machine you probably wouldn't of noticed it to be honest. |
| Navigation |
| Message Index |
| Next page |
| Previous page |