<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Just sharing DOS bitmap font.</title>
		<link>http://www.allegro.cc/forums/view/610576</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sun, 22 Jul 2012 04:47:01 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I wanted a DOS 8x8 bitmap font for Allegro 5, so I managed to whip this up.  It has a transparent background (in case you&#39;re wondering why it looks so white) and so should work with Allegro 5 as is if anyone is interested in it.</p><p><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/e/7/e71d5e896c525b1ce22808458292f0a3.png" alt="606245" width="145" height="145" /></p><p>I coloured it green to look like the old monochrome DOS terminal.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Fri, 06 Jul 2012 00:13:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If you color it white then you can use the tinting parameter to color it any color you want.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Fri, 06 Jul 2012 01:23:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Also note that since A5 uses Unicode, the bottom half of that font is not readily accessible as it uses <a href="http://en.wikipedia.org/wiki/Code_page_437">code page 437</a> while Unicode will treat the bottom half as <a href="http://en.wikipedia.org/wiki/ISO/IEC_8859-1">Latin-1</a>. You&#39;ll need to use <span class="source-code"><a href="http://www.allegro.cc/manual/al_grab_font_from_bitmap"><span class="a">al_grab_font_from_bitmap</span></a></span>&#39;s ranges parameter with a 1 character range essentially for every character in the bottom half (the range values can be found in the first Wikipedia link).</p><p>Although, if you&#39;re actually using the graphical characters towards the end you&#39;ll probably be using character numbers anyway, so it&#39;s not a problem... but don&#39;t expect <span class="source-code"><a href="http://www.allegro.cc/manual/al_draw_text"><span class="a">al_draw_text</span></a><span class="k2">(</span><span class="s">"Ñá"</span><span class="k2">)</span><span class="k2">;</span></span> to work if you don&#39;t map it out properly.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Fri, 06 Jul 2012 01:38:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s a DOS font, I find it useless without the DOS graphic characters. It&#39;s part of what I like about it. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />  I do have a white version as well.  I put this together because all the font generating software doesn&#39;t make a true 8x8 bit DOS font.  The best I could get was a 6 x 12 version. </p><p><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/0/7/072116b32dcbd8ebd058d0d52786a014.png" alt="606249" width="145" height="145" /></p><p>Anyhow, the white version. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/610576/959557#target">SiegeLord</a> said:</div><div class="quote"><p>Although, if you&#39;re actually using the graphical characters towards the end you&#39;ll probably be using character numbers anyway, so it&#39;s not a problem... but don&#39;t expect al_draw_text(&quot;Ñá&quot;); to work if you don&#39;t map it out properly.
</p></div></div><p>

Thanks, I&#39;ll keep that in mind.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Fri, 06 Jul 2012 04:46:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That looks pretty cool! About those characters in the top-right corner, what code points are those? I&#39;ve seen them in other fonts and have no idea how to make Allegro draw them.</p><p>Also, what license are you releasing this font under?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Luiji99)</author>
		<pubDate>Sun, 08 Jul 2012 02:24:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Public domain I guess.  No license... take your pick, I won&#39;t sue you. <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=";D" border="0" />  Just trying to give a little something back. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>Oh, and those characters range from 0 to 255, so you may have to refer to some of the characters by number.  I haven&#39;t played around with it much under Allegro 5 yet, just starting making some bitmaps for A5 for my own games in the past few days.</p><p>Here&#39;s another really nice one I just created.  I&#39;ll be using this in an upcoming game if anyone is interested, just give me credit if you use it. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>I call it &quot;FatFont&quot;, I actually edited this pixel by pixel, no preloaded fonts, so it took me a while to make, and remake (lots of errors). <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>Looks best against a dark (ie:black) background.  It is transparent and so works as is with Allegro 5.</p><p><span class="remote-thumbnail"><span class="json">{"name":"606264","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/9\/f\/9f5061f3618449d40408fdc664095279.png","w":257,"h":127,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/9\/f\/9f5061f3618449d40408fdc664095279"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/9/f/9f5061f3618449d40408fdc664095279-240.jpg" alt="606264" width="240" height="118" /></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Tue, 10 Jul 2012 00:53:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>public domain isn&#39;t &quot;a thing&quot; in some countries. So there at least it&#39;d be considered non re-distributable legally.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Tue, 10 Jul 2012 01:02:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I honestly hate all the legalities these days.  Why can&#39;t I just give something away free to use? <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />  I haven&#39;t got a clue which license.  Whatever one allows you to use it freely in commercial or otherwise.  Credit is nice, but I don&#39;t care. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Tue, 10 Jul 2012 01:04:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Creative Commons? That aught to work. Pick one of them <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Tue, 10 Jul 2012 01:06:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yeah, <a href="http://creativecommons.org/licenses/by-sa/3.0/">http://creativecommons.org/licenses/by-sa/3.0/</a> (creative commons ShareAlike) sounds right up my alley. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Tue, 10 Jul 2012 01:12:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hey I wrote a chess game once only using the low and high ascii set in DOS mode so I actually know most of those characters :-)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Steve Terry)</author>
		<pubDate>Tue, 10 Jul 2012 17:25:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/610576/959762#target">Steve Terry</a> said:</div><div class="quote"><p>Hey I wrote a chess game once only using the low and high ascii set in DOS mode so I actually know most of those characters</p></div></div><p>
