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 : Space Invaders Emulator :)
Author | Message | ||||
ksdesigns Senior Member Joined: 25/06/2011 Location: United StatesPosts: 143 |
uses original roms still need to rotate screen and add sound but plays ok so far and all animation works ken |
||||
jman Guru Joined: 12/06/2011 Location: New ZealandPosts: 711 |
Thats fantastic Care to share Regards John |
||||
Nick Guru Joined: 09/06/2011 Location: AustraliaPosts: 512 |
Fantastic work Ken!! Now THATS how you do Space Invaders for the PIC32. You're amazing! First you make the Maximite into a TRS-80, then a real Space Invaders machine. Once you perfect the Space Invaders emulation, it wouldn't be too hard to get Lunar Rescue working (2 for the price of one!). That one used the Space Invaders arcade board, just mainly a new ROM. ...but don't forget the TRS-80! :) I don't run MMBASIC anymore. My Maximite is a TRS-80! "You da man!" Nick |
||||
mookster1 Regular Member Joined: 10/06/2011 Location: New ZealandPosts: 81 |
Now THAT is awesome. +1 Capacitance is futile - roll on 2012! |
||||
ksdesigns Senior Member Joined: 25/06/2011 Location: United StatesPosts: 143 |
Still have not rotated the screen yet but has sound and is fully playable just need to get it rotated. not real happy with the sound playing wav files thru pwm . so i figured i would make a board with a dac on it to play wav files did a rough design and added 4 12bit I2C DAC's and 2 Wii Controller ports has 26 pin edge connector to plug in to the maximite so you don't need a cable will try and build one this week ken |
||||
Nick Guru Joined: 09/06/2011 Location: AustraliaPosts: 512 |
Seems like a lot of work just to get monochrome arcade Space Invaders to work on the Maximite but I guess that the board would be good for other games ported later. Also gives the Maximite a better DAC sound output for sampled sound effects. Wonder if it's possible to add some control to enable color similar to my idea of channeling the VGA output to selectable RGB pins? (since this board plugs in to the I/O connector). Don't forget the TRS-80 emulator. :) I envy your skills. Nick |
||||
ksdesigns Senior Member Joined: 25/06/2011 Location: United StatesPosts: 143 |
It uses a microchip MCP4725 DAC • Fast Settling Time of 6 μs (typical) • External Voltage Reference (VDD) • Rail-to-Rail Output • Low Power Consumption • Single-Supply Operation: 2.7V to 5.5V • I2CTM Interface: - Eight Available Addresses - Standard (100 kbps), Fast (400 kbps), and High-Speed (3.4 Mbps) Modes • Small 6-lead SOT-23 Package • Extended Temperature Range: - so its good for a lot more than audio that's why i added 4 of them :) and for the Wii controller you can use the classic one for games or the numcuck one you get a joystick and a STMicroelectronics LIS3L02AL 3-Axis MEMS Inertia Sensor ken |
||||
Nick Guru Joined: 09/06/2011 Location: AustraliaPosts: 512 |
Cool. What about doing something to add color? Send the VGA output signals to that board then have a way to switch the VGA signal to selectable RGB pins. Control the routing with your emulator to change the color at a scanline level. I see this as a plug in 'game board' enhancement. I wonder if it's possible to write an emulator bootloader in firmware that loads an emulator from SD into RAM? This could allow selectable games/emulators without the need for firmware loading each. Makes it more multi-purpose. |
||||
mookster1 Regular Member Joined: 10/06/2011 Location: New ZealandPosts: 81 |
Would you be able to post a circuit diagram of the sound/game controller module? I was going to design one so I could use the Maximite as a sound synthesiser. As for colour graphics there's a module (the PICASO) that you can get from Sparkfun that lets you send it serial data and draw stuff on the screen. Here's the link: http://www.sparkfun.com/products/10329. It's about US$59.95, though, so it's a bit of a pricey solution. Capacitance is futile - roll on 2012! |
||||
ksdesigns Senior Member Joined: 25/06/2011 Location: United StatesPosts: 143 |
i will post on when i get it done this week if you want a easy way sparkfun sells a breakout board for the dac Sparkfun MCP4725 for about 5$ ken |
||||
ksdesigns Senior Member Joined: 25/06/2011 Location: United StatesPosts: 143 |
Put up a short video here Pic32 Space Invaders Probably my worst game play ever Added a resistor DAC for the audio sounds much much better than the pwm audio will post a Maximite version in the next few days ken |
||||
jman Guru Joined: 12/06/2011 Location: New ZealandPosts: 711 |
Hi Ken Well done it looks really cool Cant wait to test it John |
||||
Nick Guru Joined: 09/06/2011 Location: AustraliaPosts: 512 |
Yep! That's Space Invaders alright. The only problem I see is... How many people are going to blow their firmware each time just to play one game? They'll do it once to see it initially but then it will be back to MMBASIC. What's needed is a way to load and execute this emulator from MMBASIC. Nick |
||||
VK6MRG Guru Joined: 08/06/2011 Location: AustraliaPosts: 347 |
I would be quite happy to have a maximite setup permanently for a Space invaders game! But that's because I have 4 Maximites now! So I have one to spere! Its easier to ask forgiveness than to seek permission! ............VK6MRG.............VK3MGR............ |
||||
VK6MRG Guru Joined: 08/06/2011 Location: AustraliaPosts: 347 |
Any new on the space invaders yet? I'm keen as to try it out! Its easier to ask forgiveness than to seek permission! ............VK6MRG.............VK3MGR............ |
||||
ksdesigns Senior Member Joined: 25/06/2011 Location: United StatesPosts: 143 |
Sure i will try and Build a Maximite version tonight for you .. ken |
||||
elproducts Senior Member Joined: 19/06/2011 Location: United StatesPosts: 282 |
Ken, Is that Space Invaders code posted anywhere we can download? www.elproducts.com |
||||
robur25 Newbie Joined: 23/12/2011 Location: United KingdomPosts: 1 |
Howdy - looking for the DuinoMite download too..... something to inspire my son this holiday - fingers crossed. Any news Ken? |
||||
snowwy Newbie Joined: 17/12/2011 Location: United KingdomPosts: 6 |
Fantastic! Would it be available on the Duinomite-mega? Also, is there anywhere I could download the trs-80 emulator? Would it work unmdified on the Mega? Thanks :) |
||||
Print this page |