philetaylor Posted February 26, 2009 Report Share Posted February 26, 2009 Hi all.Well I was at a bit of a loose end tonight and I wanted to come up with an interesting midibox project, partly to put my dog glcd driver through its paces and partly for a bit of fun. While I was searching around the Internet, I came across a PIC based space invaders http://users.picbasic.org/projects/Space%20Invaders/space_invaders.htm (written in PICBASIC !!). I wondered how difficult it would be to port it to MIOS. Well the answer is:MIOS INVADERS :o :oIt is working (to a point) although porting from basic creates VERY messy code that I doubt I will clean up much but it has been fun, I plan to add midi sound (so as least it is slightly relevant to midibox!) and once I have finished the program I did wonder whether it's appropriate to add it as a MIOS app in svn ? :)CheersPhil Quote Link to comment Share on other sites More sharing options...
stryd_one Posted February 26, 2009 Report Share Posted February 26, 2009 Hahaha someone finally did it! Wicked! Yeh man throw it on SVN please :D Quote Link to comment Share on other sites More sharing options...
JMS Posted February 26, 2009 Report Share Posted February 26, 2009 word, i'd love to play this on my seq during breaks from rockin out on the sampler!(it has a 16x2 lcd?) Quote Link to comment Share on other sites More sharing options...
nILS Posted February 26, 2009 Report Share Posted February 26, 2009 Way cool! Definitely beats my rudimentary "mod matrix pong" ;-) Quote Link to comment Share on other sites More sharing options...
ultra Posted February 26, 2009 Report Share Posted February 26, 2009 chronic this is the dog glcd.i think this is awesome phil. it reminds me of the hidden games on our scopes at school. some have tetris and others have centipede. Quote Link to comment Share on other sites More sharing options...
Twin-X Posted February 26, 2009 Report Share Posted February 26, 2009 How cool is this!!! :D Quote Link to comment Share on other sites More sharing options...
philetaylor Posted February 26, 2009 Author Report Share Posted February 26, 2009 OK, I have committed it to svn.It isn't really finished as I am struggling to get the display of 'missiles' working. PICBASIC has single pixel Plot and UnPlot functions which I can't seem to replicate. I guess that it must use a screen buffer as there doesn't seem to be any other way to manipulate single pixels. Any suggestions on this would be welcome.It is still very messy and definately not optimized, it is almost a line-for-line copy of the BASIC version. Add the fact that it has a 1K splash screen and it almost fills the PIC :)I would be interested to hear if it works with any other GLCD's!Have fun :DPhil Quote Link to comment Share on other sites More sharing options...
philetaylor Posted February 27, 2009 Author Report Share Posted February 27, 2009 The more I look at this, it makes me wonder whether a generic library for GLCD's would be a good idea, something that can draw shapes and manipulate pixels etc may be useful???The main issue that I can see is that it would need to maintain a buffer as particularly with the DOG GLDS's, there is no method of reading data back from the display. This would need 1K of RAM for a 128x64 display (unless compression was used) which really limits its usefullness on PIC devices but I may look at something for MIOS32.....CheersPhil 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.