2017-02-13 23:56:53 +00:00
# Contributing
2018-04-05 01:33:15 +00:00
2020-06-02 00:13:46 +00:00
🎌
2020-10-04 15:47:13 +00:00
[Čeština][CZ],
2020-05-05 17:30:37 +00:00
[Deutsch][DE],
2020-01-05 17:39:14 +00:00
**English**,
2020-02-27 18:31:08 +00:00
[Español][ES],
2020-03-01 20:32:10 +00:00
[Français][FR],
2020-10-13 00:59:03 +00:00
[Italiano][IT],
2020-08-01 01:03:24 +00:00
[Kurdi][KU],
2020-10-13 01:06:15 +00:00
[Lietuvių][LT],
2020-02-26 10:18:07 +00:00
[Nederlands][NL],
2020-10-13 00:59:03 +00:00
[Norsk][NO],
2020-01-05 17:02:02 +00:00
[Português][PT_BR],
2020-01-05 17:39:14 +00:00
[Türkçe][TR],
2020-10-13 00:31:09 +00:00
[Ελληνικά][GR],
2020-10-13 00:59:03 +00:00
[العربية][AR],
2020-08-17 18:19:05 +00:00
[日本語][JA],
2020-01-07 17:42:10 +00:00
[正體中文][ZH_TW],
2020-01-07 17:48:10 +00:00
[简体中文][ZH_CN],
2020-01-05 17:39:14 +00:00
[한국어][KO_KR]
2018-04-05 01:33:15 +00:00
2019-06-16 15:47:45 +00:00
[AR]:CONTRIBUTING.ar.md
2020-10-04 15:47:13 +00:00
[CZ]:CONTRIBUTING.cz.md
2020-05-05 17:30:37 +00:00
[DE]:CONTRIBUTING.de.md
2020-01-05 17:39:14 +00:00
[EN]:CONTRIBUTING.md
2020-02-27 18:31:08 +00:00
[ES]:CONTRIBUTING.es.md
2020-02-27 18:21:57 +00:00
[FR]:CONTRIBUTING.fr.md
2020-10-13 00:31:09 +00:00
[GR]:CONTRIBUTING.gr.md
2020-10-13 00:59:03 +00:00
[IT]:CONTRIBUTING.it.md
2020-08-17 18:19:05 +00:00
[JA]:CONTRIBUTING.ja.md
2018-04-05 01:33:15 +00:00
[KO_KR]:CONTRIBUTING.ko_kr.md
2020-08-01 01:03:24 +00:00
[KU]:CONTRIBUTING.ku.md
2020-10-13 00:59:03 +00:00
[LT]:CONTRIBUTING.lt.md
2020-02-27 18:31:08 +00:00
[NL]:CONTRIBUTING.nl.md
2020-10-13 00:59:03 +00:00
[NO]:CONTRIBUTING.no.md
2020-01-05 17:39:14 +00:00
[PT_BR]:CONTRIBUTING.pt_br.md
2019-10-14 20:10:11 +00:00
[TR]:CONTRIBUTING.tr.md
2020-01-07 17:48:10 +00:00
[ZH_CN]:CONTRIBUTING.zh_cn.md
2020-01-07 17:42:10 +00:00
[ZH_TW]:CONTRIBUTING.zh_tw.md
2017-11-11 04:39:52 +00:00
2020-10-09 18:45:56 +00:00
The source code in this repository was digitized manually from paper printouts, so typos and other discrepancies have been introduced accidentally. The code shall be modified to be made consistent with the following scanned printouts:
2019-01-28 04:35:40 +00:00
2020-06-01 23:29:19 +00:00
- [AGC printouts for Comanche][8]
- [AGC printouts for Luminary][9]
2019-01-28 04:35:40 +00:00
2017-03-05 18:28:48 +00:00
## Useful Extensions
2020-02-19 05:25:00 +00:00
GitHub has syntax support for the AGC assembly language built-in. Unfortunately your code editor will not, however there are AGC language extensions that provides syntax highlighting for the following editors:
2020-06-01 23:29:19 +00:00
2020-02-19 05:25:00 +00:00
- [Atom][Atom]†
- [CodeBlocks][CodeBlocks]
- [Eclipse][Eclipse]
- [Kate][Kate]
- [ProgrammersNotepad][ProgrammersNotepad]
- [Sublime Text 3][Sublime Text]†
- [TextPad][TextPad]
- [Vim][Vim]
- [Visual Studio Code][VisualStudioCode]†
- [jEdit][jEdit]
† Supports automatic formatting
[Atom]:https://github.com/Alhadis/language-agc
[CodeBlocks]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/CodeBlocks
[Eclipse]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/Eclipse
[Kate]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/Kate
[ProgrammersNotepad]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/ProgrammersNotepad
[Sublime Text]:https://github.com/jimlawton/AGC-Assembly
[TextPad]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/TextPad
[Vim]:https://github.com/wsdjeg/vim-assembly
[VisualStudioCode]:https://github.com/wopian/agc-assembly
[jEdit]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/jEdit
2017-03-05 18:28:48 +00:00
## Formatting
2020-06-01 23:29:19 +00:00
2020-02-19 05:25:00 +00:00
**Note:** GitHub and extensions marked above will ensure you're using the correct formatting automatically.
2017-03-05 18:28:48 +00:00
- Use tab indentation
- Use tab width of 8
- Trim trailing whitespace
2017-02-14 00:10:18 +00:00
## What do I check?
2020-06-01 23:29:19 +00:00
2020-10-09 18:45:56 +00:00
Any discrepancies between the scans and the source code in this repository.
2019-01-28 04:35:40 +00:00
2017-02-13 23:56:53 +00:00
### Comments
2020-06-01 23:29:19 +00:00
2020-10-09 18:55:22 +00:00
Comments in the transcribed code **MUST** match the scans **exactly** .
2020-10-09 18:45:56 +00:00
Common issues you should look out for while proofing include, but not limited to:
#### Typographic Errors
In some places, the original developers made typographic errors while writing comments. Some of these were mistakenly corrected during the initial digitisation, however the digitisation has also introduced typographic errors that were not present in the scans.
2020-10-09 18:55:22 +00:00
For example, if the digitised comments contained `SPACECRAFT` , but `SPAECRAFT` was printed in the scans, then the digitisation **MUST** be corrected to `SPAECRAFT` (missing `C` ).
2020-10-09 18:45:56 +00:00
Likewise, if a word has a typo in the digitisation but is spelt correctly in the scans then the typo **MUST** be corrected.
2020-10-09 18:55:22 +00:00
2020-10-09 18:45:56 +00:00
#### Spaces
2020-10-13 00:01:29 +00:00
Spaces between two characters in comments **SHOULD** match the scans. In most cases (see the discussion in [#316][10]), this is:
2020-10-09 18:45:56 +00:00
- Single space for new words.
- Double space for new sentences.
- Triple space for indentations.
Not all pages in the scans follow this generalisation, if the scans only have a single space instead of a double space, use a single space.
2017-02-13 23:56:53 +00:00
### Line breaks
2020-06-01 23:29:19 +00:00
2017-02-22 04:55:56 +00:00
- Line breaks *with* `R0000` in column 1 should match the scans exactly.
2020-02-19 05:25:00 +00:00
- Line breaks *with* *__out__* `R0000` in column 1 should contain only 1 or 2 blank lines in a row.
- If there are more than 2 blank lines breaks, strip the extra line breaks.
2017-02-22 04:55:56 +00:00
- Lines with `R0000` in column 1 do not count towards this.
2020-02-19 05:25:00 +00:00
- In the source images, these were created by an unprinted digit in column 8. A 2 there forced a double space (single blank line) and a 3 forced a triple space (double blank line). Values 4-8 were defined but never used. Read more about it in [#159][7]
2018-04-05 01:33:15 +00:00
2017-02-22 04:55:56 +00:00
For example the following:
2020-06-01 23:29:19 +00:00
2017-02-22 04:55:56 +00:00
```plain
R0819 SUBROUTINE TO SKIP...
R0820
0821 LAMPTEST CS IMODES33
```
2020-06-01 23:29:19 +00:00
2017-02-22 04:55:56 +00:00
Should become:
2020-06-01 23:29:19 +00:00
2017-02-22 04:55:56 +00:00
```plain
R0819 SUBROUTINE TO SKIP...
R0820
0820 LAMPTEST CS IMODES33
```
2017-02-13 23:56:53 +00:00
2018-03-14 23:23:46 +00:00
## Note
2019-01-28 04:35:40 +00:00
Before you make a PR, please make sure your changes are consistent with the scans!
2018-03-14 23:23:46 +00:00
2017-02-13 23:56:53 +00:00
[0]:https://github.com/chrislgarry/Apollo-11/pull/new/master
[1]:http://www.ibiblio.org/apollo/ScansForConversion/Luminary099/
[2]:http://www.ibiblio.org/apollo/ScansForConversion/Comanche055/
[6]:https://github.com/wopian/agc-assembly#user-settings
2017-02-14 00:07:17 +00:00
[7]:https://github.com/chrislgarry/Apollo-11/issues/159
2018-03-14 23:23:46 +00:00
[8]:http://www.ibiblio.org/apollo/ScansForConversion/Comanche055/
2018-04-05 01:33:15 +00:00
[9]:http://www.ibiblio.org/apollo/ScansForConversion/Luminary099/
2019-04-25 14:03:19 +00:00
[10]:https://github.com/chrislgarry/Apollo-11/pull/316#pullrequestreview-102892741