HispaMSX

Re: [hispamsx] Define character on SCREEN4 and color them

2004-09-04 14:38:06
I have understand how to define the characters and to print them on SCREEN4, 
but I don't know how to color them using 
VPOKE,  
how can I do?  

10 SCREEN 4:CLS:COLOR,4,15
20 REM DEFINE WALL
30 FOR A=0 TO 7:READ B:VPOKE128*8+A,B:NEXT A

35 FOR A=0 to 7:read c:vpoke 128*8+a+8192,C:next a      ' <---------- COLOR DATA

40 DATA 0,251,251,251,0,127,127,127

45 DATA (COLORS)....

50 FORA=32TO255:VPOKE6144+A,128:NEXTA
60 GOTO60

Bye Andrea

Juan Luis, MsxKun


<Anterior en la conversación] Conversación actual [Siguiente en la conversación>
  • Re: [hispamsx] Define character on SCREEN4 and color them, msx_forever <=