<?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%3ABCALLs%3A47CB</id>
		<title>84PCSE:BCALLs:47CB - 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%3ABCALLs%3A47CB"/>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=84PCSE:BCALLs:47CB&amp;action=history"/>
		<updated>2026-04-21T08:16:57Z</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:BCALLs:47CB&amp;diff=10200&amp;oldid=prev</id>
		<title>FloppusMaximus: ILine</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=84PCSE:BCALLs:47CB&amp;diff=10200&amp;oldid=prev"/>
				<updated>2013-10-20T18:58:56Z</updated>
		
		<summary type="html">&lt;p&gt;ILine&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:84PCSE:BCALLs:By Name|ILine]] [[Category:84PCSE:BCALLs:By Name:Drawing|ILine]] [[Category:84PCSE:BCALLs:By Address|47CB - ILine]]&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Hypothesized Official Name:''' ILine&lt;br /&gt;
&lt;br /&gt;
'''BCALL Address:''' 47CBh&lt;br /&gt;
&lt;br /&gt;
Draw a line.&lt;br /&gt;
&lt;br /&gt;
=== Inputs ===&lt;br /&gt;
* DE = starting pixel X coordinate&lt;br /&gt;
* C = starting pixel Y coordinate (from bottom of screen)&lt;br /&gt;
* HL = ending pixel X coordinate&lt;br /&gt;
* B = ending pixel Y coordinate&lt;br /&gt;
* A = operation to perform on line (see below)&lt;br /&gt;
* ([[84PCSE:RAM:A038|penFGColor]]) = RGB color to draw to LCD&lt;br /&gt;
* ([[84PCSE:RAM:A03A|penFGColorIndex]]) = Color index to store in graph buffer&lt;br /&gt;
* [[84PCSE:Flags:2B#Bit_2|fullScrnDraw, (iy + apiFlg4)]] = 1 to use LCD coordinates; 0 to use graph coordinates&lt;br /&gt;
* [[84PCSE:Flags:02#Bit_1|plotLoc, (iy + plotFlags)]] = 1 to draw to LCD only; 0 to draw to LCD and graph buffer&lt;br /&gt;
* [[84PCSE:Flags:14#Bit_5|g_style_active, (iy + sGrFlags)]] = 1 to draw &amp;quot;fancy&amp;quot; dots for graphing&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
* ([[84PCSE:RAM:9851|9851h]]) = input C&lt;br /&gt;
* ([[84PCSE:RAM:9852|9852h]]) = input DE&lt;br /&gt;
&lt;br /&gt;
=== Destroys ===&lt;br /&gt;
* [[84PCSE:Hooks:9E85|Drawing hook]] is called&lt;br /&gt;
* IX&lt;br /&gt;
* ([[84PCSE:RAM:A59E|A59Eh]]), ([[84PCSE:RAM:A5BA|A5BAh]]), ([[84PCSE:RAM:A5BC|A5BCh]]), ([[84PCSE:RAM:A5F6|A5F6h]]), ([[84PCSE:RAM:A5F8|A5F8h]]), ([[84PCSE:RAM:A5FA|A5FAh]]), ([[84PCSE:RAM:A5FC|A5FCh]])&lt;br /&gt;
&lt;br /&gt;
== Comments ==&lt;br /&gt;
As for [[84PCSE:BCALLs:47CE|IPoint]]:&lt;br /&gt;
* A = 0 will draw a white or transparent line&lt;br /&gt;
* A = 1 will draw a line using the current foreground color&lt;br /&gt;
* A = 2 will &amp;quot;invert&amp;quot; pixels along the line&lt;br /&gt;
* A = 4 will restore pixels from the graph buffer&lt;br /&gt;
See IPoint for more details.&lt;/div&gt;</summary>
		<author><name>FloppusMaximus</name></author>	</entry>

	</feed>