bbbradsmith
3612edf4fa
sim65.sgml typo: bold is bf not **
2019-05-29 22:56:51 +02:00
bbbradsmith
fb7d4acd5c
versionable header for sim65
...
load and run address now configured from header
fix error codes not to conflict with test
fix test/misc/endless.c which is supposed to fail if an endless loop does not occur
2019-05-29 22:56:51 +02:00
bbbradsmith
07ca772932
adjust literal width to match variable type
2019-05-29 22:56:51 +02:00
bbbradsmith
2f3cae0d2e
movable sp for sim65
2019-05-29 22:56:51 +02:00
Brad Smith
38d2eb7a0e
cc65.sgml incorrectly closed tt
2019-05-29 22:41:24 +02:00
Brad Smith
26d436b90d
separating standard file I/O from low-level paravirtualization
2019-05-27 21:09:19 +02:00
Brad Smith
53bfd2e8cd
added name
2019-05-27 21:09:19 +02:00
bbbradsmith
4acf011fa4
noting that standard file functions work as well
...
correcting target name
2019-05-27 21:09:19 +02:00
Brad Smith
42beb29f72
sim65.sgml syntax error unclosed tt
2019-05-27 21:09:19 +02:00
bbbradsmith
17505e2173
sim65.sgml noting sim65c02 target as well
2019-05-27 21:09:19 +02:00
bbbradsmith
69c7acb3bc
some documentation for sim65
2019-05-27 21:09:19 +02:00
bbbradsmith
4642421da4
are more specific version of the comparison removal #895
2019-05-27 10:03:25 +02:00
bbbradsmith
7a863e5cda
bug895 test: more specific description comment
2019-05-27 10:03:25 +02:00
bbbradsmith
df90a005cd
bug895 testing against more permutations of comparison
2019-05-27 10:03:25 +02:00
bbbradsmith
1461ad6fcc
unit test to catch regression of bug #895
2019-05-27 10:03:25 +02:00
bbbradsmith
3a3107b244
Disabling too-aggressive optimization in OptCmp8
...
Generates incorrect code for some 16-bit cases. See: #895
2019-05-27 10:03:25 +02:00
Richard Halkyard
448aa35f50
Fix realloc() bug in gr65
...
The pointer to the input buffer was not being updated after a call to
realloc(), causing the program to crash if realloc() moved the buffer.
2019-05-22 11:33:43 +02:00
Greg King
644d623d31
Reset the name of the "current bss segment" before writing bss variables into the output Assembly file.
...
Then, cc65 can notice a single "#pragma bss-name()" at the beginning of the variables list.
2019-05-18 12:16:52 -04:00
Brad Smith
d56e3adf2f
CC65 -> cc65
2019-05-15 18:19:45 +02:00
Brad Smith
0d000bb629
Document --debug-opt-output and --debug-opt
2019-05-15 18:19:45 +02:00
Lauri Kasanen
f16ce22281
doc: Rename aux member to data
2019-05-15 11:17:45 +02:00
Lauri Kasanen
c2f3421dee
Document using inline asm with SoA, structs with array members
2019-05-15 11:17:45 +02:00
bbbradsmith
9299e550a5
fix NearAddr case in comment
2019-05-11 12:32:44 +02:00
bbbradsmith
7d14cff6bb
o65.c: missed a link time resolution of EXPR_NEARADDR
2019-05-11 12:32:44 +02:00
bbbradsmith
10cefdb456
move EXPR_NEARADDR to end of enum list to avoid invalidation of existing object binaries?
2019-05-11 12:32:44 +02:00
bbbradsmith
ac2ecb0b2c
65816 now generate EXPR_NEARADDR instead of EXPR_WORD0 for default assumed address mode, which will be validated by the linker's range check rather than blindly truncated. Assuming the assembler correctly validated this, the linker is allowed to truncate.
2019-05-11 12:32:44 +02:00
Oliver Schmidt
a01c4231f2
Fixed _textcolor definition.
...
The _textcolor() macro doesn't just turn on the macro optimization. It defines the return value of textcolor() - and that is supposed to be a COLOR_... value.
2019-05-08 10:22:12 +02:00
Christian Groessler
a24e3d9e72
ld65.sgml: document '--allow-multiple-definition' switch
2019-05-01 10:57:48 +02:00
Christian Groessler
dd53c2ddc3
src/ld65/main.c: fix copy'n'paste error in comment
2019-05-01 10:57:48 +02:00
Christian Groessler
5a05acf936
ld65: implement '--allow-multiple-definition' command line parameter
2019-05-01 10:57:48 +02:00
Christian Groessler
c248c14075
src/ld65/exports.c: Issue an error instead of a warning for duplicate global symbols.
2019-05-01 10:57:48 +02:00
Brad Smith
1a5fa6dc51
goto.c warning fix for implicit truncation
2019-05-01 10:53:41 +02:00
Christian Groessler
392e6e10fc
again, some TABs slipped into the code...
2019-04-30 18:21:13 +02:00
Oliver Schmidt
7b234d4497
Adjusted doc to code.
...
The requirement in question was lifted with 6ead4abf24
back in 2011.
2019-04-30 17:55:26 +02:00
IrgendwerA8
37f80534c9
Fix for #830 supplied by UvB
2019-04-25 15:19:53 +02:00
Christian Groessler
14d8f3d81d
cfg/atari-xex.cfg: fix typo in comment
2019-04-24 13:17:11 +02:00
Greg King
214c90f957
Made the code that logs indirect-goto referals be a little more efficient.
2019-04-23 19:12:02 -04:00
Lauri Kasanen
55ce618bf2
Document computed gotos
2019-04-21 12:46:03 -04:00
Lauri Kasanen
f328481a48
Replace hard returns with an "else", add an error for non-IDENT tokens, and test for static
2019-04-21 12:46:03 -04:00
Lauri Kasanen
60d8559372
Return after errors, move left bracket consumption down
2019-04-21 12:46:03 -04:00
Lauri Kasanen
654d972288
C90 param, void
2019-04-21 12:46:03 -04:00
Lauri Kasanen
a9cbb5305c
Fix missing spaces
2019-04-21 12:46:03 -04:00
Lauri Kasanen
304473d857
Adjustment for '816
2019-04-21 12:46:03 -04:00
Lauri Kasanen
3b3b16ee9c
Add support for computed gotos
...
This is a GCC extension that allows C to use fast jump tables.
2019-04-21 12:46:03 -04:00
Lauri Kasanen
c2220f3c30
Add a goto indirect jump from pointer
2019-04-21 12:46:03 -04:00
Lauri Kasanen
37f00e6644
Export the label symbol table
2019-04-21 12:46:03 -04:00
Lauri Kasanen
2af76c7cff
Only for jumps, the lib uses named asm labels in branches
2019-04-21 12:46:03 -04:00
Lauri Kasanen
c3d809b129
Fix jmp-callax.c bug
2019-04-21 12:46:03 -04:00
Lauri Kasanen
f29220be1b
Add test showing optimizer failure, OptUnusedLoads removes needed loads
2019-04-21 12:46:03 -04:00
Oliver Schmidt
ac0b452834
Added '_' prefix to sin and cos.
...
Users complained that otherwise the names might clash with their functions.
2019-04-13 11:25:54 +02:00