Shop OBEX P1 Docs P2 Docs Learn Events
uOLED-96-PROP ASM Display driver - Page 2 — Parallax Forums

uOLED-96-PROP ASM Display driver

2»

Comments

  • BaggersBaggers Posts: 3,019
    edited 2008-09-28 07:58
    Hi Mark,
    in your edited code,
    '         if_c          mov     pixelColor, color
    '         if_nc         mov     pixelColor, fillColor
              if_c          call    #_plotRelativePixel
    
    


    if he uncomments the two commented out instructions
             if_c          mov     pixelColor, color
             if_nc         mov     pixelColor, fillColor
              if_c          call    #_plotRelativePixel
    
    


    surely he needs to remove the if_c on the call #_plotRelativePixel ? to get the background colour?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • Mark SwannMark Swann Posts: 124
    edited 2008-09-28 16:57
    Baggers said...
    Hi Mark,
    in your edited code,
    '         if_c          mov     pixelColor, color
    '         if_nc         mov     pixelColor, fillColor
              if_c          call    #_plotRelativePixel
    
    


    if he uncomments the two commented out instructions
             if_c          mov     pixelColor, color
             if_nc         mov     pixelColor, fillColor
              if_c          call    #_plotRelativePixel
    
    


    surely he needs to remove the if_c on the call #_plotRelativePixel ? to get the background colour?

    OOPS!! cry.gif You are right baggers. Thanks for catching that.

    Mark
  • BaggersBaggers Posts: 3,019
    edited 2008-09-28 17:54
    no probs Mark [noparse]:)[/noparse] easy mistake

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • Ed ParsonsEd Parsons Posts: 31
    edited 2008-09-28 21:53
    Mark,

    Thanks for the reply. I'll try out what you have suggested - what you have said about the setBackgroundColor makes a lot of sense. I'm curious though. You say you have made extensive changes to the 8-bit driver. Are you going to make those updates available?

    Ed
  • Mark SwannMark Swann Posts: 124
    edited 2008-09-29 03:17
    Ed Parsons said...
    Mark,

    Thanks for the reply. I'll try out what you have suggested - what you have said about the setBackgroundColor makes a lot of sense. I'm curious though. You say you have made extensive changes to the 8-bit driver. Are you going to make those updates available?

    Ed
    Hi Ed,

    I have made a lot of changes. My problem is that I'm having·so much fun that·I·can't·decide when to quit making changes. As my understanding grows, I get more ideas, which need to be implemented and tested, and so on.

    I have also implemented a 16-bit driver, which is working quite well, but unfortunately doubles the size of the two graphics buffers in hub ram, and squeezes other things out of the memory, such as the sprite demo. So, I'm puzzling over that issue. Plus, I'd like to stream animation or rudamentory low-res video from·the SD card, and so on, and so forth.

    I think·my 8-bit and 16-bit drivers are reasonably presentable as they stand, so fairly soon I'll zip them up and attach them here. I won't have time to do this for another couple of days, though. Sorry.

    Mark

    Post Edited (Mark Swann) : 9/29/2008 5:45:28 AM GMT
  • Ed ParsonsEd Parsons Posts: 31
    edited 2008-09-29 22:23
    Sounds good Mark. I look forward to seeing the new drivers. What do you call the next step beyond turbo - Warp?

    Ed
  • Mark SwannMark Swann Posts: 124
    edited 2008-10-02 02:05
    Ed, or anyone else interested,

    Here is my latest 8-bit and 16-bit uOLED-96-Prop driver and demo.

    Mark



    Post Edited (Mark Swann) : 10/2/2008 2:22:34 AM GMT
Sign In or Register to comment.