6502_linux_logo/README.md

48 lines
1.8 KiB
Markdown
Raw Normal View History

2017-07-17 07:52:37 +00:00
# 6502 Linux Logo
2017-07-17 08:47:11 +00:00
![Apple \]\[+](pics/linux_logo_2.png)
![Apple \]\[ ](pics/linux_logo_2plus.png)
2017-07-17 08:39:02 +00:00
![Apple //e ](pics/linux_logo_2e.png)
![Apple //e+ ](pics/linux_logo_2eplus.png)
2017-07-17 07:58:58 +00:00
2017-07-17 07:52:37 +00:00
Linux Logo in 6502 assembly language.
2017-07-17 09:17:24 +00:00
Size: 696 ($2B8) bytes
2017-07-17 07:52:37 +00:00
Features:
* Detects Apple \]\[, \]\[+, //e, //e+, //c, //c+
* Detects 48K/64K/128K
2017-07-17 08:07:14 +00:00
* Cleaned up fugly logo by Albert Lai <aylai@unixg.ubc.ca>
* Width is now 70 chars to be exact 4 pixels/char for 280 HGR resolution
2017-07-17 08:51:59 +00:00
* Bit-packed Logo takes up 210 bytes (2 bits/char) compared to 80*12 = 960 byte
2017-07-17 08:07:14 +00:00
* X is now symmetrical
* Fixed L,i,n kerning
* Fixed x Penguin kerning
* Fixed L to fit
* Chopped off 2 columns of penguin to fit 70 chars
2017-07-17 08:51:59 +00:00
* Expands 2 bits to 4 bits = 2 pixels (70 chars * 4 bits = 280 px)
2017-07-17 07:52:37 +00:00
```
__________________________________________________________@@@@@_______
_________________________________________________________@@@@@@@______
______________A__________________________________________@@_@_@@______
@@@@@@_______AA@_________________________________________@BBBBB@______
__@@__________@________________________________________@@__BBB__@@____
__@@_______AAA__@@@_@@@@___@@@____@@@__@@@@@_@@@@@____@__________@@___
__@@______A__A@__@@@____@@__@@_____@@____@@___@@_____@____________@@__
__@@_____A___A@__@@_____@@__@@_____@@_____@@_@@______@____________@@@_
__@@________AA@__@@_____@@__@@_____@@______@@@______BB@___________@@B_
__@@_____@_AA@___@@_____@@__@@_____@@_____@@_@@____BBBBB@_______@BBBBB
__@@____@@_AA@_@_@@_____@@__@@@___@@@____@@___@@___BBBBBB@_____@BBBBBB
@@@@@@@@@@__@@@_@@@@___@@@@___@@@@_@@@_@@@@@_@@@@@__BBBBB@@@@@@@BBBBB_
```
2017-07-17 08:51:59 +00:00
See: [ascii2hgr2bit](ascii2hgr2bit.c) for packing ASCII to 2 bits/char.
2017-07-17 09:01:43 +00:00
NOTE: PackedLen isn't needed if full 40 bytes HGR width is unpacked to.
2017-07-17 07:52:37 +00:00
2017-07-17 08:02:33 +00:00
Inspired from non-optimized version. Size: 1,573 ($625) bytes
2017-07-17 07:52:37 +00:00
* https://github.com/deater/linux_logo