https://wikiti.brandonw.net/index.php?title=84PCSE:BCALLs:4D6E&feed=atom&action=history84PCSE:BCALLs:4D6E - Revision history2024-03-29T05:24:03ZRevision history for this page on the wikiMediaWiki 1.23.5https://wikiti.brandonw.net/index.php?title=84PCSE:BCALLs:4D6E&diff=10184&oldid=prevFloppusMaximus: EraseRectBorder2013-10-20T03:39:09Z<p>EraseRectBorder</p>
<p><b>New page</b></p><div>[[Category:84PCSE:BCALLs:By Name|EraseRectBorder]] [[Category:84PCSE:BCALLs:By Name:Drawing|EraseRectBorder]] [[Category:84PCSE:BCALLs:By Address|4D6E - EraseRectBorder]]<br />
== Synopsis ==<br />
'''Hypothesized Official Name:''' EraseRectBorder<br />
<br />
'''BCALL Address:''' 4D6Eh<br />
<br />
Draw a white rectangular outline 1 pixel wide.<br />
<br />
=== Inputs ===<br />
* HL = X coordinate of left edge<br />
* DE = X coordinate of right edge (must be greater than HL and at most 319)<br />
* B = Y coordinate of top edge (from top of screen)<br />
* C = Y coordinate of bottom edge (must be greater than B and at most 239)<br />
<br />
=== Outputs ===<br />
* ([[84PCSE:RAM:A038|penFGColor]]) = 0FFFFh<br />
<br />
=== Destroys ===<br />
* AF<br />
* Interrupts disabled<br />
<br />
== Comments ==<br />
The rectangle is drawn only to the LCD, never to the graph buffer.<br />
<br />
The dimensions of the enclosed area are (HL-DE-1) × (C-B-1). The outer dimensions of the border are (HL-DE+1) × (C-B+1).</div>FloppusMaximus