Remade readme, added screenshot, ignoring, compilation...

This commit is contained in:
Ognjen Milan Robovic 2024-02-23 14:16:09 -05:00
parent 0d719f3b02
commit ee673ceaf0
5 changed files with 12 additions and 5 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
xscii.o
xscii.ali
vt100.mod
xscii

View File

@ -3,7 +3,10 @@
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.
- 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:
```bash
@ -19,3 +22,5 @@ Use:
```bash
$ xscii
```
![screenshot](screenshot.png)

View File

@ -4,10 +4,8 @@ set -xe
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
# gnatmake -o xscii xscii.adb
# fasm -o xscii xscii.fasm
exit

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 933 KiB

View File

@ -93,7 +93,7 @@ static void echo_name (int character, int colour, int effect) {
echo (name [character]);
out (" ", 24 - string_length (name [character]));
out (" ", 24 - string_length (name [character])); /* L: */
terminal_cancel ();
}