Create smallest file to display logo

  • Status: Closed
  • Prize: $50
  • Entries Received: 2
  • Winner: goharriz

Contest Brief

Have a 12mhz 8051-based product with a 256x64 graphic display module. The module's LCD controller is a Hitachi HD61830.

This contest is to find the smallest possible C code that can be compiled with the latest version of Keil C51 and display a static logo on the screen. Our current logo.c file takes up too way too much code space.

I am attaching the current file called Logo.C and an image photo of the how the current code renders on the display. Also provided a revised image showing how we want it to look.

Please also read the readme.txt file.

I also included a CorelDraw file that includes the logo on one layer and the 256x64 pixel grid on another layer. CorelDraw can export many formats that you may want to create.

Recommended Skills

Employer Feedback

“What a great job!”

Profile image smartnetworx, United States.

Public Clarification Board

  • thomp
    thomp
    • 9 years ago

    Up the prize by 100x and you might get a usable solution if you're lucky?

    • 9 years ago
    1. smartnetworx
      Contest Holder
      • 9 years ago

      It seem I had good luck even without the need for a $5000 contest as you suggested. Clever Run-Length Encoding changed the file from 2048 to 713 bytes. I think we may even be able to shrink it further. Now we'll have to see if decoding it during runtime provides a satisfactory result. I think it will be fine since this is somewhat of a screen saver and it only needs to be generated when the device becomes idle.

      • 9 years ago
  • amitks82
    amitks82
    • 9 years ago

    If you can't get the right solution (expected code size, working display function) here, you could contact me for the same. Surely could help.

    • 9 years ago
  • datvo07
    datvo07
    • 9 years ago

    A new filetype my friend? along with An encrypter/compresser and decrypter?

    • 9 years ago
  • smittynpro
    smittynpro
    • 9 years ago

    In the code for( ptr = Display[0]; ptr != Display[64]; ptr++ ) { ... is it possible use "parts" of code? I mean, the P and R are similar only by the bottom-right part. Then, using code unsigned char arrays and mixing them using shifts under the display...could be?

    • 9 years ago

Show more comments

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!