Screen 8 colors

Page 2/2
1 |

By Oscar

Guardian (561)

Oscar's picture

01-12-2011, 21:39

Everybody: thank you for the help! I am testing now. It is difficult to make a smooth pallette with blue bit difference, but trying... thanks!

By PlainSpooky

Resident (46)

PlainSpooky's picture

02-12-2011, 01:43

By the way, the SCR8 pallete is the same of PC Engine... Yes! RRRGGGBB! It's just like copy and paste Big smile

By Oscar

Guardian (561)

Oscar's picture

04-12-2011, 16:18

One more question. How could I read the value of a pixel stored in second page of Screen 8 mode? What is the start address for this page? Thanks!

By PlainSpooky

Resident (46)

PlainSpooky's picture

04-12-2011, 18:00

Oscar,

VRAM page is stored:
32kb blocks on SCR 5 and 6: page*32768+address
64Kb blocks on SCR 7, 8, 10, 11 and 12: page*65536+address

Or you can use COPY command to access it:
copy (coord x, coord y)-step(width, height),page to (coord x',coord y')

By Oscar

Guardian (561)

Oscar's picture

04-12-2011, 22:12

Thank you PlainSpooky Smile

By mariocavalcanti

Resident (47)

mariocavalcanti's picture

20-06-2018, 21:31

Old posts always teaching us. Smile

Page 2/2
1 |
My MSX profile