CPCWiki forum

General Category => Programming => Topic started by: scruss on 02:26, 26 February 23

Title: Dithertron / 8bitworkshop
Post by: scruss on 02:26, 26 February 23
I haven't seen any mention of Dithertron (https://8bitworkshop.com/dithertron/#) or even its parent project, 8bitworkshop online IDE (https://8bitworkshop.com/). It supports the Amstrad CPC 6128.

Dithertron takes pictures and dithers them appropriately for loading on 8-bit computers. Here's a sample MODE 0 image I made earlier:

(https://scruss.com/wordpress/wp-content/uploads/2023/02/cpc-minor.png)

The IDE even makes a very simple viewer stub in Z80 assembly language, so you can load the image directly. Here's a sample disk image: morris_minor-cpc.zip (https://scruss.com/wordpress/wp-content/uploads/2023/02/morris_minor-cpc.zip)

Note that the viewer code stops in an infinite loop by default, but you can change it in the online IDE.
Title: Re: Dithertron / 8bitworkshop
Post by: zhulien on 17:52, 03 March 23
Awesome!!! I wonder if they have an API to dynamically convert?
Title: Re: Dithertron / 8bitworkshop
Post by: Ynot.zer0 on 22:11, 01 May 23
That's pretty amazing!

Does anyone know how I can use the generated image file from C code? CPCtelera - as the CPC6128 examples are all using this - I'm using this tool as an intro to coding in CPCtelera C framework.


It did a great job of a mode1 image of my custom car  :o
Title: Re: Dithertron / 8bitworkshop
Post by: Ynot.zer0 on 11:10, 02 May 23
I think I found my own answer?: cpct_bin2c (http://lronaldo.github.io/cpctelera/files/commandline/cpct_bin2c-.html#cpct_bin2c)
Powered by SMFPacks Menu Editor Mod