After I had finished a “car race” for Pong board I switched to C. In my modest opinion Bascom is realy strange. As a preparation for my own pong version I needed some “printf” function. Unfortunately pong “screen” resolution does not offer too much space. 3 and a half simple characters pushed me to write a scroll version.
http://www.youtube.com/watch?v=ZirsktlLofI
If you are going to write any text, numbers or whatever it might be interesting for you to look at the code.
I defined almost complete ASCII character set (small letters are missing). You can scroll a text from right to the left in a defined window. The text can be placed either in the SRAM or in the PROGRAM memory. It is a simple C null terminated text. The speed of scrolling can be amended with right potentiometer. In the source code you can find also a simple string print function.
Download the AVR 4 Studio / WinAVR files from here
I have a Idea
Music with Atmega8
Look this Page
is a running Commodore 64 Sid on Atmega8
please modding to run on Ping Pong from Conrad
http://roboterclub-freiburg.de/atmega_sound/atmegaSID.html
http://www.hobby-roboter.de/forum/viewtopic.php?f=5&t=2
http://www.mikrocontroller.net/topic/66945
Comment by Josef Maier — August 7, 2010 @ 12:34 am
Sure it is an idea but you cannot combine SID emulator with a game – Atmega8 has got to small memory and power to operate these two tasks in a concurrent way.
Comment by Piotr — August 10, 2010 @ 6:49 pm