Author Topic: "OOOOOOOO" in 8 color for cpc6128 in basic  (Read 307 times)

0 Members and 1 Guest are viewing this topic.

Offline funkheld

  • CPC6128
  • ****
  • Posts: 262
  • Liked: 16
  • Likes Given: 0
"OOOOOOOO" in 8 color for cpc6128 in basic
« on: 14:04, 18 October 20 »

Hi good afternoon.


"OOOOOOOO"


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


thank you.
greeting

Offline trocoloco

  • Supporter
  • CPC6128
  • *
  • Posts: 151
  • Country: es
  • Liked: 59
  • Likes Given: 496
Re: "OOOOOOOO" in 8 color for cpc6128 in basic
« Reply #1 on: 18:17, 18 October 20 »

Probably there is a better way but it works  ;)

Code: [Select]
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
« Last Edit: 18:22, 18 October 20 by trocoloco »

Offline funkheld

  • CPC6128
  • ****
  • Posts: 262
  • Liked: 16
  • Likes Given: 0
Re: "OOOOOOOO" in 8 color for cpc6128 in basic
« Reply #2 on: 19:47, 18 October 20 »
hello thanks.   :)


greeting

Offline funkheld

  • CPC6128
  • ****
  • Posts: 262
  • Liked: 16
  • Likes Given: 0
Re: "OOOOOOOO" in 8 color for cpc6128 in basic
« Reply #3 on: 09: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

Offline eto

  • Supporter
  • CPC464
  • *
  • Posts: 22
  • Country: de
  • Liked: 12
  • Likes Given: 9
Re: "OOOOOOOO" in 8 color for cpc6128 in basic
« Reply #4 on: 10: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


Offline funkheld

  • CPC6128
  • ****
  • Posts: 262
  • Liked: 16
  • Likes Given: 0
Re: "OOOOOOOO" in 8 color for cpc6128 in basic
« Reply #5 on: 13:03, 19 October 20 »
hello thanks for help.


greeting