https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4E70&feed=atom&action=history
83Plus:BCALLs:4E70 - Revision history
2024-03-28T17:43:01Z
Revision history for this page on the wiki
MediaWiki 1.23.5
https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4E70&diff=10013&oldid=prev
Geekboy: /* Comments */
2013-02-23T06:42:17Z
<p><span dir="auto"><span class="autocomment">Comments</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 06:42, 23 February 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 21:</td>
<td colspan="2" class="diff-lineno">Line 21:</td></tr>
<tr><td class='diff-marker'> </td><td style="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;"></td><td class='diff-marker'> </td><td style="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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>== Comments ==</div></td><td class='diff-marker'> </td><td style="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;"><div>== Comments ==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>If the length of name is shorter than 8 characters it must be zero-terminated. If there isn't enough RAM a memory error will be generated. Contents of the program are random.</div></td><td class='diff-marker'>+</td><td style="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;"><div>If the length of name is shorter than 8 characters it must be zero-terminated. If there isn't enough RAM a memory error will be generated. Contents of the program are random.<ins class="diffchange diffchange-inline"><br /><br /></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins class="diffchange diffchange-inline">This Seems to leak memory when creating variables. ~ Geekboy1011</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"></td><td class='diff-marker'> </td><td style="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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>== Example ==</div></td><td class='diff-marker'> </td><td style="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;"><div>== Example ==</div></td></tr>
</table>
Geekboy
https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4E70&diff=5773&oldid=prev
Brandonw at 16:53, 9 March 2007
2007-03-09T16:53:30Z
<p></p>
<p><b>New page</b></p><div>[[Category:83Plus:BCALLs:By Name|CreateVar]][[Category:83Plus:BCALLs:By Name:Variable|CreateVar]][[Category:83Plus:BCALLs:By Address|4E70 - CreateVar]]<br />
== Synopsis ==<br />
'''Official Name:''' CreateVar<br />
<br />
'''BCALL Address:''' 4E70<br />
<br />
Creates a variable of a specified type.<br />
<br />
=== Inputs ===<br />
* A: type of variable to create (05h for programs, 06h for protected programs, etc.)<br />
* HL: length in bytes<br />
* [[83Plus:RAM:8478|OP1]]+1 = name of variable<br />
<br />
=== Outputs ===<br />
* HL points to symbol table entry<br />
* DE points to data section<br />
* [[83Plus:RAM:8499|OP4]] contains the name as inputted in [[83Plus:RAM:8478|OP1]]<br />
<br />
=== Registers Destroyed ===<br />
* AF,BC,[[83Plus:RAM:8478|OP1]],[[83Plus:RAM:8483|OP2]]<br />
<br />
== Comments ==<br />
If the length of name is shorter than 8 characters it must be zero-terminated. If there isn't enough RAM a memory error will be generated. Contents of the program are random.<br />
<br />
== Example ==<br />
Create an unprotected program of size 10:<br />
<br />
ld hl,progName-1<br />
RST rMov9ToOP1<br />
ld hl,10<br />
ld a,05h<br />
B_CALL CreateVar<br />
<br />
progName: db "PROGNAME"</div>
Brandonw