pseudo hires advancements

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
nollkolltroll
Posts: 325
Joined: Sat Sep 27, 2014 8:02 pm
Location: Stockholm, Sweden

pseudo hires advancements

Post by nollkolltroll »

I've made some advancements regarding conversion of pictures to pseudo hires. Here is a sample of picture output:
Lenna_256x192_pseudo-hires.gif
Lenna_256x192_pseudo-hires.gif (6.85 KiB) Viewed 3372 times
/Adam
Steven McDonald_81
Posts: 3
Joined: Sun Feb 21, 2016 3:38 pm
Location: U.K.
Contact:

Re: pseudo hires advancements

Post by Steven McDonald_81 »

Wow that's amazing!
How did you manage this?
nollkolltroll
Posts: 325
Joined: Sat Sep 27, 2014 8:02 pm
Location: Stockholm, Sweden

Re: pseudo hires advancements

Post by nollkolltroll »

I use a plain Floyd-Steinberg algo to convert from a grayscale picture, and when I have an ideal byte I get the pseudo-byte that gives the least amount of faulty bits. Then I recalculate the errors around the pseudo-byte and continue. There will be python code released later, if there is interest. It is too rough at the moment for public consumption.

It is also possible to generate 320-wide and/or interlaced modes to get even more resolution.
/Adam
Steven McDonald_81
Posts: 3
Joined: Sun Feb 21, 2016 3:38 pm
Location: U.K.
Contact:

Re: pseudo hires advancements

Post by Steven McDonald_81 »

That's very clever - I was interested in how you managed to pattern match from the limited bit combinations available - analysing for the closest bit match is a clever solution. Very impressed - can you maybe post some more example pictures?

Does your routine allow for different values of the i register?
I could never decide which "I thought" was the most "optimal value'" or bang for the buck - I am sure I settled on 12 for
most of my hires routines and I'm sure from memory most other pseudo hires routines tended to use that value also.. But I do remember testing and looking at the bit patterns available for other values..
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: pseudo hires advancements

Post by sirmorris »

I think you did OK, Steve ;) :lol:
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: pseudo hires advancements

Post by sirmorris »

nollkolltroll wrote:I've made some advancements regarding conversion of pictures to pseudo hires.
Not half. Nice work Adam!
:ugeek:
User avatar
1024MAK
Posts: 5124
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: pseudo hires advancements

Post by 1024MAK »

I honestly don't know what to say... :shock: 8-)

But do keep at it. Then we can look forward to some more lovely pictures ;)
Great work :D

Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Looking forward to summer later in the year.
nollkolltroll
Posts: 325
Joined: Sat Sep 27, 2014 8:02 pm
Location: Stockholm, Sweden

Re: pseudo hires advancements

Post by nollkolltroll »

More pictures will follow when I get the time to generate some. I'll make executables as well, so you can see them on your real zeddies.
I go through all I-values and choose the picture I like best. I had an idea to change I for each line to minimize errors even further, but I doubt I'll see any difference.
/Adam
nollkolltroll
Posts: 325
Joined: Sat Sep 27, 2014 8:02 pm
Location: Stockholm, Sweden

Re: pseudo hires advancements

Post by nollkolltroll »

A new example for the ZX81, filling most of the 16k RAM. Not tested on real HW, only EO.
PseudoHires_Metropolis.p
(15.76 KiB) Downloaded 175 times
/Adam
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: pseudo hires advancements

Post by PokeMon »

Wow - looks amazing.
Now I am waiting for a Freddy Krueger implementation. :mrgreen:
Post Reply