PAPER and INK commands

Everything related to BASIC version 1.x (Oric 1 and Atmos) or HYPERBASIC (Telestrat).
Don't hesitate to give your small program samples, technical insights, or questions...
Post Reply
2nd Star Corporal
Posts: 29
Joined: Tue Jun 05, 2007 1:45 am
Location: Oregon, United States

PAPER and INK commands

Post 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.

User avatar
Pilot Officer
Posts: 69
Joined: Sun Jan 07, 2007 11:03 pm
Location: Scotland

Post 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. Text mode the following would give you yellow text on a blue screen:


User avatar
Site Admin
Posts: 3626
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway

Post by Dbug »

Two know more about colors on the Oric, I can advise you to read this document: ... 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.

Post Reply