CVS: examples/video/TVTetris README.txt,1.2,1.3
Chris Liechti <[email protected]>
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/examples/video/TVTetris
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28564/examples/video/TVTetris
Modified Files:
README.txt
Log Message:
- update readmes
- build the HTML docs using docutils
Index: README.txt
===================================================================
RCS file: /cvsroot/mspgcc/examples/video/TVTetris/README.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- README.txt 11 Jul 2003 00:49:14 -0000 1.2
+++ README.txt 5 Jan 2006 01:35:10 -0000 1.3
@@ -1,30 +1,35 @@
-what's this?
-------------
-It's a simple example project for the MSP430 series MCU and the GCC port
-of the mspgcc project. This one does output software generated video.
+TVTetris
+========
+
+Overview
+--------
+This is an example project for the MSP430 series MCU and the GCC port
+of the mspgcc project. This one outputs software generated video to a TV.
- PAL BAS signal, plug itto the chinch/scart input of your TV
- only two resistors for the video signal
- a couple of pullup registors and swiches as keypad. its possible
to reuse one of the old joysticks from the C64 time ;-)
-required hardware
+Required hardware
-----------------
-It's the same hardware as for the pong game.
+It's the same hardware as for the pong_ game.
- a MSP430F1121 or larger device (probably any from the F1x series)
- 8MHz crystal with two 22p caps
- buttons, each with 10k to 100k pullup:
- on Port 1
+ on Port 1::
+
P1.3 FIRE1
P1.4 UP1
P1.5 DOWN1
P1.6 LEFT1
P1.7 RIGHT1
- on Port 2 (not used with this software)
+ on Port 2::
+
P2.4 FIRE2
P2.3 UP2
P2.2 DOWN2
@@ -32,12 +37,14 @@
P2.0 RIGHT2
- video out
+
This is a simple 2 bit D/A converter with nonlinear
distribution of the levels. The impedance of the TV
makes this working...
I'm not sure if these values are correct... i had to figure
out what value the SMD chip resistors have.
+ ::
P1.0 +-------+
O-----+ 220R +-------+------O Video output
@@ -47,8 +54,10 @@
O-----+ 680R +-------+
+-------+
- - audio out (not used with this software)
+ - audio out
+
This is surely not a good cicuit but it works somehow ;-)
+ ::
P1.2 +-------+
O-----+ 1k8 +----+-----+---O Audio output
@@ -64,7 +73,7 @@
- powered with 3.0 to 3.3 Volts
-implementation details
+Implementation details
----------------------
The video output is done in the Timer_A0 compare interrupt. To achieve the
needed speed two 16 bits words are preloadedin two registers and then are
@@ -92,13 +101,16 @@
This project was inspired by some PIC-Pong games that use the uC from
Microchip. You can find two examples here:
- http://www.efd.lth.se/~e96rg/mc/mc.html
- http://www.rt66.com/dthomas/pic/pong.html
+- http://www.efd.lth.se/~e96rg/mc/mc.html
+- http://www.rt66.com/dthomas/pic/pong.html
-disclaimer
+Disclaimer
----------
This example is part of the mspgcc project http://mspgcc.sf.net
-see license.txt for details.
+see license_ for details.
chris <[email protected]>
\ No newline at end of file
+
+.. _pong: ../TVPong/README.html
+.. _license: LICENSE.txt
\ No newline at end of file
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click