Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/18/05 00:01
Read: times


 
#95226 - Re: 8051 video graphics
Responding to: ???'s previous message
Hi Jan,


Where do you store the 6400x9(!)bit pixel information?
And your pixel clock appears to be somewhere between 2 and 3 MHz, is it derived from the processor clock? And the vertical resolution is quite low, are the lines repeated (4x)?


Because the memory on the 89C2051, at 128 Bytes, would be clearly too small, I ended up developing a 'sprite' generator (the entire code is nearly 2K!) that would load ROM-based character patterns (there's a 128-character table in there from recollection). Therefore each sprite position (x,y), their color (1 to 512), and status (health) are each stored in about four bytes of RAM.

The reasons why I selected 100 x 64 resolution...

1.) x-axis pixel rate limited (without overclocking) to 2Mhz.
2.) y-axis pixel count becomes 64 in order to make the pixels look 'square'. Each y-axis pixel is therefore repeated 5 times.

More information (and perhaps schematics and (fragments of) code) would be nice...


The sprite generator part is still a work in progress (ie: I've gone back on it to do some simple 3D experimentation), but I hope to release more information at a later date - or perhaps even a tutorial.


Valentin

List of 16 messages in thread
TopicAuthorDate
Re: Video graphics using 8051            01/01/70 00:00      
   re:video game            01/01/70 00:00      
      Re: 8051 video graphics & robotics            01/01/70 00:00      
   be aware            01/01/70 00:00      
      Re: 8051 video graphics            01/01/70 00:00      
         SILabs bought Cygnal            01/01/70 00:00      
            Re: SILabs bought Cygnal            01/01/70 00:00      
               speed?            01/01/70 00:00      
                  Re: hamburger with the lot            01/01/70 00:00      
                     an american expression            01/01/70 00:00      
                        "Bells and Whistles"            01/01/70 00:00      
                  goal            01/01/70 00:00      
   video            01/01/70 00:00      
      Re: 8051 video graphics            01/01/70 00:00      
         COMPLETELY confused now...            01/01/70 00:00      
            Re: 8051 out of 'grunt'            01/01/70 00:00      

Back to Subject List