Update 2012/deckmyn - try.sh, bugs.md, formatting
The try.sh script is as usual. The bugs.md has some features, not bugs. The README.md file has been format/typo checked. The deckmyn.md file has been format/typo checked. A caveat with this entry is I was not able to verify as much when it comes to checking things as I do not have a musical background (despite the fact my family is full of musicians).
This commit is contained in:
1 parent
c626cd7321
commit
54cfecae4f
6 files changed
+150
-24
No files matched your search
@@ -2728,6 +2728,47 @@ fire](https://en.wikipedia.org/wiki/Halt_and_Catch_Fire_(computing)) :-)
|
||||
# 2012
|
||||
|
||||
|
||||
## 2012 deckmyn
|
||||
|
||||
### STATUS: INABIAF - please **DO NOT** fix
|
||||
### Source code: [2012/deckmyn/deckmyn.c](2012/deckmyn/deckmyn.c)
|
||||
### Information: [2012/deckmyn/README.md](2012/deckmyn/README.md)
|
||||
|
||||
The author stated:
|
||||
|
||||
```
|
||||
The memory locations of `argv` are used for various purposes. Therefore, the
|
||||
program name (default `deckmyn`) must be *at least 4 characters long*, including
|
||||
possibly the path. This, along with the ending `'\0'`, gives a minimum 5 bytes of
|
||||
useful memory space. Otherwise, the program may attempt to write outside the
|
||||
string.
|
||||
|
||||
The code is quite sensitive. Errors in the input can lead to strange results.
|
||||
The code does not read beyond the end of the music input, but that is about the
|
||||
only error checking available. Any input that is not according to the rules in
|
||||
the deckmyn.md, may cause errors.
|
||||
|
||||
The program has no special hardware limitations or requirements, other than 8bit
|
||||
`char` (`signed` or `unsigned`) and two's complement negatives.
|
||||
|
||||
The limitations of using `char` as counters for e.g. the number of music staves
|
||||
are minor. 127 staves to a page is rather a lot.
|
||||
|
||||
The file layout must be exactly the same as deckmyn.c though, only the locations
|
||||
of space (`" "`) may differ.
|
||||
|
||||
Every element in the music is given by a string of *exactly* 3 characters. Any
|
||||
violation of this will result in the rest of the music being interpreted in some
|
||||
randomly wrong way. Notice that in a file, the newline is also a character!
|
||||
Therefore, when preparing music in a file, care should be taken that the last
|
||||
musical element of a line is only 2 characters!
|
||||
```
|
||||
|
||||
|
||||
|
||||
The manual referred to is [here](2012/deckmyn/deckmyn.md).
|
||||
|
||||
|
||||
## 2012 vik
|
||||
|
||||
### STATUS: INABIAF - please **DO NOT** fix
|
||||
|
||||
Reference in new issue
Block a user