CPCWiki forum

General Category => Demos => Topic started by: AMSDOS on 13:27, 20 August 10

Title: 5k Demo 3
Post by: AMSDOS on 13:27, 20 August 10
More demos for your WebCPC!  ;D
 
[cpc=http://cpcwiki.eu/forum/index.php?action=dlattach;topic=1271.0;attach=872]CPC6128[/cpc]
Title: CP/M v2.2 Mandelbrot (was: re: 5k Demo 3)
Post by: AMSDOS on 14:36, 20 August 10
Okay so it was all about the Mandelbrot in 5k Demo 3, he's a Disk Image of the one I ported in Turbo Pascal!  ;D 
 
[cpc=http://cpcwiki.eu/forum/index.php?action=dlattach;topic=1271.0;attach=900,|CPM]CPC6128[/cpc]
 
To use it in WebCPC, it will Boot straight into CP/M v2.2 from there you can type
 
AMSMNDEL
 
at the prompt which will load the program in CP/M v2.2 Colours or you can run
 
RESETCOL
 
to reset the colours back to Locomotive BASIC (I hope  ;D ).
Title: Re: CP/M v2.2 Mandelbrot (was: re: 5k Demo 3)
Post by: AMSDOS on 08:32, 05 September 10
Okay, I just updated this Disk Image which includes a program to Setup the Inks and Borders. To use that simply access the WebCPC presentation in the previous message (I've updated the Disk Image), which will bootup CP/M v2.2 and type:
 
SETINK
 
at the A> Prompt. The program will then proceed to ask which Mode to use - for the Mandelbrot it uses Mode 1, so use Mode 1  ;D  Depending on the Mode you select this will not change the screen mode, it will only prompt into the number of colours to setup, so you could say Mode 0, but then you'll have to specify which 16 Colours to use (0-15), Mode 1 will naturally ask for 4 and Mode 2 - 2 colours! I've already played around with this to see what colours look good for the Mandelbrot which I'll provide below. Once you get through all the Screen Inks it will ask you for the Border Colour. Now, what I've done here is because I was trying to keep it in Line with the other colours selected, the number you select here will correspond to the number out of the defined colours - so for example ink 1 you selected 26, if you say 1 for the border, it will use colour 26 which is bright white, so don't panic when you were expecting Blue!  ;D  For the Mandelbrot I generally use number 2 - the reason being I found the Mandelbrot looked best when Ink 2 was used for the Black.
 
So here's my colours selected, I found them all quite interesting, though Mandelbrot6 is my favourite which is a variation of the Colours used in Fantasy World Dizzy.
 
Mandelbrot1
182506
Mandelbrot2
325018
Mandelbrot3
266018
Mandelbrot4
36015
Mandelbrot5
181909
Mandelbrot6
626018
Mandelbrot7
11102
Mandelbrot8
1514025
Mandelbrot9
226015
Mandelbrot10
1326025
Mandelbrot11
11901
Mandelbrot12
152606