added README

This commit is contained in:
Michael Steil 2017-07-10 22:28:20 +02:00
parent f649977f04
commit 40ed8fddd4
10 changed files with 30 additions and 0 deletions

30
README.md Normal file
View file

@ -0,0 +1,30 @@
# 80columns
*80columns* is a tool that provides a 80x25 text mode on the Commodore 64 in the KERNAL/BASIC environment. It supports all PETSCII control codes (including color) and is optimized for speed.
![](img/c64.png)
The code is based on 80COLUMNS.PRG by an unknown author. It has been reverse-engineered into structured, maintainable code and optimized for speed and size.
## Building
<p>Building requires a UNIX environment and <a href="https://github.com/cc65/cc65">cc65</a> and <a href="https://github.com/bitshifters/exomizer">exomizer</a>. Running <tt>make</tt> will produce <tt>80columns-compressed.prg</tt>, which is about 2.2 KB in size and can be started using <tt>LOAD</tt>/<tt>RUN</tt>.</p>
## Memory Layout
<p>The object code resides at $c800-$cfff. The two character sets are located at $d000-$d7ff. The virtual 80x25 Screen RAM (in order to read back screen contents) is at $c000-$c7ff. The bitmap is at $e000-$ff40, and the color matrix for bitmap mode is at $d800-$dbe8. All this lies beyond the top of BASIC RAM, so BASIC continues to have 38911 bytes free.</p>
## Character Sets
<p>The source contains four character sets (<tt>charset.s</tt>, <tt>charset2.s</tt> etc.) from different 80 column software solutions, which can be selected by changing the reference to the filename in the <tt>Makefile</tt>.</p>
### charset.s: 80COLUMNS
![](img/g1.png) ![](img/t1.png) ### charset2.s: COLOR 80 by Richvale Telecommunications ![](img/g2.png) ![](img/t2.png) ### charset3.s: Highspeed80 by CKtwo ![](img/g3.png) ![](img/t3.png) ### charset4.s: SCREEN-80 by Computes Gazette ![](img/g4.png) ![](img/t4.png)
## Author
Original author unknown. Reverse-engineered and maintained by Michael Steil, mist64@mac.com.
## Contributing
<p>Contributions to this project are very welcome. It would be especially interesting to add new character sets, both existing 4x8 fonts from other projects (including hinted TrueType fonts!), and new ones that combine the respective strengths of the existing ones.</p>

BIN
img/c64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
img/g1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

BIN
img/g2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
img/g3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

BIN
img/g4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
img/t1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
img/t2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
img/t3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
img/t4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB