2017-07-17 07:52:37 +00:00
|
|
|
|
|
|
|
# 6502 Linux Logo
|
|
|
|
|
2017-07-19 18:30:38 +00:00
|
|
|
Optimized Linux Logo in 6502 assembly language for size.
|
2017-07-17 09:26:25 +00:00
|
|
|
|
2017-08-17 05:45:44 +00:00
|
|
|
Size: 625 ($271) bytes
|
2017-07-17 09:26:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Screenshots
|
|
|
|
|
2017-07-17 18:29:56 +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
|
|
|
|
2017-07-17 09:26:25 +00:00
|
|
|
# Features
|
2017-07-17 07:52:37 +00:00
|
|
|
|
|
|
|
* Detects Apple \]\[, \]\[+, //e, //e+, //c, //c+
|
2017-07-18 20:25:13 +00:00
|
|
|
* Pretty-print model instead of generic `II` (bloats the code slightly but worth it.)
|
2017-07-17 07:52:37 +00:00
|
|
|
* Detects 48K/64K/128K
|
2017-07-17 22:22:12 +00:00
|
|
|
* System information in all uppercase (for Apple \]\[ without lowercase)
|
2017-07-17 09:25:18 +00:00
|
|
|
* Cleaned up fugly logo by Albert Lai
|
2017-07-19 17:20:43 +00:00
|
|
|
* Logo is now 70 chars wide
|
2017-07-17 22:25:38 +00:00
|
|
|
* Logo is bit packed 2 bits/char; expands 70 chars * 4 px = 280 px
|
2017-07-19 17:20:43 +00:00
|
|
|
* Logo takes up 70\*12\*2/8 = 210 bytes compared to 79*12 = 948 bytes
|
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-19 17:24:12 +00:00
|
|
|
* Red 'i' is now a beautiful blue to break up the monotomy of all orange
|
2017-07-17 07:52:37 +00:00
|
|
|
|
|
|
|
```
|
2017-07-17 18:32:38 +00:00
|
|
|
..........................................................#####.......
|
|
|
|
.........................................................#######......
|
|
|
|
...............@.........................................## # ##......
|
|
|
|
######........@@#........................................#QQQQQ#......
|
|
|
|
..##...........#.......................................##..QQQ..##....
|
|
|
|
..##.......@@@..###.####...###....###..#####.#####....#..........##...
|
|
|
|
..##......@..@#..###....##..##.....##....##...##.....#............##..
|
|
|
|
..##.....@...@#..##.....##..##.....##.....##.##......#............###.
|
|
|
|
..##........@@#..##.....##..##.....##......###......QQ#...........##Q.
|
|
|
|
..##.....#.@@#...##.....##..##.....##.....##.##....QQQQQ#.......#QQQQQ
|
|
|
|
..##....##.@@#.#.##.....##..###...###....##...##...QQQQQQ#.....#QQQQQQ
|
|
|
|
##########..###.####...####...####.###.#####.#####..QQQQQ#######QQQQQ.
|
2017-07-17 07:52:37 +00:00
|
|
|
```
|
|
|
|
|
2017-07-19 17:22:18 +00:00
|
|
|
See: [ascii2hgr2bit.c](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
|
|
|
|
|
2017-07-17 22:22:12 +00:00
|
|
|
Note: Lowercase doesn't display properly on \]\[.
|
|
|
|
|
2017-07-17 18:29:56 +00:00
|
|
|
![Apple \]\[+](pics/ll_6502_2plus.png)
|
|
|
|
![Apple //e ](pics/ll_6502_2e.png)
|
2017-07-19 17:22:18 +00:00
|
|
|
|
|
|
|
The 79x12 logo that was used as the basis for the logo cleanup:
|
|
|
|
|
2017-07-18 18:51:38 +00:00
|
|
|
![79x12 Logo ](pics/original_linux_logo_79x12.png)
|
2017-07-17 21:34:36 +00:00
|
|
|
|
|
|
|
# License
|
|
|
|
|
2017-07-17 22:22:12 +00:00
|
|
|
[WTFPL](http://www.wtfpl.net/)
|
2017-07-17 21:34:36 +00:00
|
|
|
|
|
|
|
If you use code, please provide a comment link so people can follow it for updates.
|
|
|
|
|
2017-07-18 18:51:38 +00:00
|
|
|
# Tools used
|
|
|
|
|
2017-07-19 18:30:38 +00:00
|
|
|
* [Merlin32](brutaldeluxe.fr/products/crossdevtools/merlin/)
|
|
|
|
|
|
|
|
# Credits
|
|
|
|
|
|
|
|
* qkumba for his excellent optimization tips and tricks
|
2017-07-24 18:43:14 +00:00
|
|
|
* Mike B. for Text to HGR Page 1 optimization
|