Image viewer for SPI RAM

Use this forum to share and discuss Uzebox games and demos.
Post Reply
User avatar
Jubatian
Posts: 1230
Joined: Thu Oct 01, 2015 9:44 pm
Location: Hungary
Contact:

Image viewer for SPI RAM

Post by Jubatian » Fri Nov 30, 2018 11:57 pm

Hope you are still around, it feels odd that seemingly nothing happened here since weeks. Practically since I am without internet access.

Anyway, here is something.

Use it on a Uzebox with SPI RAM. Hope you like it :)

(I am writing from a phone, it was a real mess to get the file here. I might not have Internet for a while still)
Attachments
uimgview.tar.bz2
Image viewer demo
(315.23 KiB) Downloaded 4 times

User avatar
nicksen782
Posts: 533
Joined: Wed Feb 01, 2012 8:23 pm
Location: Detroit, United States
Contact:

Re: Image viewer for SPI RAM

Post by nicksen782 » Sat Dec 01, 2018 4:00 pm

I'm still around! I've been working on a couple things so you can expect some new posts from me soon.

This is incredible! How does this work? Do you stream in the bytes directly during the screen draw? Are ram tiles somehow involved? There appears to be quite a bit of detail and each of the images is exactly 23,220 bytes. I would assume they are uncompressed.

The SPIRAM video mode seems pretty awesome. I wonder, could you allow for a screen to be drawn like this but with mode 3?

Good luck!

CunningFellow
Posts: 1147
Joined: Mon Feb 11, 2013 8:08 am
Location: Brisbane, Australia

Re: Image viewer for SPI RAM

Post by CunningFellow » Sat Dec 01, 2018 8:23 pm

Awesome.

What is the resolution and colour depth?

I did a proof of concept SD card video mode to replace Mode7 because of a game I wanted to do a port of.

By using all the Hsync and VSycn blanking time as well as visible for reading the SD card I could only manage I think about 160x200 in 64 colours. It may not have been exactly 160x200 I just remember it being comparable to Amstrad Mode0 in res.

Your pictures there look higher res that 160 (9 clocks per pixel).

How did you do it?

I'm working on the RLE mode. I've got something very cool running but it breaks from some angles so I am debugging at the moment. I'll post a still shot in a bit to keep the forum busy.

User avatar
Jubatian
Posts: 1230
Joined: Thu Oct 01, 2015 9:44 pm
Location: Hungary
Contact:

Re: Image viewer for SPI RAM

Post by Jubatian » Sun Dec 02, 2018 11:13 pm

Huh, thank you!

Higher resolution, indeed, it is 232x200, square pixels. You can generate images for it using the Uzebox branch of InsaniQuant (on my GitHub). It is 4 bits per pixel.

There is a lot more to this, even already done on my PC. A new kernel, you could play music while displaying these, a 200x200 pixel square Mode 74 like tiled mode accompanies it, designed with clean C interface. I still need to port the sprite engine to it, though, as it has a new RAM tile architecture compared to other Mode 74 like stuff.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest