http://wiki.intellivision.us/index.php?title=Print.mac&feed=atom&action=history
Print.mac - Revision history
2024-03-28T16:38:20Z
Revision history for this page on the wiki
MediaWiki 1.30.0
http://wiki.intellivision.us/index.php?title=Print.mac&diff=14874&oldid=prev
Mr z: Protected "Print.mac" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))
2010-12-04T09:06:50Z
<p>Protected "<a href="/index.php/Print.mac" title="Print.mac">Print.mac</a>" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr style="vertical-align: top;" lang="en">
<td colspan="1" style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: white; color:black; text-align: center;">Revision as of 09:06, 4 December 2010</td>
</tr><tr><td colspan="2" style="text-align: center;" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Mr z
http://wiki.intellivision.us/index.php?title=Print.mac&diff=3033&oldid=prev
Mr z at 05:41, 12 September 2008
2008-09-12T05:41:00Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr style="vertical-align: top;" lang="en">
<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 05:41, 12 September 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</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 style="font-weight: bold; text-decoration: none;">[[Category:Programming]] [[Category:Library]]</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 style="font-weight: bold; text-decoration: none;"></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;"><div>These macros provide useful wrappers around the various PRINT routines in [[print.asm]].  See the source code below for documentation.</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>These macros provide useful wrappers around the various PRINT routines in [[print.asm]].  See the source code below for documentation.</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>
</table>
Mr z
http://wiki.intellivision.us/index.php?title=Print.mac&diff=3027&oldid=prev
Mr z at 05:36, 12 September 2008
2008-09-12T05:36:43Z
<p></p>
<p><b>New page</b></p><div>These macros provide useful wrappers around the various PRINT routines in [[print.asm]]. See the source code below for documentation.<br />
<br />
= Source Code =<br />
<br />
<pre><br />
;; ======================================================================== ;;<br />
;; PRINT.MAC Default Macro Set ;;<br />
;; Macros that simplify printing. ;;<br />
;; Joseph Zbiciak <intvnut AT gmail.com> ;;<br />
;; These macros are hereby released into the Public Domain. ;;<br />
;; ======================================================================== ;; <br />
<br />
IF (DEFINED _PRINT_MAC) = 0<br />
<br />
_PRINT_MAC EQU 1<br />
<br />
;; ======================================================================== ;;<br />
;; PRINT_CSTK r, c, fg, s ;;<br />
;; Prints a string at r, c, in foreground color 'fg', using SDK-1600's ;;<br />
;; PRINT.FLS. This macro is intended for use in color-stack mode. ;;<br />
;; This macro adds terminating NUL to the string for you. ;;<br />
;; ;;<br />
;; ARGUMENTS ;;<br />
;; r Row to print string at ;;<br />
;; c Column to print string at ;;<br />
;; fg Color to print string in ;;<br />
;; s String to print. ;;<br />
;; ;;<br />
;; EXAMPLE ;;<br />
;; PRINT_CSTK 10, 5, Yellow, "Hello World!" ;;<br />
;; ======================================================================== ;;<br />
MACRO PRINT_CSTK r, c, fg, s<br />
CALL PRINT.FLS<br />
DECLE gen_cstk_card(0, GROM, %fg%, NoAdvance)<br />
DECLE disp_ptr(%r%, %c%)<br />
STRING %s%, 0<br />
ENDM<br />
<br />
;; ======================================================================== ;;<br />
;; PRINT_FGBG r, c, fg, bg, s ;;<br />
;; Prints a string at r, c, in foreground color 'fg' and background color ;;<br />
;; 'bg', using SDK-1600's PRINT.FLS. This macro is intended for use in ;;<br />
;; Foreground/Background mode. This macro adds terminating NUL to the ;;<br />
;; string for you. ;;<br />
;; ;;<br />
;; ARGUMENTS ;;<br />
;; r Row to print string at ;;<br />
;; c Column to print string at ;;<br />
;; fg Foreground color for string ;;<br />
;; bg Background color for string ;;<br />
;; s String to print. ;;<br />
;; ;;<br />
;; EXAMPLE ;;<br />
;; PRINT_FGBG 10, 5, Yellow, Blue, "Hello World!" ;;<br />
;; ======================================================================== ;;<br />
MACRO PRINT_FGBG r, c, fg, bg, s<br />
CALL PRINT.FLS<br />
DECLE gen_fgbg_card(0, GROM, %fg%, %bg%)<br />
DECLE disp_ptr(%r%, %c%)<br />
STRING %s%, 0<br />
ENDM<br />
<br />
ENDI<br />
<br />
;; ======================================================================== ;;<br />
;; End of File: print.mac ;;<br />
;; ======================================================================== ;;<br />
</pre></div>
Mr z