ON 20030504@9:52:03 AM at page:
http://www.sxlist.comscenix/contest/triple.htm
JMN-EFP-786 James Newton published post 37745.2140972222
SX-TETRIS with a color composite videosignal generated in software
Could my SX-based video generating
tetris game that I released two days ago might be a possible entry for this competition ? The
game was actually done over a year ago so it is not really new but I didn't release it until now because the documentation wasn't done, so it is kind of news anyway as it was just released on my electronic
project page with full source and information on how it works.
This is quite a good example of SX chips showing their power compared to
PIC chips as I made a tetris game with a PIC a couple of years ago that
was B&W, but using SX-chips it is possible to do quadrature modulation in
software to be able to generate a composite color signal, the music is
also now in 5 bits instead of 1-bit as with my PIC-based game, thanks to
the extra power of the SX-chips.
The code has several cool code things, like for example the general
optimized Delay Macro that generates a delay with very little memory
usage, without the delay amcro this project would have been impossible.
There are a bunch of cool graphic routines that makes it easy for others
to make their own color video stuff also that are quite nice. For exaple
the brick output routine and the textoutput routine, the later has a
nice example of loop-unrolling to get the spacing between characters down
to 2pixels from 3 (12 clocks per pixel, so it makes a lot of difference) which gives room for a couple of
extra charcters on the screen.
/ Rickard Gunee
|Delete 'P-' before: '' but after: '