I program in pascal, but it's fairly close to C. I'm working on some clones of old video games in DosBox. I used the 640x480 16 color graphics that is a standard in the graphic library that shipped with Borland Pascal. I wanted to give 320x200 256 colors a shot so I got some code on the net to initialize as well as a putpixel routine. Using this info I started my graphics "library."
After working on it yesterday I realized I had no way to output text. So today using the standard graphic library I have, I generated characters, then read them off the screen and stored each one in an 8x8 array, and then because I am really lazy I used the info to write the arrays as constants in a text file which I then copied and pasted into my code. Beats working, lol.
After working on it yesterday I realized I had no way to output text. So today using the standard graphic library I have, I generated characters, then read them off the screen and stored each one in an 8x8 array, and then because I am really lazy I used the info to write the arrays as constants in a text file which I then copied and pasted into my code. Beats working, lol.