This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* See LICENSE for licence details. */ | |
| /* | |
| Standard VGA colors | |
| http://en.wikipedia.org/wiki/ANSI_escape_code | |
| xterm 256color | |
| http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html | |
| http://pln.jonas.me/xterm-colors | |
| byte order: (MSB) RR GG BB (LSB) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* See LICENSE for licence details. */ | |
| /* conf.h: define custom variables */ | |
| /* color: index number of color_palette[] (see color.h) */ | |
| enum { | |
| /* | |
| DEFAULT_FG = 7, | |
| DEFAULT_BG = 0, | |
| ACTIVE_CURSOR_COLOR = 2, | |
| PASSIVE_CURSOR_COLOR = 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdbool.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| #include <linux/input.h> | |
| #include <fcntl.h> | |
| #include <stdarg.h> | |
| #include <stdint.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- old/url.c 2015-07-28 23:57:42.144375057 +0900 | |
| +++ new/url.c 2015-07-28 23:57:34.394271277 +0900 | |
| @@ -107,6 +107,7 @@ | |
| {"jpg", "image/jpeg"}, | |
| {"png", "image/png"}, | |
| {"xbm", "image/xbm"}, | |
| + {"tiff", "image/tiff"}, | |
| {"au", "audio/basic"}, | |
| {"gz", "application/x-gzip"}, | |
| {"Z", "application/x-compress"}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit de7e2edc14a5418abd5298e0cc76caa3d3bb5faa | |
| Author: uobikiemukot <[email protected]> | |
| Date: Wed Aug 26 20:14:34 2015 +0900 | |
| add framebuffer video output | |
| diff --git a/video/out/vo.c b/video/out/vo.c | |
| index de79fb0..d7d909c 100644 | |
| --- a/video/out/vo.c | |
| +++ b/video/out/vo.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define _XOPEN_SOURCE 600 | |
| #include <errno.h> | |
| #include <fcntl.h> | |
| #include <signal.h> | |
| #include <stdarg.h> | |
| #include <stdbool.h> | |
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| BUILD_DIR="$HOME/build" | |
| SEARCH_URL="https://aur.archlinux.org/rpc.php?type=search" | |
| GIT_URL="https://aur.archlinux.org" | |
| error() | |
| { | |
| echo $1 | |
| exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- vgm.h.orig 2015-09-10 01:12:19.019687382 +0900 | |
| +++ vgm.h 2015-09-10 01:12:42.259665862 +0900 | |
| @@ -224,7 +224,7 @@ | |
| spfm_send(serial_fd, OPNA_SLOT_NUM, 0x01, 0x10, 0x13); | |
| spfm_send(serial_fd, OPNA_SLOT_NUM, 0x01, 0x10, 0x80); | |
| spfm_send(serial_fd, OPNA_SLOT_NUM, 0x01, 0x00, 0x60); | |
| - spfm_send(serial_fd, OPNA_SLOT_NUM, 0x01, 0x01, 0x02); | |
| + spfm_send(serial_fd, OPNA_SLOT_NUM, 0x01, 0x01, 0x00); | |
| spfm_send(serial_fd, OPNA_SLOT_NUM, 0x01, 0x02, low_byte(start_addr)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/ChangeLog b/ChangeLog | |
| index 49a59d5..1d75b60 100644 | |
| --- a/ChangeLog | |
| +++ b/ChangeLog | |
| @@ -83,3 +83,11 @@ | |
| ex) | |
| $ ./mkfont alias-file your/favorite/bdf > glyph.h | |
| $ make yaft | |
| + | |
| +2014-03-07 haru |