<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://oldwiki.cpcwiki.eu/index.php?action=history&amp;feed=atom&amp;title=BIOS_Graphics_Functions</id>
		<title>BIOS Graphics Functions - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://oldwiki.cpcwiki.eu/index.php?action=history&amp;feed=atom&amp;title=BIOS_Graphics_Functions"/>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=BIOS_Graphics_Functions&amp;action=history"/>
		<updated>2026-08-28T13:52:39Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.25.1</generator>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=BIOS_Graphics_Functions&amp;diff=65518&amp;oldid=prev</id>
		<title>MacDeath at 16:40, 19 December 2010</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=BIOS_Graphics_Functions&amp;diff=65518&amp;oldid=prev"/>
				<updated>2010-12-19T16:40:33Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 16:40, 19 December 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;L46&quot; &gt;Line 46:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; BD4F GRA_FROM_USER_664&amp;#160; &amp;#160; &amp;#160; ;in: de=x, hl=y, out: de,hl=real x,y&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; BD4F GRA_FROM_USER_664&amp;#160; &amp;#160; &amp;#160; ;in: de=x, hl=y, out: de,hl=real x,y&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; BD52 GRA_FILL_664&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  ;in: A=color,hl=buf,de=bufsize, out:cy=0=err&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; BD52 GRA_FILL_664&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  ;in: A=color,hl=buf,de=bufsize, out:cy=0=err&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:BIOS]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff:version:1.11a:oldid:39560:newid:65518 --&gt;
&lt;/table&gt;</summary>
		<author><name>MacDeath</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=BIOS_Graphics_Functions&amp;diff=39560&amp;oldid=prev</id>
		<title>Nocash: Created page with '== Graphics Init ==   BBBA GRA_INITIALIZE  == Graphics Normal Drawing Functions ==   BBC0 GRA_MOVE_ABSOLUTE ;in: de=x, hl=y  ;\set current coordinate   BBC3 GRA_MOVE_RELATIVE ;in…'</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=BIOS_Graphics_Functions&amp;diff=39560&amp;oldid=prev"/>
				<updated>2010-01-24T21:59:01Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;== Graphics Init ==   BBBA GRA_INITIALIZE  == Graphics Normal Drawing Functions ==   BBC0 GRA_MOVE_ABSOLUTE ;in: de=x, hl=y  ;\set current coordinate   BBC3 GRA_MOVE_RELATIVE ;in…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Graphics Init ==&lt;br /&gt;
  BBBA GRA_INITIALIZE&lt;br /&gt;
&lt;br /&gt;
== Graphics Normal Drawing Functions ==&lt;br /&gt;
  BBC0 GRA_MOVE_ABSOLUTE ;in: de=x, hl=y  ;\set current coordinate&lt;br /&gt;
  BBC3 GRA_MOVE_RELATIVE ;in: de=x, hl=y  ;/&lt;br /&gt;
  BBEA GRA_PLOT_ABSOLUTE ;in: de=x, hl=y  ;\draw pixel at specified coordinate&lt;br /&gt;
  BBED GRA_PLOT_RELATIVE ;in: de=x, hl=y  ;/&lt;br /&gt;
  BBF6 GRA_LINE_ABSOLUTE ;in: de=x, hl=y  ;\draw line from current coordinate&lt;br /&gt;
  BBF9 GRA_LINE_RELATIVE ;in: de=x, hl=y  ;/to specified target coordinate&lt;br /&gt;
  BBF0 GRA_TEST_ABSOLUTE ;in: de=x, hl=y, out: A=color (0..15) of pixel&lt;br /&gt;
  BBF3 GRA_TEST_RELATIVE ;in: de=x, hl=y, out: A=color (0..15) of pixel&lt;br /&gt;
  BBC6 GRA_ASK_CURSOR    ;out: de=x, hl=y ;-get current coordinate&lt;br /&gt;
  BBFC GRA_WR_CHAR       ;in: A=char      ;-draw char at current coordinate&lt;br /&gt;
&lt;br /&gt;
== Graphics Pen/Paper ==&lt;br /&gt;
  BBDE GRA_SET_PEN       ;in: A=color (0..15) for PLOT/LINE/WR_CHAR&lt;br /&gt;
  BBE1 GRA_GET_PEN       ;out: A=color (0..15)&lt;br /&gt;
  BBE4 GRA_SET_PAPER     ;in: A=color (0..15) for CLEAR_WINDOW/WR_CHAR&lt;br /&gt;
  BBE7 GRA_GET_PAPER     ;out: A=color (0..15&lt;br /&gt;
&lt;br /&gt;
== Graphics Origin ==&lt;br /&gt;
  BBC9 GRA_SET_ORIGIN     ;in: de=x, hl=y (also does MOVE 0,0)&lt;br /&gt;
  BBCC GRA_GET_ORIGIN     ;out: de=x, hl=y&lt;br /&gt;
Normally, coordinate 0,0 is the lower-left of the screen. By changing the origin it can be moved, for example, to the middle of the screen.&lt;br /&gt;
&lt;br /&gt;
== Graphics Window ==&lt;br /&gt;
  BBCF GRA_SET_WIN_WIDTH  ;in: de=x1/left, hl=x2/right&lt;br /&gt;
  BBD2 GRA_SET_WIN_HEIGHT ;in: de=y1/top, hl=y2/bottom&lt;br /&gt;
  BBD5 GRA_GET_WIN_WIDTH  ;out: de=x1/left, hl=x2/right&lt;br /&gt;
  BBD8 GRA_GET_WIN_HEIGHT ;out: de=y1/top, hl=y2/bottom&lt;br /&gt;
  BBDB GRA_CLEAR_WINDOW   ;fill window by PAPER (also does MOVE 0,0)&lt;br /&gt;
Drawing operations are clipped to the window region. The x1/x2 values are rounded to byte-boundaries in VRAM.&lt;br /&gt;
&lt;br /&gt;
== Graphics Hooks ==&lt;br /&gt;
  BBBD GRA_RESET_HOOKS   ;out: [BDDC+00h..0Ah]=Default jump opcodes/addresses&lt;br /&gt;
  BDDC HOOK_GRA_PLOT     ;in: de=x, hl=y               ;\JP NNNNh opcodes,&lt;br /&gt;
  BDDF HOOK_GRA_TEST     ;in: de=x, hl=y, out: A=color ; with NNNNh in LO ROM&lt;br /&gt;
  BDE2 HOOK_GRA_LINE     ;in: de=x, hl=y               ;/(which must be on)&lt;br /&gt;
&lt;br /&gt;
== New Graphics Functions (664 and up only) ==&lt;br /&gt;
  BD43 GRA_DEFAULT_664        ;SCR_WRITE=?, BACK=00h,FIRST=FFh,MASK=FFh&lt;br /&gt;
  BD46 GRA_SET_BACK_664       ;A=background mode (FFh=transparent)&lt;br /&gt;
  BD49 GRA_SET_FIRST_664      ;in: A=flag (00h,FFh;1st pix of LINE)&lt;br /&gt;
  BD4C GRA_SET_LINE_MASK_664  ;in: A=mask&lt;br /&gt;
  BD4F GRA_FROM_USER_664      ;in: de=x, hl=y, out: de,hl=real x,y&lt;br /&gt;
  BD52 GRA_FILL_664           ;in: A=color,hl=buf,de=bufsize, out:cy=0=err&lt;/div&gt;</summary>
		<author><name>Nocash</name></author>	</entry>

	</feed>