+-^CrossBow^- Posted January 27, 2021 Share Posted January 27, 2021 12 minutes ago, darryl1970 said: Maybe I didn't find it. I just got my Dragonfly. Is there a version that activates the Yamaha sound on this? The version that came with it displays "XM", but I think it's still playing TIA. I thought I read something when I didn't yet have my DF. Now I can't seem to find it. Thanks, Darryl The Pac-Man XM with Yamaha is actually in both the HB folder under the P folder, and also in the YM folder. I've used the one in the YM2151 folder to play and it definitely doesn't the sound the same as the standard TIA version (Which is still amazing honestly). If you see XM on the title screen when you load up the rom, then it has detected the YM module and the extra RAM expansion the cart provides to operate. If you only see the logo and do NOT see the XM Enhanced logo to the lower left of the main game logo, then the ROM didn't detect all the hardware. 1 Quote Link to comment Share on other sites More sharing options...
+darryl1970 Posted January 28, 2021 Share Posted January 28, 2021 6 hours ago, -^CrossBow^- said: The Pac-Man XM with Yamaha is actually in both the HB folder under the P folder, and also in the YM folder. I've used the one in the YM2151 folder to play and it definitely doesn't the sound the same as the standard TIA version (Which is still amazing honestly). If you see XM on the title screen when you load up the rom, then it has detected the YM module and the extra RAM expansion the cart provides to operate. If you only see the logo and do NOT see the XM Enhanced logo to the lower left of the main game logo, then the ROM didn't detect all the hardware. It didn't activate the YM sound for me until I set the RAM to forced. Is that the expected behavior? Quote Link to comment Share on other sites More sharing options...
+-^CrossBow^- Posted January 28, 2021 Share Posted January 28, 2021 56 minutes ago, darryl1970 said: It didn't activate the YM sound for me until I set the RAM to forced. Is that the expected behavior? Yes and I thought I had mentioned that but maybe not? I know I mentioned this in my video overview of the Dragonfly. 1 Quote Link to comment Share on other sites More sharing options...
PacManPlus Posted January 28, 2021 Author Share Posted January 28, 2021 Hi guys - sorry for the late reply... I'm a little confused... The 'dragonfly' SD cart emulates the YM? How does it get activated? I have to pass a certain value to $470 in order to activate it on the XM, is it the same in this case? Quote Link to comment Share on other sites More sharing options...
+DrVenkman Posted January 28, 2021 Share Posted January 28, 2021 2 minutes ago, PacManPlus said: The 'dragonfly' SD cart emulates the YM? How does it get activated? This is probably a question for @rj1307, the DragonFly creator. But yes, the DragonFly has an optional Yamaha module. I think @RevEng and maybe a couple other folks have been discussing allocating bits in the .A78 header format to handle stand-alone YM sound, without necessarily all the rest that is assumed by the existing XM bits. (Of course, I might be misremembering stuff and conflating a few things ... ) 1 Quote Link to comment Share on other sites More sharing options...
Trebor Posted January 28, 2021 Share Posted January 28, 2021 1 hour ago, PacManPlus said: I'm a little confused... The 'dragonfly' SD cart emulates the YM? How does it get activated? I have to pass a certain value to $470 in order to activate it on the XM, is it the same in this case? From the manual: 2 Quote Link to comment Share on other sites More sharing options...
RevEng Posted January 28, 2021 Share Posted January 28, 2021 1 hour ago, PacManPlus said: I'm a little confused... The 'dragonfly' SD cart emulates the YM? How does it get activated? I have to pass a certain value to $470 in order to activate it on the XM, is it the same in this case? I think it's enough to just have XM flagged in the A78 header. Dragonfly doesn't do the whole XM register thing, so no need to hit $470 or any of the XM CTRL registers. Just use $460/461 for the YM as usual. IIRC your game probes XM memory as a sort of XM detection, which is why the guys are talking about forcing memory on in the Dragonfly. I've also added a couple bits to the A78 header for just indicating YM or second pokey, without indicating a full-blown XM This was announced in the header thread, but I don't know if Dragonfly itself is yet parsing those header bits. 4 Quote Link to comment Share on other sites More sharing options...
PacManPlus Posted January 29, 2021 Author Share Posted January 29, 2021 Thanks guys! So I watched the video of @ZeroPage Homebrew playing this (noticed that they took that cartridge out quickly ) and right off the bat there was a bug (2nd player with random mazes, no dots). That only happened if a 2-player random maze (any random maze game) was the first game played after booting the cart up. What are the chances? Anyway, I fixed that bug - thanks James! PMC_XM.A78 PMC_XM.BIN 3 1 Quote Link to comment Share on other sites More sharing options...
+sramirez2008 Posted January 29, 2021 Share Posted January 29, 2021 I see you made one other change too.? 3 Quote Link to comment Share on other sites More sharing options...
+-^CrossBow^- Posted January 29, 2021 Share Posted January 29, 2021 56 minutes ago, sramirez2008 said: I see you made one other change too.? This one make sense given that the XM isn't officially a released product and might be confusing. The main thing that the XM Enhanced logo was showing us, was that it was using the YM synth sound. This make more sense going forward and will make it that more clear to others when the game detects the YM module or not. I'm curious if it still requires the RAM expansion in forced on mode now that Bob knows how to look for and address the YM module without requiring the detection of the extra RAM from the XM? 1 Quote Link to comment Share on other sites More sharing options...
+sramirez2008 Posted January 29, 2021 Share Posted January 29, 2021 2 minutes ago, -^CrossBow^- said: I'm curious if it still requires the RAM expansion in forced on mode I checked. Still requires the FORCE. 1 Quote Link to comment Share on other sites More sharing options...
Trebor Posted January 29, 2021 Share Posted January 29, 2021 Speaking of force...heads-up in advance, this will not play sound under the Concerto (Firmware version 0.95). Use the forced TIA one instead. 2 1 Quote Link to comment Share on other sites More sharing options...
+ZeroPage Homebrew Posted January 29, 2021 Share Posted January 29, 2021 5 hours ago, PacManPlus said: So I watched the video of @ZeroPage Homebrew playing this (noticed that they took that cartridge out quickly ) Hahah, we'll definitely be playing a lot of your games, including that one, coming up on some near future streams (plus your Developer Spotlight!). Sadly we had to rush through games that night to get through the 18 nominees! ? 5 hours ago, PacManPlus said: and right off the bat there was a bug (2nd player with random mazes, no dots). That only happened if a 2-player random maze (any random maze game) was the first game played after booting the cart up. What are the chances? Anyway, I fixed that bug - thanks James! Oh wow, I didn't even know it was a bug, I thought it was just a really easy random level where you only had to get the four power pellets! Glad we could find a very specific case bug so you could squash it. ? - James 1 Quote Link to comment Share on other sites More sharing options...
PacManPlus Posted January 30, 2021 Author Share Posted January 30, 2021 I'm wondering if I should change the detection of the Yamaha... ...but I should probably try to keep it universal so that either the XM or the Dragonfly detects it. So, I can keep the write to $470, but are there any series of bytes I can look at that only exist on the Yamaha? (Like I do with the Pokey and the 'Random Bytes' check) Quote Link to comment Share on other sites More sharing options...
RevEng Posted January 30, 2021 Share Posted January 30, 2021 4 hours ago, PacManPlus said: So, I can keep the write to $470, but are there any series of bytes I can look at that only exist on the Yamaha? (Like I do with the Pokey and the 'Random Bytes' check) My initial thought here was to send a register update to $460 and check how many loops it takes for the ready status to show up in $461, but sometimes the register update is completed in the first loop, so it doesn't appear to be a good heuristic. I was able to reliably get "$60" in the DetectYM variable when XM is there and YM is enabled (and 0 otherwise) using the following code... asm jsr xmym_init_jsr YMDetectRoutine lda #$ff ldx #1 jsr WriteToYM_X ; YM test mode bits all high ldy #255 YMDetectRoutineloop lda $461 bmi YMDetectRoutineloop sta DetectYM ; save the value pulled from the status register lda #0 ldx #1 jsr WriteToYM_X ; reset the YM test mode bits end The init routine just enables the YM within the XM, and clears some program specific memory. The WriteToYM_X sub is at the wiki, though you probably have an equivalent already. I haven't experimented with which test mode bits are important here. It might be good to understand the minimal set required. One problem is the emulators unsurprisingly haven't implemented these test mode bits, since they're undocumented. (beyond the link I provided) So this would be a real-hardware only solution until the emulators catch up. 3 1 Quote Link to comment Share on other sites More sharing options...
gambler172 Posted January 30, 2021 Share Posted January 30, 2021 With my Dragonfly....it works great....Yamaha and Pokey 1 1 Quote Link to comment Share on other sites More sharing options...
PacManPlus Posted January 30, 2021 Author Share Posted January 30, 2021 Thanks RevEng, gambler172 Actually it's Yamaha and TIA - no Pokey sounds in this one. 2 1 Quote Link to comment Share on other sites More sharing options...
gambler172 Posted January 30, 2021 Share Posted January 30, 2021 18 minutes ago, PacManPlus said: Thanks RevEng, gambler172 Actually it's Yamaha and TIA - no Pokey sounds in this one. only Tia? wow....sounds good ? 1 Quote Link to comment Share on other sites More sharing options...
Dauber Posted February 1, 2021 Share Posted February 1, 2021 (yeah, I didn't believe it either. ) Quote Link to comment Share on other sites More sharing options...
Defender_2600 Posted February 8, 2021 Share Posted February 8, 2021 CONGRATULATIONS, Bob! 18 Quote Link to comment Share on other sites More sharing options...
PacManPlus Posted February 8, 2021 Author Share Posted February 8, 2021 Thank you!!! 6 1 Quote Link to comment Share on other sites More sharing options...
Defender_2600 Posted February 8, 2021 Share Posted February 8, 2021 No, no, thanks to * you * !! 1 Quote Link to comment Share on other sites More sharing options...
juansolo Posted February 8, 2021 Share Posted February 8, 2021 (edited) Just a heads up. Leaving the Dragonfly set to Force RAM means other stuff has problems. BallBlazer (PAL) for example does some weird stuff with the POKEY music and the Galaxian WIP doesn't detect the POKEY. Setting the RAM to Enable however (where it is turned on based on the header) then editing the header for PMC40 to SuperGame RAM and everything behaves as it should and you don't need to change any setting to run anything. So PMC40 runs with YM sound, no music corruption on BallBlazer and POKEY detected on Galaxian. Edited February 8, 2021 by juansolo Quote Link to comment Share on other sites More sharing options...
+Muddyfunster Posted February 8, 2021 Share Posted February 8, 2021 2 hours ago, juansolo said: Just a heads up. Leaving the Dragonfly set to Force RAM means other stuff has problems. BallBlazer (PAL) for example does some weird stuff with the POKEY music and the Galaxian WIP doesn't detect the POKEY. Setting the RAM to Enable however (where it is turned on based on the header) then editing the header for PMC40 to SuperGame RAM and everything behaves as it should and you don't need to change any setting to run anything. So PMC40 runs with YM sound, no music corruption on BallBlazer and POKEY detected on Galaxian. Thanks @juansolo. Is there a guide or somewhere I can find some pointers for editing the header? I've not done it before and wouldn't know where to start or what to use. Quote Link to comment Share on other sites More sharing options...
juansolo Posted February 8, 2021 Share Posted February 8, 2021 (edited) 31 minutes ago, Muddyfunster said: Thanks @juansolo. Is there a guide or somewhere I can find some pointers for editing the header? I've not done it before and wouldn't know where to start or what to use. There's a utility that comes with 7800 basic ( https://github.com/7800-devtools/7800basic/releases/ ) called 7800header. Run that on the rom name and it displays the current header and what you can set it to. Flip out whatever it is as standard (can't remember) for Supergame RAM. Should end up looking something like this: Edited February 8, 2021 by juansolo 1 3 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.