https://wikiti.brandonw.net/index.php?title=84PCSE:BCALLs:55BA&feed=atom&action=history84PCSE:BCALLs:55BA - Revision history2024-03-28T20:48:38ZRevision history for this page on the wikiMediaWiki 1.23.5https://wikiti.brandonw.net/index.php?title=84PCSE:BCALLs:55BA&diff=10178&oldid=prevFloppusMaximus: IVertLine2013-10-20T02:55:39Z<p>IVertLine</p>
<p><b>New page</b></p><div>[[Category:84PCSE:BCALLs:By Name|IVertLine]] [[Category:84PCSE:BCALLs:By Name:Drawing|IVertLine]] [[Category:84PCSE:BCALLs:By Address|55BA - IVertLine]]<br />
== Synopsis ==<br />
'''Unofficial Name:''' IVertLine<br />
<br />
'''BCALL Address:''' 55BAh<br />
<br />
Draw a vertical line.<br />
<br />
=== Inputs ===<br />
* DE = X coordinate of line<br />
* B = Y coordinate of bottom end of line (from bottom of screen)<br />
* C = Y coordinate of top end of line; must be greater than or equal to B<br />
* A = 1 to use the current foreground color, or 4 to copy pixels from the graph buffer<br />
* ([[84PCSE:RAM:A038|penFGColor]]) = RGB color to draw (if A = 1)<br />
* ([[84PCSE:RAM:A03A|penFGColorIndex]]) = Color index to store in graph buffer (if A = 1)<br />
* [[84PCSE:Flags:2B#Bit_2|fullScrnDraw, (iy + apiFlg4)]] = 1 to use LCD coordinates; 0 to use graph coordinates<br />
* [[84PCSE:Flags:02#Bit_1|plotLoc, (iy + plotFlags)]] = 1 to draw to LCD only; 0 to draw to LCD and graph buffer<br />
<br />
=== Outputs ===<br />
''None''<br />
<br />
=== Destroys ===<br />
* Interrupts disabled<br />
<br />
== Comments ==<br />
This routine is analogous to calling [[84PCSE:BCALLs:47CE|IPoint]] several times for a vertical row of pixels, but somewhat faster. Like IPoint, A may either be 1 (to draw with the current foreground color), or 4 (to copy pixels from the graph buffer to the LCD.) The other IPoint operations are not supported.<br />
<br />
Unlike IPoint, this routine does not check that the input coordinates are valid (i.e., within the bounds of the LCD or graph buffer); passing invalid coordinates may have strange effects.</div>FloppusMaximus