Author Topic: mViewer - Nspire BMP viewer  (Read 34035 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: mViewer - Nspire BMP viewer
« Reply #105 on: March 11, 2011, 11:54:01 pm »
Thanks for that great test, DJ.
How many Mb large is your image?
3.9 MB large. Could it be that I was running out of memory or something? I had a few other large pics on my calc.

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: mViewer - Nspire BMP viewer
« Reply #106 on: March 12, 2011, 02:56:27 am »
My Ndless 2.0 build doesn't work with Ndless 1.7.

What happens? Do you know which 2.0-specific feature you are using?

- reboots (rare)

I hope the shift of the screen will be fixed for the final release.
But I don't have any bug reports related to reboots, if you want me to investigate I would need more information.
Ndless.me with the finest TI-Nspire programs

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: mViewer - Nspire BMP viewer
« Reply #107 on: March 12, 2011, 08:09:46 am »
The screen shift issue is actually caused by reads and writes from the screen i/o. A memcpy-ied screen buffer should be used for the reads. Could you check if there is anything like this in your code?
Ndless.me with the finest TI-Nspire programs

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: mViewer - Nspire BMP viewer
« Reply #108 on: March 16, 2011, 10:22:49 am »
The screen shift issue is actually caused by reads and writes from the screen i/o. A memcpy-ied screen buffer should be used for the reads. Could you check if there is anything like this in your code?

mViewer is using its own 16-bits screen buffer.

mViewer's viewer is using 2 buffers. The screen is refreshed by switching the buffers addresses.

But mViewer's browser is reading/writing directly on a single buffer...
And debug messages too...
TI-Planet co-admin.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: mViewer - Nspire BMP viewer
« Reply #109 on: December 11, 2011, 11:13:40 am »
mViewer has been updated to version 3.1.

I've just fixed a little bug: some RLE-compressed BMP weren't readable as the end of the RLE wasn't standard according to the reference documents I've been using.


http://tiplanet.org/forum/viewtopic.php?t=8541



In parallel, I'm still working on mViewer CX:

TI-Planet co-admin.