Page 1 of 1

PAPER and INK commands

Posted: Wed Jun 06, 2007 6:12 am
by Chris
Basically, what are they and how do they work? Is PAPER the background color and INK the text color? How would I change the colors of these? I am new to BASIC in Oric, needless to say.

Posted: Wed Jun 06, 2007 9:34 am
by Pengwin
The two commands PAPER and INK control the colours of the paper and ink :wink:

Both take a parameter of 0 to 7 with the colours corresponding thus:

0 - black
1 - red
2 - green
3 - yellow
4 - blue
5 - magenta
6 - cyan
7 - white

In text mode, these commands will change all attributes in screen. I'm afraid it's been a while since I've done much coding on the Oric and I cannot remember the impact in Lores 0 or Lores 1. I believe Hires is the same as text mode regarding the colours.

So...in Text mode the following would give you yellow text on a blue screen:

INK 3: PAPER 4

Posted: Thu Jun 07, 2007 11:17 pm
by Dbug
Two know more about colors on the Oric, I can advise you to read this document:

http://www.defence-force.org/download/c ... nglish.txt

After reading it, you should understand easily that PAPER just set the value "16+color" in column 0, and INK set the value "color" in column 1.