Rangi
73e9aac135
Update the pret repos being tested ( #1198 )
2023-11-01 23:07:41 +01:00
Rangi
32bc68d06d
Don't export anonymous labels ( #1185 )
2023-11-01 00:06:28 +01:00
Antonio Vivace
a5d51b4330
readme: update email
2023-10-31 20:21:51 +01:00
Rangi
79948be3a0
Improve incorrect object file revision error ( #1189 )
...
Fixes #1118
2023-10-31 15:04:27 -04:00
Rangi42
ab42eb2c50
Document STRUPR/STRLWR as ASCII-only
2023-10-31 14:28:38 -04:00
Rangi42
45c2a5e4ec
Consistently use uppercase hex digits
2023-10-31 14:28:38 -04:00
Rangi
ae38ebaf6f
Clarify documentation of RGBGFX deduplication ( #1191 )
...
Fixes #1169
2023-10-31 14:28:14 -04:00
Rangi
80bdc889f8
Revise documentation for rgbasm -p ( #1190 )
...
Fixes #1125
2023-10-31 14:27:59 -04:00
Rangi
84f3cb4075
ENDL restores the label scope from before LOAD ( #1180 )
2023-10-26 22:58:36 +02:00
Rangi
22def89760
Save and restore opt r on the stack. ( #1178 )
...
Fixes #1174
2023-10-26 22:54:42 +02:00
Rangi
a15f1a52c7
contributing: update repository links (rednex -> gbdev org) ( #1177 )
2023-10-26 00:44:01 +02:00
Quinn
944c5f0cd0
Implement order-independent purge ( #1173 )
...
Each symbol passed to purge is collected in a list before mass removal.
Fixes the issue described in gbdev/rgbds issue #1152 .
---------
Co-authored-by: Rangi42 <remy.oukaour+rangi42@gmail.com >
2023-10-25 22:34:56 +02:00
Antonio Vivace
7a39e9e569
Add dockerfile to build and run RGBDS ( #1167 )
2023-09-14 17:17:53 +02:00
ISSOtm
cfe432ea65
Enforce that transparent colours take slot #0 in all palettes
2023-08-26 23:23:28 +02:00
ISSOtm
36bfeea8dc
Silence spurious GCC warning
2023-08-26 22:57:06 +02:00
Damian Yerrick
7b3a05eea8
Add --only-free and --help options to test scripts ( #1161 )
2023-08-20 13:46:00 -04:00
Damian Yerrick
e1f0a13e5a
Allow defining local labels for another scope ( #1159 )
...
fix #1157 for the following source code
```
section "hSAVE_locals",HRAM
func3.hSpam: ds 1 ; no longer produces an error
;.hEggs: ds 1 ; uncomment this to see the new error
section "demo",ROM0
func3:
ldh a, [.hSpam]
ret
```
Remove two errors:
- `Not currently in the scope of 'func3'`
- `Local label 'func3.hSpam' in main scope`
Add one error:
- `Relative local label '.hSpam' in main scope`
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com >
2023-08-20 02:29:53 +02:00
Eldred Habert
e634888a50
Improve description of rgblink -O ( #1162 )
2023-08-19 11:52:09 +02:00
Eldred Habert
168950855d
Create statically-linked Linux binaries on release ( #1148 )
...
Co-authored-by: Antonio Vivace <avivace4@gmail.com >
2023-07-08 22:04:00 +02:00
Robbi-Blechdose
a2e0ac2872
Fix typos reported by lintian ( #1147 )
...
From https://mentors.debian.net/package/rgbds/#upload-1
2023-06-24 16:26:04 +02:00
ISSOtm
6d806238fb
Improve bit rotation/shift explanations by using Unicode box diagrams
...
The existing explanations have proven confusing to many,
and presenting the instructions in a more visual manner should help a lot.
Additionally, the Unicode codepoints are typed as-is in the source,
because that allows much more WYSIWYG editing, and god damn it this is the year
two thousand and twenty three, if your man and/or terminal software does't
support Unicode, then what are you *doing*.
2023-06-17 12:38:52 +02:00
Evie
a0dfa916e6
Fix off-by-one error in "scramble spec" validation ( #1144 )
2023-06-16 09:28:19 +02:00
Eldred Habert
9748524ef6
Fix incorrect options in RGBGFX zsh completions
2023-06-13 07:57:24 +02:00
Tian(Maxwell) Yang
718cfa133f
Fix SRL [HL] Flags link
2023-05-23 08:29:40 +02:00
Rangi
4cadc6f0fe
\en not \n is a newline in troff
2023-03-04 18:36:22 -05:00
Eldred Habert
2023d9ed99
Fix palmap option using wrong file name
2023-02-21 12:05:39 +01:00
ISSOtm
6828f7bf49
"Hook up" new releases' docs
2023-02-08 01:45:35 +01:00
ISSOtm
33a0857b8d
Properly detect tiles with more than 4 colours
...
Fixes #1127 , which was caused by a dumb logic error. Duh me.
2023-02-08 00:21:05 +01:00
Antonio Vivace
4e712807d7
funding: add GitHub sponsors
2023-01-19 22:07:14 +01:00
ISSOtm
2d15e40539
Fix WRAM0/WRAMX test
...
The previous test did not expect failure when trying to stuff
$3000 bytes into $2000-byte WRAM; this is now fixed, and we
also test the reverse now (that we cannot stuff more than
$1000 bytes into WRAM0 without `-d`/`-w`.
2023-01-07 22:20:42 +01:00
Eldred Habert
50aaa6524d
Fix -w not coercing WRAMX sections to WRAM0
...
Fixes #1116
2022-12-21 23:43:57 +01:00
Rangi
01f1703dfb
Preserve \@ through INCLUDE
...
Fixes #1112
2022-12-11 18:56:03 +01:00
Rangi
69a573923f
Version 0.6.1
v0.6.1
2022-12-02 22:48:37 -05:00
ISSOtm
7eb4ecea8b
Remove use of std::filesystem
...
This appears to break compatibility with macOS 10.9
2022-12-03 01:51:14 +01:00
ISSOtm
599ce757a1
Force Windows builds to use our zlib and libpng
...
Otherwise we will have a few problems if, say, a system version was
detected and picked up instead of ours...
2022-12-03 00:58:50 +01:00
ISSOtm
75a07a90f8
Always initialise section->data to avoid an uninit read
...
The addition of SDCC objects required a change in the logic of
`mergeSections()` to dispatch based on `->data` instead of
`sect_HasData`, which implicitly assumes that `->data` is
always initialised (maybe NULL).
However, RGBDS sections did not do that!
2022-12-02 22:39:31 +01:00
ISSOtm
ec2d1312ef
Remove auto parameter to -flto
...
Not all supported compilers support the argument;
the move was a bit premature.
2022-11-15 19:49:04 +01:00
ISSOtm
03b6dd9321
Only cache dependency directories instead of whole test/
...
Otherwise, changes made to the test suite are not picked up
2022-11-15 19:49:04 +01:00
ISSOtm
a16d3d6405
Fail RGBGFX test suite if support test programs fail to be built
2022-11-15 19:49:04 +01:00
ISSOtm
3e5cd8ce1a
Use a special name for stdin/stdout in diagnostics
2022-11-15 19:49:04 +01:00
ISSOtm
6902387991
Allow rgbgfx - for stdin and stdout
...
Closes #1087
2022-11-15 19:49:04 +01:00
ISSOtm
62b4f2b264
Upgrade to checkout action v3
...
No code changes, just uses Node 16 instead of the
deprecated Node 12
2022-11-13 14:33:03 +01:00
Rangi
79748afdc4
Align the "; Next union/fragment" comments with their symbols
2022-11-06 23:55:15 +01:00
Rangi
32cb0558e4
Print "; Next union/fragment" between "pieces" in .map file
...
Resolves #1099
2022-11-06 23:55:15 +01:00
rlewicki
92b2ac3c8c
Remove duplicated EMPTY label in case no bank memory is used
2022-11-03 19:54:21 +01:00
rlewicki
0e67298dff
Fix indention when writing EMPTY label inside link output.c file
2022-11-03 19:54:21 +01:00
Robert Lewicki
f6d218ed36
Fix regression tests failing due to invalid cache being restored ( #1104 )
2022-11-01 14:27:40 +01:00
Robert Lewicki
1a9fc964df
#1082 Add cache check for external repositories used during testing ( #1100 )
...
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com >
Co-authored-by: Eldred Habert <eldredhabert0@gmail.com >
2022-10-25 08:39:19 +02:00
ISSOtm
48248faab0
Suppress CMake project maintainer warnings in CI
2022-10-16 12:21:54 +02:00
ISSOtm
58181c2d73
Hoist common Windows dep grabbing code to a script
...
Function courtesy of @aaaaaa123456789
2022-10-16 12:21:54 +02:00