Commit Graph
100 Commits
Author SHA1 Message Date
Antonio Niño Díaz dfcba36448 test: Update commit of uCity used for testing
This one updates the code to fix all warnings introduced in the last few
months because of updates to RGBDS.
2020-09-27 22:47:56 +01:00
Antonio Niño Díaz daf780c7e6 Refactor warning array for clarity 2020-08-04 22:28:56 +01:00
Antonio Niño Díaz 6003be3fae Fix declaration of constexpr_BankSymbol() 2020-01-08 23:33:42 +00:00
Antonio Niño Díaz e33e6e2413 Merge pull request #382 from NieDzejkob/checkpatch-bool-member
checkpatch.conf: Don't complain when bools are used in struct
2019-08-20 14:17:15 +01:00
Antonio Niño Díaz b8d5dd1824 Merge pull request #366 from dbrotz/fix-313
Fix signed integer overflow issues
2019-08-17 16:09:09 +01:00
Antonio Niño Díaz 88b66f2941 Merge pull request #364 from dbrotz/fix-362
Don't append invalid characters to symbol name
2019-08-17 16:08:27 +01:00
Antonio Niño Díaz 3c7e59b9e1 Merge pull request #374 from Ben10do/pushs-outside-of-section
Allow PUSHS to be used before a section
2019-08-17 16:07:28 +01:00
Antonio Niño Díaz b019b03946 Merge pull request #358 from dbrotz/fix-357
Fix buffer overflow when creating patches with long RPN expressions
2019-07-12 00:49:08 +01:00
Antonio Niño Díaz 605acd24ba Merge pull request #372 from jidoc01/master
Document the feature of input from stdin (resolves #371)
2019-07-12 00:48:25 +01:00
Antonio Niño Díaz 4040555532 Merge pull request #365 from dbrotz/terminate-bracketed-symbol
Terminate standalone bracketed symbol strings
2019-07-07 11:46:43 +01:00
Antonio Niño Díaz defb221c98 Merge pull request #360 from jidoc01/master
Improve charmap structure with trie.
2019-07-07 11:46:08 +01:00
Antonio Niño Díaz dfdb107105 Merge pull request #370 from jidoc01/fix_bug
Fix comment bug
2019-07-06 11:10:17 +01:00
Antonio Niño Díaz 9f598dfdb7 Merge pull request #359 from dbrotz/fix-lexer-out-of-bounds
Fix out of bounds array access in lexer
2019-07-06 11:09:43 +01:00
Antonio Niño Díaz 54e5bf0f0c Merge pull request #343 from phs/phs/docker
Have a docker file
2019-07-04 23:07:16 +01:00
Antonio Niño Díaz 847cae5b95 Merge pull request #329 from NieDzejkob/allow-stdin-input
Allow using - to indicate input from stdin (resolves #305)
2019-07-04 23:02:42 +01:00
Antonio Niño Díaz 3cd1d46a1b Merge pull request #356 from NieDzejkob/add-narg-test
Add a test for the behavior of NARG after SHIFT
2019-06-16 22:35:37 +01:00
Antonio Niño Díaz d00ec024a2 Merge pull request #351 from dbrotz/fix-strsub-strlen
Use code points instead of bytes for STRSUB/STRLEN
2019-06-07 10:31:11 +01:00
Antonio Niño Díaz 0bcd53778a Merge pull request #346 from qguv/tilemap-mirrored-duplicates
gfx: Add mirrored tile check when generating tilemap
2019-06-07 10:29:15 +01:00
Antonio Niño Díaz 7592eaf42b Merge pull request #354 from NieDzejkob/test-runner-stuff
Various test running fixes
2019-06-05 23:23:57 +01:00
Antonio Niño Díaz 12ed9e044a Merge pull request #353 from qguv/checkpatch-path-override
Clarify how to override checkpatch.pl path
2019-06-05 23:15:10 +01:00
Antonio Niño Díaz cc458a9693 Fix a few checkpatch issues 2019-05-31 12:34:14 +01:00
Antonio Niño Díaz d2bd9a2368 Merge pull request #337 from dbrotz/one-pass
Use only one pass
2019-05-31 12:10:46 +01:00
Antonio Niño Díaz a761e98e18 Run checkpatch against origin/master
The develop branch has been deleted. Remove references to it.
2019-05-10 00:16:27 +01:00
Antonio Niño Díaz fa37922ca7 Remove develop branch from contributing guide
This branch was meant to contain changes that were considered too risky
to be in master. However, there is not enough activity in the repository
to justify its presence. Both branches are always pointing at the same
commit.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2019-05-09 18:58:25 +01:00
Antonio Niño Díaz 6ff9435e0a Merge pull request #335 from dbrotz/fix-334
Dynamically allocate RPN expression buffer
2019-05-05 23:33:36 +01:00
Antonio Niño Díaz a37a09c09c Merge pull request #328 from NieDzejkob/better-linker-errors
Print location information in linker errors where viable #328
2019-03-10 23:41:14 +01:00
Antonio Niño Díaz 8ece231d8b Merge pull request #327 from NieDzejkob/symbol-length-check
Fix symbol length checking
2019-03-10 23:40:03 +01:00
Antonio Niño Díaz 65d7909466 Merge pull request #319 from mid-kid/patch-317
Allow linker script to consider section attributes
2019-01-19 16:15:42 +00:00
Antonio Niño Díaz 861192c332 Merge pull request #318 from mid-kid/patch-316
Update a symbol's filename and line when defined
2019-01-19 16:14:11 +00:00
Antonio Niño Díaz 4b40d63dfd Merge pull request #311 from dbrotz/fix-222
Fix #222 and #255
2018-12-10 23:17:39 +00:00
Antonio Niño Díaz a99b7f6902 Merge pull request #314 from dbrotz/fix-314
Fix #314
2018-12-10 23:09:39 +00:00
Antonio Niño Díaz b3391f699f Merge pull request #310 from dbrotz/fix-302
Fix #302
2018-12-10 23:05:22 +00:00
Antonio Niño Díaz e25a4b0abc Merge pull request #309 from dbrotz/master
Fix #308
2018-12-04 21:07:08 +00:00
Antonio Niño Díaz 16fac50db4 Fix clone of external repository
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-12-02 23:39:09 +00:00
Antonio Niño Díaz 69f79f8598 Remove unused str2int()
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-08-18 00:19:48 +01:00
Antonio Niño Díaz d778b8e71c Update HTML documentation 2018-07-31 20:02:06 +01:00
Antonio Niño Díaz adea89f3eb Merge pull request #294 from yenatch/utf-8
Fix UTF-8 characters with an even number of bytes.
2018-07-02 23:10:46 +01:00
Antonio Niño Díaz 33c984e456 Merge pull request #287 from Ben10do/remove-dummymem
Two variables, pSection->Data and tSymbols, were previously set to
dummymem, a global variable that was otherwise not used.

As this can potentially cause alignment warnings on Clang, this commit
replaces that mechanism with a plain old NULL pointer, which is more
generally used as a dummy pointer value.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-06-10 22:54:16 +01:00
Antonio Niño Díaz 458f79f44f Fix test projects compilation in OS X
The tool md5sum is required by some of them.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-06-06 22:18:29 +01:00
Antonio Niño Díaz 34e04b0327 Re-enable OS X builds in Travis CI
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-06-06 22:10:21 +01:00
Antonio Niño Díaz cf7bb9e99f Merge pull request #285 from Ben10do/allow-test-repos-to-be-kept
We no longer assume that the test repos don’t exist when we run
run-tests.sh. This allows developers to choose to keep them, to allow
them to run the tests more quickly.

- Add the test repos to the .gitignore.
- Check if the directory for each repo already exists, before trying to
  clone it.
- Do a git pull for each repo, to ensure that existing copies of repos
  are up-to-date.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-06-06 22:06:04 +01:00
Antonio Niño Díaz df065dbbcb Update html documentation
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-06-06 19:21:30 +01:00
Antonio Niño Díaz f8b4cc52f6 rgbasm: Allow variations of 'ld [$FF00+c],a'
The following mnemonics are now valid:

    - ld
    - ldh
    - ldio

The following are valid as operands:

    - [$ff00+c]
    - [$ff00 + c]
    - [c]

This is done for consistency with 'ld [$FF00+n],a' and variations of it.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-05-20 21:04:47 +01:00
Antonio Niño Díaz 748943f6fc Increase version number to 0.3.7
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-05-02 20:04:00 +01:00
Antonio Niño Díaz d945c5811c rgbasm: Check the values of operands in bit shifts
The tests are not exhaustive, there are some conditions that aren't
checked. The tests are based in the C standard rules about undefined
behaviour.

This is a compatibility break but, hopefully, all projects are using
sane values. If not, there is no guarantee that the projects will build
in any platform where RGBDS can be compiled, so it would be better to
fix them.

Even though, technically, the left shift of a negative value is always
undefined, some projects rely on its current behaviour. This is the
reason why this doesn't cause a fatal error.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-28 01:59:37 +01:00
Antonio Niño Díaz 6fe2741f2d Enable GCC options to detect undefined behaviour
GCC has an Undefined Behavior Sanitizer (ubsan), which enables run-time
checks of undefined behaviour. It has been enabled for the `develop`
build target.

A small bug detected with it has been fixed.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-28 00:57:25 +01:00
Antonio Niño Díaz 24d7cfe0f9 checkpatch: Ignore warnings about SPDX
The Linux kernel expects the SPDX license tag to be in the first line of
all source code files. The reason is that they have many different
license headers, and this simplifies the work for any tool that has to
determine the license of each file.

In this project, the license headers follow the same pattern, so it
isn't useful.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-27 23:00:29 +01:00
Antonio Niño Díaz 630933b148 rgbfix: Fix checkpatch issues
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-22 21:02:08 +01:00
Antonio Niño Díaz e8a16c6f53 Don't generate output file if overlay isn't found
Previously, the output file was opened before trying to open the
overlay. Because of this, rgblink generated an empty output file if the
overlay couldn't be opened.

Now the overlay is opened (and checked) before the output file, so the
output file is only generated if the overlay is found.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-22 20:54:48 +01:00
Antonio Niño Díaz 2cb50730a1 Document Section ID == -1 in object files
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-22 20:21:45 +01:00
Antonio Niño Díaz efae6c7fd2 Merge pull request #264 from inmemrgbfix
Rewrite rgbfix to perform most actions in memory.

Limit file operations to a small number that can be reasonably checked,
and do the majority of the actual work on a buffered header in memory
where operations won't fail.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-22 20:03:32 +01:00
Antonio Niño Díaz 7149fc1e39 tests: Update references
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-03 23:04:29 +01:00
Antonio Niño Díaz 2e695334c1 rgbfix: Add check to malloc()
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-03 22:41:51 +01:00
Antonio Niño Díaz e2b4554a5c Replace tabs by spaces in fprintf()
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-03 22:41:44 +01:00
Antonio Niño Díaz ef87dd5a6e rgbasm: Fix declaration of fatalerror()
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-03 22:41:37 +01:00
Antonio Niño Díaz 4f126b37d0 Merge pull request #261 from warnings
Enable a lot of GCC warnings and cleanup Makefile and compiler macros

Most of the warnings in the GCC documentation have been enabled. As the
build system was using `-Werror`, this made the new builds very
susceptible to any minor change in the compiler. To fix that, this
option has been removed from the default Makefile target and it is only
used when the code is compiled through `make develop`.

The file `stdnoreturn.h` has been modified to remove support for
compilers that aren't actually tested. It now has defines for
`__attribute__((unused))` and it has been renamed to `helpers.h`.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-03 19:57:04 +01:00
Antonio Niño Díaz 1b4187e51f Cleanup GCC compiler attributes
Added define 'unused_' for '__attribute__((unused))'. The oldest version
of GCC with online docs (GCC 2.95.3, released in March 16, 2001 [1])
already has support for this attribute, so it doesn't make sense to
check the version.

Renamed 'noreturn' to 'noreturn_' for consistency.

[1] https://gcc.gnu.org/onlinedocs/

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-03 19:52:50 +01:00
Antonio Niño Díaz 0daec91683 Check code style as part of the CI tests
If checkpatch.pl detects any ERROR in the new patches, the Travis CI
build will fail.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-03 00:02:17 +01:00
Antonio Niño Díaz cbaaec98ca Simplify helpers.h
`__attribute__((noreturn))` has been supported since GCC 2.5, that was
released October 22, 1993. It doesn't make sense to check if the version
is at least that one, we are compiling for C99, that is more modern. [1]

Also, remove the MSVC check. This code is never compiled with it so
there may be problems that need to be solved to make it compile. All
releases cross-compiled from linux. If there is an actual need to
support MSVC, the compiler definitions can be added again.

Also, if the compiler is not supported, the compiler helpers default to
nothing, so the code can still compile.

[1] https://gcc.gnu.org/onlinedocs/

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-02 22:53:48 +01:00
Antonio Niño Díaz 895d1d5813 Remove check for C11 in helpers.h
The mandatory CFLAGS in the Makefile make the compiler use C99.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-02 22:53:48 +01:00
Antonio Niño Díaz e99a651165 Create makefile target to check all warnings
Remove '-Werror' from the default make target to make it easy for
regular users of RGBDS to compile the source code. Only a few basic
warnings are left in that target.

All the warnings have been moved to a new target called 'develop'. This
target is now the one used in Travis CI to check for problems during
compilation.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-02 22:53:48 +01:00
Antonio Niño Díaz 0ae69b3114 Rename stdnoreturn.h to helpers.h
This file will contain more compiler-specific helpers.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-02 22:53:48 +01:00
Antonio Niño Díaz 95ccc48d0c Enable -Wundef
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-02 22:53:48 +01:00
Antonio Niño Díaz 29253046d5 Remove C++ check in stdnoreturn.h
This isn't a C++ project, only keep checks for C compilers.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-02 22:53:48 +01:00
Antonio Niño Díaz 340362d984 Enable a few warning flags
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-02 22:53:48 +01:00
Antonio Niño Díaz 85ece88268 Add default clauses to switch statements
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-02 22:53:43 +01:00
Antonio Niño Díaz 516e4578ea Enable more optional warnings
-Wformat-truncation is set to 1 instead of 2 because in some cases the
return value of snprintf is used to warn about truncations but GCC still
creates a warning for it, preventing the compilation from continuing.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-01 01:42:55 +01:00
Antonio Niño Díaz 9829be1045 Enable -Wextra
-Wsign-compare has been disabled because flex generates a comparison
that triggers a warning and cannot be fixed in the code.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-01 01:42:55 +01:00
Antonio Niño Díaz b28a16c0da Enable -Wpedantic
Fix a few warnings related needed to build the source with this option.

Add new exception to .checkpatch.conf.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-04-01 00:56:00 +01:00
Antonio Niño Díaz 4d13d57491 Fix behaviour of '@'
When '@' is used as argument of any instruction (LD, JR, JP, etc), the
address it refers to is the address of the first byte of the
instruction. When '@' is used with DB/DW/DL, it refers to the same
address it is being placed at. This means that instructions need an
offset of 1 byte and others need an offset of 0 bytes.

The assembler doesn't evaluate anything related to '@' because it would
only work in sections with a fixed base address. It is left to the
linker. This means that the offset needs to be added to the RPN
expression of the patch that is saved in the linker. It isn't enough by
adding an offset to the final expresion. The following value wouldn't be
calculated correctly (even if it doesn't make sense):

    JP @ * @

The correct patch is `(@ - 1) * (@ - 1)`, not `(@ * @) - 1`.

This patch introduces an offset on 1 byte by default in every line, and
sets it to 0 only if a DB/DW/DL is detected.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-03-31 00:43:25 +01:00
Antonio Niño Díaz be6bc7460b Don't save '@' in map and sym files
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-03-31 00:43:25 +01:00
Antonio Niño Díaz efdd42c6a8 Simplify parsing of variable-length lists
This change removes 2 reduce/reduce conflicts in the parser while
preserving the behaviour of the rules.

Note that now each list with empty elements will only print a warning
per line.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-03-31 00:43:02 +01:00
Antonio Niño Díaz c1a97f6541 Allow to JR to numeric constants
Previously, JR was only allowed to labels (in the same section, or
different sections). When trying to JR to an address specified as a
numeric value, rgbasm would fail to calculate the JR offset (as it
doesn't know the final address of the JR so it can't calculate the
difference).

This patch makes rgblink calculate the offset whenever there is a JR.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-03-29 23:38:54 +01:00
Antonio Niño Díaz ea4276c7ac Increase version number to 0.3.6
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-03-20 20:11:38 +00:00
Antonio Niño Díaz 7bce97f817 Fix crash in rgbgfx with height not multiple of 8
Images are allowed to have any arbitrary height if the width is 8. If
the height is not a multiple of 8, the number of tiles calculated won't
be an exact number and it will be rounded down. This patch increases the
number of tiles allocated in this case to prevent rgbgfx from accessing
memory that hasn't been allocated.

The buffers are now initialized to 0 with calloc instead of being
created with malloc.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-03-19 21:47:19 +00:00
Antonio Niño Díaz 483a63156b Document character maps
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-03-15 21:04:43 +00:00
Antonio Niño Díaz f86dbafad0 Fix format in manpage
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-03-07 18:23:44 +00:00
Antonio Niño Díaz 8744d360a3 Fix format of manpage
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-02-27 19:42:29 +00:00
Antonio Niño Díaz b6bd57a764 Merge pull request #237 from continue-lines
Allow to continue lines

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-02-26 21:55:19 +00:00
Antonio Niño Díaz f2b55527d5 Update html manpages
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-02-26 21:49:19 +00:00
Antonio Niño Díaz 84a6899c6c Document line continuation syntax
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-02-26 21:48:28 +00:00
Antonio Niño Díaz 8cffe22295 Fix style of code sections in manpages
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-02-26 21:48:26 +00:00
Antonio Niño Díaz 0c85240b97 Allow line continuations in list of macro args
For example:

    PrintMacro : MACRO
        PRINTT \1
    ENDM

        PrintMacro STRCAT(\"Hello\"\,  \
                          \" world\\n\")

It is possible to have spaces after the '\' and before the newline
character. This is needed because Windows line endings "\r\n" are
converted to " \n" before the lexer has a chance to handle them.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-02-26 21:47:52 +00:00
Antonio Niño Díaz 58ab88da82 Allow to scape " in lists of macro args
For example:

    PrintMacro : MACRO
        PRINTT \1
    ENDM

        PrintMacro STRCAT(\"Hello\"\,  \" world\\n\")

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-02-26 21:47:52 +00:00
Antonio Niño Díaz 3e219dee36 Allow to continuate lines except inside macros
Lines can be continuated after a newline character ('\n'):

    DB 1, 2, 3, 4 \
       5, 6, 7, 8

This doesn't work for now in lists of arguments of macros.

It is possible to have spaces after the '\' and before the newline
character. This is needed because Windows line endings "\r\n" are
converted to " \n" before the lexer has a chance to handle them.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-02-26 21:47:52 +00:00
Antonio Niño Díaz 6ad5bd2325 Add flag to rgbasm to disable LD->LDH optimization
rgbasm tries to optimize any loads from/to $FF00-$FFFF and generate
LDH 2-byte opcodes instead of regular LD 3-byte opcodes. This is a bit
inconsistent as it only works for constant values. If a load is trying
to access a label in a HRAM floating section, or a section found in a
different object file, this optimization doesn't work.

This means that a simple refactor or code could allow rgbasm to perform
the optimzation or prevent it from doing so. For certain projects, like
disassemblies, this is a problem.

This patch adds flag -L to rgbasm to disable the optimization, and
doesn't change the behaviour of any other existing code.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-02-26 21:44:00 +00:00
Antonio Niño Díaz 2a97535e75 Add safeguards against string overflows
Use snprintf instead of other unsafe functions. That way it is possible
to limit the size of the buffer and to ensure that it never overflows.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-02-25 22:58:29 +00:00
Antonio Niño Díaz 0e0e12a769 Add CSS file for the html documentation
It has been obtained from here:

http://mdocml.bsd.lv/cgi-bin/cvsweb/mandoc.css

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-02-24 16:40:55 +00:00
Antonio Niño Díaz 3bebedf1f8 Handle newlines and comments correctly
Newlines have to be handled before comments or comments won't be able to
handle line endings that don't include at least one LF character.

Also, document an obscure comment syntax: Anything that follows a '*'
placed at the start of a line is also a comment until the end of the
line.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-02-23 19:24:18 +00:00
Antonio Niño Díaz 2ed937db2c Allow JR between sections
Previously, JR was only allowed if the destination label was in the same
section as the JR. This patch removes this restriction. The check to see
if the relative value overflows is now done when linking the ROM.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-02-23 19:21:44 +00:00
Antonio Niño Díaz d243bd04ef Introduce command PRINTI to print integers
PRINTV prints integers in hexadecimal, PRINTI prints them in signed
decimal. For example:

    PRINTT "Error at line "
    PRINTI __LINE__
    PRINTT "\n"

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-02-23 19:20:52 +00:00
Antonio Niño Díaz 3623638be7 Fix HIGH() and LOW() for constants
HIGH() and LOW() only worked with labels and register pairs.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-02-22 21:23:25 +00:00
Antonio Niño Díaz 8ea3669a64 Merge pull request #235 from obskyr/rgbgfx-color
Add color support to rgbgfx (again)!

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-02-20 19:56:39 +00:00
Antonio Niño Díaz d602ebfde5 Fix typo in rgblink manpage
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-02-18 19:57:02 +00:00
Antonio Niño Díaz 305512a2b7 Increase version number to 0.3.5
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-01-28 13:08:00 +00:00
Antonio Niño Díaz a6b244b12e Move version files out of extern folder
The folder extern is reserved for external contributions, not common
files.

Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-01-28 13:07:21 +00:00
Antonio Niño Díaz ceabbeaa2f Fix linkerscript man page
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-01-27 17:25:21 +00:00
Antonio Niño Díaz 3995852cc5 Fix nit in rgbasm.5 man page
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-01-27 15:19:18 +00:00
Antonio Niño Díaz 9793bcba6f Fix local execution of run-tests.sh script
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-01-27 15:04:17 +00:00
Antonio Niño Díaz 0727eb4374 Add test to verify hex codes of all instructions
Signed-off-by: Antonio Niño Díaz <[email protected]>
2018-01-27 14:38:52 +00:00