Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : New game to CMM: Gauntlet port
Page 2 of 6 | |||||
Author | Message | ||||
MauroXavier Guru Joined: 06/03/2016 Location: BrazilPosts: 303 |
You will need to update to the last firmware version because the previous versions has a bug in the port command. To expand the audience, I'm thinking in host a site dedicated to MBasic games and tools, with a comprehensive list with the hardware and firmware requirements (CMM, MMX, Pi-cromite etc) to each software. |
||||
Turbo46 Guru Joined: 24/12/2017 Location: AustraliaPosts: 1593 |
Yes Mauro, Please keep on. As Geoff said "You have taken the Colour Maximite to a new level" I have the sound chips and intend to build a stereo version of the circuit above. For various reasons I have not been able to spend much time on the CMM but hope to in two or three weeks. I am waiting for the new version of MMBasic 5 for the CMM also. Where did you get the oscillator from? Bill Keep safe. Live long and prosper. |
||||
MauroXavier Guru Joined: 06/03/2016 Location: BrazilPosts: 303 |
In the CdN Studio version that I'm about to release, it will include the support to only one SN76489 (and clones) and a AY-3-8910 (8912/3 too). I have removed the stereo support to the SN76489 because was too few stereo musics to this sound chip, almost all arcades that uses two of these are using one to music and other to sound effects. I'm removed the stereo support to optimize the speed and to keep the memory constrains. I have faith that the MBasic 5.0 with the cFunctions will bring all the speed that I need to develop some types of games with good and old 8 bit musics without any slowdown, and with this I will include again the stereo support. About the oscillator, I am from Brazil and I bought it from an e-commerce from my country (Mercado Livre) which I think was a miracle to have found one. |
||||
Turbo46 Guru Joined: 24/12/2017 Location: AustraliaPosts: 1593 |
Thanks Mauro, So far my searches for "32.768 khz crystal oscillator" only turn up surface mount oscillators or just the crystal. I have a crystal already so I may have to build one using a CMOS inverter chip. Bill Keep safe. Live long and prosper. |
||||
Cyber Senior Member Joined: 13/01/2019 Location: UkrainePosts: 161 |
So you are removing pin D11 from lib code and only D10 will be used for sound output? And do you have plans on how to settle with music and sound effects using one chip? |
||||
MauroXavier Guru Joined: 06/03/2016 Location: BrazilPosts: 303 |
You can build a stereo circuit with no problems, it will work anyway playing in the two chips at same time because the lib send the data simultaneously. I'm using the PWM to play SFX, and I'm developing some functions to emulate noise channel and other interessing things using native sound of CMM. This is a good approach to play the sound effects to the users that doesn't have the sound chip. When the MBasic 5.0 came ready to the CMM with the cFunctions, I will include the stereo support again. |
||||
Cyber Senior Member Joined: 13/01/2019 Location: UkrainePosts: 161 |
MauroXavier, very good solutions! |
||||
Cyber Senior Member Joined: 13/01/2019 Location: UkrainePosts: 161 |
I was googling for oscillator in my country very long, also was resulting in just a crystal. But finally I found this: https://prom.ua/p723053349-3579545-jco8-generator.html Googled by "3,579545" :) And it worked for me! (costed about $2) I'm posting a link just for reference, maybe marking will help you: JCO8-3-B 3,579545 Here is another link with similar product: https://www.retrosales.com.au/products/parts-modding-crystal-oscillator-4-433mhz-pal-colour-5v-4pin-xtal-dip14 Try searching based on keywords from these pages. Hope that helps. |
||||
Turbo46 Guru Joined: 24/12/2017 Location: AustraliaPosts: 1593 |
Thanks Cyber, Sorry I gave the wrong frequency above, I had it in my head that it was a clock oscillator not the NTSC one. Your Retrosales link looks good to me. I will order a couple. Bill Keep safe. Live long and prosper. |
||||
Cyber Senior Member Joined: 13/01/2019 Location: UkrainePosts: 161 |
I think these at Retrosales are just regular quartz generators, it's just that they propose to use it to correct video colour issues. Its shape looks like mine. And when looking at small datasheet they provided I see specs and pinout are the same as mine. So I thought it's the same. Hope, I'm not wrong. |
||||
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 813 |
Hi MauroXavier, I ordered some SN76489 to try your phantastic games. Just for interest: Can you give me the reason for this crooked frequency? Is it a coincidence that it is the same frequency as NTSC? Frank |
||||
Turbo46 Guru Joined: 24/12/2017 Location: AustraliaPosts: 1593 |
Hi Frank, I can't find the reference right now but I believe that the NTSC frequency was chosen so that the oscillator could be shared with the video signal generator. Bill Keep safe. Live long and prosper. |
||||
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 813 |
Hi Bill, thanks for the info! Frank |
||||
MauroXavier Guru Joined: 06/03/2016 Location: BrazilPosts: 303 |
In this case it's because the majority music files that I found from SN76489 are using this clock frequency (Master System, Game Gear, SC-1000, SC-3000, Tandy 1000 and some SEGA Arcade machines). Other files using different clock frequencies are from BBC Micro (4 Mhz) and few arcades (Moon Patrol, Kung Fu Master etc). Recently I found a tool that convert MIDI files and AY-3-8192 YM file format to VGM for SN76489 and the results are very good. There are so many fantastic YM files from Atari ST, and it's very interessing listen the differences from a AY-3-8192 music when played in a SN76489, and in some cases I liked more the converted version. In the next month, with the release of the last version of the CdN Media Studio and a site dedicated to games for Colour Maximite that I'm creating, I will include at least 300 music files for this chip, after all, who build this little circuit to your Colour Maximite must deserve some hours of pure sound chip musics enterteniment. ;) |
||||
Turbo46 Guru Joined: 24/12/2017 Location: AustraliaPosts: 1593 |
Hi Mauro, This all sounds very exciting and I hope it gives Maximite games programmers the incentive to produce new games or perhaps modify existing ones. I hope you include a 'Donate' button on your web page (are you listening Geoff?). The only two people that I know of that have donate facilities are TassyJim and Nick and I have been happy to donate the mere pittance that they suggest for their excellent work. I also hope that your system will be supported by the new Maximite when that comes (the Arduino shield connector). It would be a pity if it is not and we have to kludge up an interface. I wonder if anyone has experimented with voice synthesis on the Maximite? That could add a extra dimension to some games. Bill Keep safe. Live long and prosper. |
||||
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 813 |
+1 !!! @Mauro: Thank you so much for your efforts! I am very curious! @Bill: We can implement SAM for voice synthesis: Take a look at our forum here. Frank |
||||
MauroXavier Guru Joined: 06/03/2016 Location: BrazilPosts: 303 |
Very interesting! I caught myself now thinking of what it would be like a single gaming board made to connect behind the Color Maximite (or even Maximite), or in the Arduino connector on the CMM, with SAM, SN76489 and a double DB9 joystick port, and obviously, with a open source schematics, circuit board, source code and other related things on GitHub... Hmm... |
||||
Turbo46 Guru Joined: 24/12/2017 Location: AustraliaPosts: 1593 |
@ Frank, thank you for that I was not aware of that post. I will have to check it out further. @ Mauro, Yes, I made a similar suggestion for the new Maximite here : I was thinking of a follow up article to the new Maximite in Silicon Chip magazine but if a standard interface module could be somehow adopted I believe it could provide some consistency to game design. I guess it would need more than just the ribbon cable interface if it was to include the sound chip(s) and SAM but if they could remain on the arduino shield that would be easier. Bill PS. when I said USB to USB above I meant USB to serial. Edit: I used to have a Votrax chip working on a Signetics 2650 microprocessor way back when dinosaurs roamed the earth. It was fun. Keep safe. Live long and prosper. |
||||
MauroXavier Guru Joined: 06/03/2016 Location: BrazilPosts: 303 |
I'm changing the PSGLIB to include a initial configuration to possibilite to the user choose in wich port the sound chip are connected, also including what sound can be used: - SN76489 (one or dual) - AY-3-8190/2/3 - PWM I'm created a basic rotine to use PWM channels to play some SN76489 musics, using two channels, but the volume are very low. If I could use two channels of squared wave at same time would be fantastic, meanwhile the PSGLIB it's using fast changing of squared waves to simulate more than one channel, but this consumes a lot of CPU and it's good only to opennings and title screens (like a ZX Spectrum 48k). With the MMBasic 5 release to CMM, I will gonna rebuild the PSGLIB using cFunctions, with this I believe that we will have a excellent game card using little resources. |
||||
SimpleSafeName Senior Member Joined: 28/07/2019 Location: United StatesPosts: 286 |
It's an "active" oscillator (requiring 5 volts, hence the extra pins), you should be good. For those stateside, this is where I found mine: https://www.ebay.com/itm/Crystal-Oscillator-Frequency-Range-on-Offer-0-25MHz-to-200MHz/183882413008?ssPageName=STRK%3AMEBIDX%3AIT&var=691556708355&_trksid=p2060353.m2749.l2649 I probably could have got it cheaper, but I didn't want to wait. |
||||
Page 2 of 6 |
Print this page |