Remade readme, added screenshot, ignoring, compilation...
This commit is contained in:
parent
0d719f3b02
commit
ee673ceaf0
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
xscii.o
|
||||||
|
xscii.ali
|
||||||
|
vt100.mod
|
||||||
|
xscii
|
@ -3,7 +3,10 @@
|
|||||||
xscii -- Program for seeing ASCII table, if you want to change output style, do it in source.
|
xscii -- Program for seeing ASCII table, if you want to change output style, do it in source.
|
||||||
|
|
||||||
- Everything related to my libraries is clean of all warning options on Clang, GCC and Valgrind.
|
- Everything related to my libraries is clean of all warning options on Clang, GCC and Valgrind.
|
||||||
- I don't know what else to write here, program is being done in my free time, so expect more...
|
- I used to search for watermarked ASCII table images on the internet, and decided to write this.
|
||||||
|
- You can totally make the exact same program in like 10 lines of C code, but I'm me...
|
||||||
|
- I didn't even want to handle program arguments for this one, because it's so stupid in general.
|
||||||
|
- Also, I rewrote it in Ada for fun, in Fortran for pleasure and in assembly for laughs.
|
||||||
|
|
||||||
Compile:
|
Compile:
|
||||||
```bash
|
```bash
|
||||||
@ -19,3 +22,5 @@ Use:
|
|||||||
```bash
|
```bash
|
||||||
$ xscii
|
$ xscii
|
||||||
```
|
```
|
||||||
|
|
||||||
|
![screenshot](screenshot.png)
|
||||||
|
@ -4,10 +4,8 @@ set -xe
|
|||||||
|
|
||||||
gcc -g -ansi -Wall -Wextra -Wpedantic -Werror -Ofast -o xscii xscii.c
|
gcc -g -ansi -Wall -Wextra -Wpedantic -Werror -Ofast -o xscii xscii.c
|
||||||
|
|
||||||
# clang -o xscii xscii.c
|
|
||||||
# tcc -o xscii xscii.c
|
|
||||||
# flang -o xscii xscii.f90
|
|
||||||
# gfortran -o xscii xscii.f90
|
# gfortran -o xscii xscii.f90
|
||||||
# gnatmake -o xscii xscii.adb
|
# gnatmake -o xscii xscii.adb
|
||||||
|
# fasm -o xscii xscii.fasm
|
||||||
|
|
||||||
exit
|
exit
|
||||||
|
BIN
screenshot.png
Normal file
BIN
screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 933 KiB |
2
xscii.c
2
xscii.c
@ -93,7 +93,7 @@ static void echo_name (int character, int colour, int effect) {
|
|||||||
|
|
||||||
echo (name [character]);
|
echo (name [character]);
|
||||||
|
|
||||||
out (" ", 24 - string_length (name [character]));
|
out (" ", 24 - string_length (name [character])); /* L: */
|
||||||
|
|
||||||
terminal_cancel ();
|
terminal_cancel ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user