VS23S010 Palette Editor (microcode simulator)

Designing hardware and software that uses the VS23S0X0 family of ICs as a 8-bit or SPI SRAM memory or as a Video Controller for generating Composite Video (TV-Out) or driving other kinds of displays.
Post Reply
User avatar
Panu
VSDSP Expert
Posts: 2829
Joined: Tue 2010-06-22 13:43

VS23S010 Palette Editor (microcode simulator)

Post by Panu »

Dear VS23S010 users,

At viewtopic.php?f=14&t=1813&p=8938#p8938 you can find a tool for exploring the VS23S010 PAL/NTSC colorspace and palette (microcode) options.

Image
User avatar
Henrik
VLSI Staff
Posts: 1294
Joined: Tue 2010-06-22 14:10

Re: VS23S010 Palette Editor (microcode simulator)

Post by Henrik »

For those of you running Linux, Panu's Windows binary has been tested to work on Kubuntu 14.04 LTS under Wine, although it runs significantly slower than on native Windows.

If you are running some flavour of Unix and want to try, I've attached a command line version of the program to this message, along with some library code I wrote decades ago that makes it possible to write the palette as a NetPbm .PPM image file.

The source code is very small, and included is a simple Unix Makefile, so you should be able to compile it in less than a second using your favourite Unix flavour by just saying "make" in the project directory.

Example run:

Code: Select all

vs23s010_microcode> ./vs23s010microcode -p -o out.ppm N:C4:B62:A63:Y33:N10
FYI: Colour burst amplitude 5.7, phase 135.0 degrees
FYI: Microcode uses 8 bits per pixel, colourmap has 256 colours
FYI: Success
Output from that run (scaled to half size and converted to PNG to save screen and disk space):
out.png
out.png (2.8 KiB) Viewed 5915 times
Kind regards,
- Henrik
Attachments
vs23s010_microcode.zip
Standard C code version of the microcode colourmap generator with Unix-style Makefile.
(10.04 KiB) Downloaded 323 times
Good signatures never die. They just fade away.
User avatar
Henrik
VLSI Staff
Posts: 1294
Joined: Tue 2010-06-22 14:10

Re: VS23S010 Palette Editor (microcode simulator)

Post by Henrik »

Below is a comparison of the simulator output (left half of the image) vs actual VS23S010 output photographed from a TV screen (right half of the image):
N36_B62_A63_Y33_N10.png
N36_B62_A63_Y33_N10.png (150.07 KiB) Viewed 5908 times
Kind regards,
- Henrik
Good signatures never die. They just fade away.
Post Reply