consider yourself lucky, when I was young I had to know all those characters and every ESC/p command/function in order to send formatted data to a printer.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Walker)</author>
		<pubDate>Tue, 10 Jul 2012 19:15:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/610576/959763#target">Neil Walker</a> said:</div><div class="quote"><p> consider yourself lucky, when I was young I had to know all those characters and every ESC/p command/function in order to send formatted data to a printer.</p></div></div><p>When I was young and didn&#39;t have a card with a graphics mode, I overwrote the area of memory the character set was written to so I could &#39;print&#39; my own sprites to the screen. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Tue, 10 Jul 2012 19:21:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>^ that&#39;s what you did/do with the ZX Spectrum <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Walker)</author>
		<pubDate>Tue, 10 Jul 2012 21:36:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I have you all beat, when I was young we had to press keys which caused these metal arms to come up and hit some paper.  They were called type writers and they were not electric yet. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />  We had to manually push them to get a carriage return! <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=";D" border="0" /> <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /></p><p>But then again, I&#39;m older than my countries&#39; flag. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/610576/959764#target">LennyLen</a> said:</div><div class="quote"><p>When I was young and didn&#39;t have a card with a graphics mode, I overwrote the area of memory the character set was written to so I could &#39;print&#39; my own sprites to the screen. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p></div></div><p>

Sounds like a Commodore 64.  I done that, used hidden memory, that was so much fun when I first discovered how to access that. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>I also used the C64 print command to &quot;print&quot; sounds into memory by redirecting where the print command printed to.  It was a great trick you could use for sprites etc.  I still have some yellowed paper with the code stashed around here somewhere. <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /></p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/610576/959762#target">Steve Terry</a> said:</div><div class="quote"><p>Hey I wrote a chess game once only using the low and high ascii set in DOS mode so I actually know most of those characters :-)
</p></div></div><p>

I&#39;m seriously considering sitting down and DOSBOX and writing something for DOS just for old time sake.  Maybe even the C64 too! LMAO
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Tue, 10 Jul 2012 22:14:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/610576/959772#target">Neil Roy</a> said:</div><div class="quote"><p> Sounds like a Commodore 64. I done that, used hidden memory, that was so much fun when I first discovered how to access that</p></div></div><p>I first did this on 8bit Ataris. Then on an IBM PC-XT.  With the Atari, I didn&#39;t even have any library books to use as references for memory locations, so had to discover them by sequentially changing values in meory with POKE to see the results.  I had to reboot a LOT.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Wed, 11 Jul 2012 02:15:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You damn kids... why back in my day if you needed to write something you had to use sticks and stones. Could write a word a week if I kept at it most of the day! Now get off my lawn!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Steve Terry)</author>
		<pubDate>Wed, 11 Jul 2012 03:46:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ahoy! magazine and especially Compute! were probably the best for learning to program with their type in games.  Also the Commodore 64 Programmer&#39;s Reference Guide was handy. As well as BBSes.  I didn&#39;t own an IBM at the time, but I used to experiment on PC JRs and such at various places.  I think part of the success story behind IBMs was things like QBasic or BasicA which made it easy for anyone to program them with &quot;high resolution&quot; graphics.</p><p>I definitely miss those days.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Wed, 11 Jul 2012 04:11:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/610576/959784#target">Neil Roy</a> said:</div><div class="quote"><p> Ahoy! magazine and especially Compute! were probably the best for learning to program with their type in games.</p></div></div><p>Unfortunately, they were very hard to come by in New Zealand in the 80s.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Wed, 11 Jul 2012 08:42:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>They used to have those magazines, well, Compute! anyhow, at our public library.  Ahoy! was my favorite of the bunch, had some of the best games you typed in.  A couple were &quot;3D&quot;, I still have them for my C64 emulator. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />  I actually still have most of the magazines I bought back then, I&#39;m a hoarder of those types of things. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>(looks in drawer under old Heavy Metal magazines)I have the first issue of Compute! I ever bought, July 1986. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Thu, 12 Jul 2012 00:32:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I dunno about missing the old Basic days.   Just thinking about all those lines of Poke and Peek to make a sprite makes me very thankful for the stuff we have now.</p><p>Although I do miss getting a new issue of whatever magazine was hot at the time and spending an hour or so plugging in lines of code just so you could debug it for another two hours to get it to run.  </p><p>Load &quot;*&quot;, 8, 1</p><p>I can&#39;t believe I still remember that.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dramier)</author>
		<pubDate>Thu, 19 Jul 2012 20:24:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Don&#39;t forget: Load &quot;$&quot;,8  then LIST for the device 8 directory. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>Clear the SID (sound) chip:
</p><pre>POKE 209,0: POKE 210,212: POKE 211,0: ?&quot;@@@@@@@@@@@@@@@@@@@@@@@@@&quot;;</pre><p>

That same trick could be used (with different pokes) to redirect the print command to the sprite area and instantly create sprites.  Change some of those @&#39;s (which is a C64 zero character) to others to instantly create sound effects.  Pretty kewl stuff. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>If you recall the IBM&#39;s BasicA &quot;LOCATE&quot; command which could locate the cursor on screen anywhere, the C64 had annoying graphics you had to repeat to move the cursor, but it actually had a LOCATE command, it just didn&#39;t have a basic word for it, it was available for assembly programmers.  From your programs you used:</p><pre>POKE 211,X: POKE 214,Y: SYS58732</pre><p>

I would put this into a function you would GOSUB to with X and Y set.</p><p>Machine language programming on the C64 was the most fun.  The 6510 CPU was very easy to program.  Fun times.  Gonna have to boot up the emulator again I think. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Sun, 22 Jul 2012 04:47:01 +0000</pubDate>
	</item>
</rss>
