Jump to content



0

Can anyone help out with a simple test app for me?


3 replies to this topic

#1 Clay Cowgill OFFLINE  

Clay Cowgill

    Star Raider

  • 67 posts

Posted Mon Aug 15, 2011 12:30 AM

Hey everyone,

I'm monkeying around with some Lynx stuff and there's a simple test I'd like to be able to run, but I don't really want to have to come up to speed on Lynx programming just to do it-- so I'm hoping that someone here would be willing to knock out a little test app for me.

In a nutshell I just want "color ramp" bars. Basically Red, Green, and Blue ramping from all bits 0 to all bits 1 on a horizontal sweep-- like so:

Posted Image

If you can help out it would be much appreciated!

Thanks,
-Clay

#2 karri OFFLINE  

karri

    Stargunner

  • 1,049 posts
  • Location:Espoo, Finland

Posted Mon Aug 15, 2011 10:08 PM

Not the easiest thing to do as the Lynx can only show 16 colors and you want 64.

So you could display 16 vertical boxes with indices 0 - 15. Then you need to set up an interrupt or for every scanline and change the palette.
-
Karri

#3 Clay Cowgill OFFLINE  

Clay Cowgill

    Star Raider

  • 67 posts

Posted Tue Aug 16, 2011 12:50 AM

View Postkarri, on Mon Aug 15, 2011 10:08 PM, said:

So you could display 16 vertical boxes with indices 0 - 15. Then you need to set up an interrupt or for every scanline and change the palette.

Ah, right-- I forgot about the palette restriction. No worries though, got it figured out. Had a couple bits swapped and couldn't figure out where the problem was for a while. All good now.

Thanks!
-Clay

#4 matashen OFFLINE  

matashen

    Moonsweeper

  • 397 posts

Posted Wed Aug 17, 2011 12:33 PM

View PostClay Cowgill, on Tue Aug 16, 2011 12:50 AM, said:

View Postkarri, on Mon Aug 15, 2011 10:08 PM, said:

So you could display 16 vertical boxes with indices 0 - 15. Then you need to set up an interrupt or for every scanline and change the palette.

Ah, right-- I forgot about the palette restriction. No worries though, got it figured out. Had a couple bits swapped and couldn't figure out where the problem was for a while. All good now.

Thanks!
-Clay

Send us your code you monkeying around with, than we show you whats wrong.

the easy way is to draw it as single sprite. the other ways are depending on the type of programming language you want to use.

Regards Matashen




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users