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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/04/06 23:56
Read: times


 
#115617 - How about an LCD driver on a '52?
Responding to: ???'s previous message
ISTR that there's plenty of code for an LCD interface.

If it's memory-mapped, say, at 0xFFF8..9, and driven in the "usual" way, similarly in Pascal and 'C' with, perhaps, a version in assembler for comparison, it would be useful enough, contain most of the elements that lots of code would require, and, with the aid of an input stream via the serial port, would probably provide all the interesting elements involving serial I/O, timers, Memory-mapped I/O, some "sort-of" critical timing, and it's code that has been done, already, in a number of ways. You could choose whatever is your preference, AND, you could include a 4x5 keypad, if you like, just for completeness with parallel I/O using port 1. I could install it on some hardware and make timing measurements, code size comparisons, etc. There's 'C' code for such on the NMIY site, for their NMIY-031 board. That's not the "cleanest" imaginable code, and it's written in Small-C, so it would probably work for "seed" without being ready-made. It would allow for some comparison, though.

Does that seem reasonable? It shouldn't take more than an hour or two ...

RE


List of 61 messages in thread
TopicAuthorDate
asembly or c?            01/01/70 00:00      
    A million opinions probably            01/01/70 00:00      
      my level            01/01/70 00:00      
         C vs Assembly            01/01/70 00:00      
            Deatails Please            01/01/70 00:00      
               Later            01/01/70 00:00      
                  and is negative results as well thanks            01/01/70 00:00      
                     Pure Assembly            01/01/70 00:00      
                        writing in assembler is fine if......            01/01/70 00:00      
                        Mixed Language Programming            01/01/70 00:00      
                           Most cases            01/01/70 00:00      
                        word choice            01/01/70 00:00      
            Oh no, that old chestnut again!            01/01/70 00:00      
            C is better            01/01/70 00:00      
               No! It depends            01/01/70 00:00      
                  Absoultely!            01/01/70 00:00      
         C51 Primer !            01/01/70 00:00      
         Was            01/01/70 00:00      
         I like C, but...            01/01/70 00:00      
            blah, blah, blah            01/01/70 00:00      
               Relative choise            01/01/70 00:00      
                  Oh no, that old chestnut yet again!            01/01/70 00:00      
                     Optimization Trail            01/01/70 00:00      
                     good usage of a tool            01/01/70 00:00      
                        don't you know OVERLAYABLE            01/01/70 00:00      
                           All assemblers are not equal?            01/01/70 00:00      
                              I mentioned Keil in my post            01/01/70 00:00      
                           Why the half step only ?            01/01/70 00:00      
                              internals?            01/01/70 00:00      
                                 offtopic but...            01/01/70 00:00      
                  Please            01/01/70 00:00      
                     HHL?            01/01/70 00:00      
                        Yes            01/01/70 00:00      
                     bingo and a bit more            01/01/70 00:00      
                  powerful macros            01/01/70 00:00      
                  There's the catch!            01/01/70 00:00      
   Both            01/01/70 00:00      
   Hmmm            01/01/70 00:00      
      Choice Between Two Female            01/01/70 00:00      
   Use neither !            01/01/70 00:00      
      how can that be 'neither'            01/01/70 00:00      
      Hey - there's TWO of you            01/01/70 00:00      
          nooooo            01/01/70 00:00      
            Rumbled!            01/01/70 00:00      
      Yeeeee HAAAAAH            01/01/70 00:00      
         font in the greek alphabet that is very            01/01/70 00:00      
         Yes, but...            01/01/70 00:00      
            No bounds checks            01/01/70 00:00      
               How about an LCD driver on a '52?            01/01/70 00:00      
                  Who gives a hoot about 'memory usage' wh            01/01/70 00:00      
                     Some people do ...            01/01/70 00:00      
                        that is not the argument            01/01/70 00:00      
                           Maybe there's another way            01/01/70 00:00      
                              who is off topic now?            01/01/70 00:00      
                                 True, but why?            01/01/70 00:00      
                                    where is the diversion            01/01/70 00:00      
                                       It's a thorny issue            01/01/70 00:00      
                     The Benchmark delema            01/01/70 00:00      
                  Sieve of Erasthothenes            01/01/70 00:00      
                     The prime finder is a mathematical proce            01/01/70 00:00      
                        therefore it's inadequate on its own            01/01/70 00:00      

Back to Subject List