CPCWiki forum

General Category => Programming => Topic started by: funkheld on 12:04, 18 October 20

Title: "OOOOOOOO" in 8 color for cpc6128 in basic
Post by: funkheld on 12:04, 18 October 20

Hi good afternoon.


"OOOOOOOO"


how can i display them in basic in 8 different colors?


thank you.
greeting
Title: Re: "OOOOOOOO" in 8 color for cpc6128 in basic
Post by: trocoloco on 16:17, 18 October 20

Probably there is a better way but it works  ;)


10 MODE 0
20 FOR a=1 TO 8:READ d:INK a,d:LOCATE a,1:PEN a:PRINT "O":NEXT
30 DATA 26,15,24,13,22,6,9,20
Title: Re: "OOOOOOOO" in 8 color for cpc6128 in basic
Post by: funkheld on 17:47, 18 October 20
hello thanks.   :)


greeting
Title: Re: "OOOOOOOO" in 8 color for cpc6128 in basic
Post by: funkheld on 07:45, 19 October 20

Hi good afternoon.


How many different colors can you actually display in mode 0 and how many colors in mode 1?
"OOOOOOOOOOOOOOOOOOOOOOOOOOO"


Thank you.
greeting
Title: Re: "OOOOOOOO" in 8 color for cpc6128 in basic
Post by: eto on 08:35, 19 October 20
Palette: 27 colors

Mode 2: 2 colors
Mode 1: 4 colors
Mode 0: 16 colors

+ border color

http://www.cpcwiki.eu/index.php/Video_modes

I would suggest to have a look into the 6128 manual as it contains a good introduction to the CPC and also the Basic.

And if you are looking for more material, here should be some great books to start with:
https://acpc.me/index.php#ACME/LIVRES/[ENG]ENGLISH/MICRO_PRESS

Title: Re: "OOOOOOOO" in 8 color for cpc6128 in basic
Post by: funkheld on 11:03, 19 October 20
hello thanks for help.


greeting
Powered by SMFPacks Menu Editor Mod