News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

"OOOOOOOO" in 8 color for cpc6128 in basic

Started by funkheld, 12:04, 18 October 20

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

funkheld


Hi good afternoon.


"OOOOOOOO"


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


thank you.
greeting

trocoloco

#1

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

funkheld


funkheld


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

eto

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


funkheld


Powered by SMFPacks Menu Editor Mod