<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wikiti.brandonw.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=84PCSE%3ARAM%3AA03A</id>
		<title>84PCSE:RAM:A03A - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=84PCSE%3ARAM%3AA03A"/>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=84PCSE:RAM:A03A&amp;action=history"/>
		<updated>2026-04-21T08:17:44Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.5</generator>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=84PCSE:RAM:A03A&amp;diff=10188&amp;oldid=prev</id>
		<title>FloppusMaximus: /* Comments */ fix link</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=84PCSE:RAM:A03A&amp;diff=10188&amp;oldid=prev"/>
				<updated>2013-10-20T04:45:27Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Comments: &lt;/span&gt; fix link&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 04:45, 20 October 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is the current color index (a number between 1 and 15, which identifies one of the 15 predefined colors.)&amp;#160; It is used as a &amp;quot;foreground&amp;quot; color when drawing text, points, or lines on the graph.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is the current color index (a number between 1 and 15, which identifies one of the 15 predefined colors.)&amp;#160; It is used as a &amp;quot;foreground&amp;quot; color when drawing text, points, or lines on the graph.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note, however, that this only determines what value is stored in the graph buffer; the actual color drawn to the LCD is determined by ([[84PCSE:RAM:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;8038&lt;/del&gt;|penFGColor]]).&amp;#160; (In other words, penFGColor determines what color is used at the time you call VPutMap or IPoint; penFGColorIndex determines what color will be used if the graph is later redisplayed or stored in a Pic variable.)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note, however, that this only determines what value is stored in the graph buffer; the actual color drawn to the LCD is determined by ([[84PCSE:RAM:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;A038&lt;/ins&gt;|penFGColor]]).&amp;#160; (In other words, penFGColor determines what color is used at the time you call VPutMap or IPoint; penFGColorIndex determines what color will be used if the graph is later redisplayed or stored in a Pic variable.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You may find it convenient to use [[84PCSE:BCALLs:54E5|SetPenFGIndex]] to set both penFGColor and penFGColorIndex at the same time.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You may find it convenient to use [[84PCSE:BCALLs:54E5|SetPenFGIndex]] to set both penFGColor and penFGColorIndex at the same time.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>FloppusMaximus</name></author>	</entry>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=84PCSE:RAM:A03A&amp;diff=10187&amp;oldid=prev</id>
		<title>FloppusMaximus: penFGColorIndex</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=84PCSE:RAM:A03A&amp;diff=10187&amp;oldid=prev"/>
				<updated>2013-10-20T04:42:04Z</updated>
		
		<summary type="html">&lt;p&gt;penFGColorIndex&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:84PCSE:RAM:By Address|A03A - penFGColorIndex]] [[Category:84PCSE:RAM:By Name|penFGColorIndex]]&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Unofficial Name:''' penFGColorIndex&lt;br /&gt;
&lt;br /&gt;
'''Memory Address:''' A03Ah&lt;br /&gt;
&lt;br /&gt;
'''Length:''' 1 byte&lt;br /&gt;
&lt;br /&gt;
Stores the current color index, used for small-font text display and for some drawing routines, when drawing on the graph.&lt;br /&gt;
&lt;br /&gt;
== Comments ==&lt;br /&gt;
This is the current color index (a number between 1 and 15, which identifies one of the 15 predefined colors.)  It is used as a &amp;quot;foreground&amp;quot; color when drawing text, points, or lines on the graph.&lt;br /&gt;
&lt;br /&gt;
Note, however, that this only determines what value is stored in the graph buffer; the actual color drawn to the LCD is determined by ([[84PCSE:RAM:8038|penFGColor]]).  (In other words, penFGColor determines what color is used at the time you call VPutMap or IPoint; penFGColorIndex determines what color will be used if the graph is later redisplayed or stored in a Pic variable.)&lt;br /&gt;
&lt;br /&gt;
You may find it convenient to use [[84PCSE:BCALLs:54E5|SetPenFGIndex]] to set both penFGColor and penFGColorIndex at the same time.&lt;br /&gt;
&lt;br /&gt;
The 15 predefined colors are as follows:&lt;br /&gt;
{| style=&amp;quot;border-spacing: 0.5em 0.25em&amp;quot;&lt;br /&gt;
! Index !! Value !! R  !! G  !! B  !! Name&lt;br /&gt;
|-&lt;br /&gt;
|     1 ||  001F ||  0 ||  0 || 31 || Blue&lt;br /&gt;
|-&lt;br /&gt;
|     2 ||  F800 || 31 ||  0 ||  0 || Red&lt;br /&gt;
|-&lt;br /&gt;
|     3 ||  0000 ||  0 ||  0 ||  0 || Black&lt;br /&gt;
|-&lt;br /&gt;
|     4 ||  F81F || 31 ||  0 || 31 || Magenta&lt;br /&gt;
|-&lt;br /&gt;
|     5 ||  04E0 ||  0 || 39 ||  0 || Green&lt;br /&gt;
|-&lt;br /&gt;
|     6 ||  FC64 || 31 || 35 ||  4 || Orange&lt;br /&gt;
|-&lt;br /&gt;
|     7 ||  B100 || 22 ||  8 ||  0 || Brown&lt;br /&gt;
|-&lt;br /&gt;
|     8 ||  0010 ||  0 ||  0 || 16 || Navy&lt;br /&gt;
|-&lt;br /&gt;
|     9 ||  049F ||  0 || 36 || 31 || Light Blue&lt;br /&gt;
|-&lt;br /&gt;
|    10 ||  FFE0 || 31 || 63 ||  0 || Yellow&lt;br /&gt;
|-&lt;br /&gt;
|    11 ||  FFFF || 31 || 63 || 31 || White&lt;br /&gt;
|-&lt;br /&gt;
|    12 ||  E71C || 28 || 56 || 28 || Light Gray&lt;br /&gt;
|-&lt;br /&gt;
|    13 ||  C618 || 24 || 48 || 24 || Medium Gray&lt;br /&gt;
|-&lt;br /&gt;
|    14 ||  8C51 || 17 || 34 || 17 || Gray&lt;br /&gt;
|-&lt;br /&gt;
|    15 ||  52AA || 10 || 21 || 10 || Dark Gray&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Using a value of 0, or greater than 15, may have strange effects.&lt;br /&gt;
&lt;br /&gt;
Note also that there is no corresponding &amp;quot;penBGColorIndex&amp;quot;.  When drawing text on the graph, the background color index is always 11 (white) or 13 (medium gray), depending on the value of ([[84PCSE:RAM:A036|penBGColor]]).&lt;/div&gt;</summary>
		<author><name>FloppusMaximus</name></author>	</entry>

	</feed>