Author Topic: Grayscale and BFile  (Read 2574 times)

0 Members and 1 Guest are viewing this topic.

Offline Horrowind

  • LV2 Member (Next: 40)
  • **
  • Posts: 25
  • Rating: +6/-0
    • View Profile
Grayscale and BFile
« on: May 31, 2011, 06:58:22 pm »
While messing a bit with the (offical) SDK for the 9860, these two issues happend: First, when opening a file from the SD-Card after initializing grayscale, the screen leaves blank, when you try to swap the buffers and second, reading from SD-Card causes heavy flicker. I tried to make a simple videoplayer, so I simply repeatedly loaded the first 1024 bytes of a file in the first buffer, and the next 1024 in the second buffer and so on.

So the question is: Is there a way to make the grayscale smooth while IO or is there no way to fix it by design of the creation of gray?!

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Grayscale and BFile
« Reply #1 on: August 13, 2011, 05:31:23 pm »
Herm... I dunno, the calculator does not work soo hardly to IO, but the timer may be altered during IO. YOu have 40KB RAM, do calling 10KO buffers! The timer stops the calculator to make a user function...

Offline Horrowind

  • LV2 Member (Next: 40)
  • **
  • Posts: 25
  • Rating: +6/-0
    • View Profile
Re: Grayscale and BFile
« Reply #2 on: August 17, 2011, 08:56:21 am »
well... I worked it out by changing thegrayscale library to kucalcs rev-fx, but many thanks anyways :)

Hav'nt worked on it for a long time...  ::)