1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00
Commit Graph

8234 Commits

Author SHA1 Message Date
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
Christian Groessler
cb7882a202 atari5200.sgml: small fix for last change 2019-04-13 11:07:06 +02:00
Christian Groessler
03311e7268 atari5200: update docs for recent conio changes
also renames libsrc/atari5200/extra/conioscreen_20x12.s to
libsrc/atari5200/extra/conioscreen-20x12.s to be in line with
other optional link modules
2019-04-13 11:07:06 +02:00
Christian Groessler
78daf84f12 atari5200: name conio constructor 'initconio' 2019-04-12 12:49:38 +02:00
Christian Groessler
34942a2da5 atari5200: testcode/lib/atari5200/hello.c: adapt to changed COLOR_xxx defines 2019-04-12 12:49:38 +02:00
Christian Groessler
8590de5cf3 Revert "atari5200: fix COLOR defines' names"
This reverts commit 87e653f47b.
2019-04-12 12:49:38 +02:00
Christian Groessler
e1e6bec9ff atari5200: changes from discussions in #870
- rename screen_setup to initconio
- use Greg King's version of bgcolor()
2019-04-12 12:49:38 +02:00
Christian Groessler
d7eecb57f8 atari5200: get rid of conio_colors table
use system color variables instead; improve testcode/lib/atari5200/hello.c
test program
2019-04-12 12:49:38 +02:00
Christian Groessler
dfb7c0f24d atari5200: fix COLOR defines' names
COLOR_RED -> COLOR_LIGHTRED and COLOR_GREEN -> COLOR_LIGHTGREEN
2019-04-12 12:49:38 +02:00
Christian Groessler
be6bba66a9 atari5200: conio now uses just four colors altogether
See discussion in PR #870.
2019-04-12 12:49:38 +02:00
Christian Groessler
79b9a8d2df atari5200: add screensize function 2019-04-12 12:49:38 +02:00
Christian Groessler
db01036e2e atari5200: add alternative conio screen (20x12 resolution) 2019-04-12 12:49:38 +02:00
Christian Groessler
ec5e38617a atari5200: implement bgcolor() and textcolor()
Includes some other small fixes/cleanups.
2019-04-12 12:49:38 +02:00
Christian Groessler
edd596b2a4 atari: split color.s into bordercolor.s and bgcolor.s 2019-04-12 12:49:38 +02:00
Oliver Schmidt
0576fe51e7 Minor clarification. 2019-04-04 17:13:09 +02:00
Oliver Schmidt
5daed49e97 Fixed typo. 2019-04-04 16:38:40 +02:00
Oliver Schmidt
fc6a63a15e Avoid unintended file "shadowing".
3d8c3a4948 caused an unintended "shadowing" of files in /libsrc/runtime by files in /libsrc/common. Therefore the files in question are renamed (again) in /libsrc/common to make the files in /libsrc/runtime "visible" again.
2019-04-04 09:16:59 +02:00
IrgendwerA8
dcbe03f23b Adjusted to the current multiline-comment style. 2019-04-02 16:34:22 +02:00
IrgendwerA8
1530020a1f Fix for multiplication optimization issue #367 2019-04-02 16:34:22 +02:00
Steven Hugg
ae261e91f2 Code cleanup per code review 2019-03-31 22:33:22 -04:00
Steven Hugg
9faaa0689b cleaned up code per review 2019-03-31 22:33:22 -04:00
Steven Hugg
a71f764c33 fixed optimization bug where array index is 16-bit, e.g. arr16[i & 0x7f7f] 2019-03-31 22:33:22 -04:00
Steven Hugg
dca99d59e5 rearranged order of new optimizations to better handle -Oi flag 2019-03-31 22:33:22 -04:00
Steven Hugg
5d274e4bc5 added optimization for indexed 16-bit array load of form (array[i & 0x7f]) 2019-03-31 22:33:22 -04:00
Steven Hugg
ffc118cd94 added optimization for indexed pointer load of a constant, e.g.: y = ((unsigned char*)0x100)[i] 2019-03-31 22:33:22 -04:00
Olli Savia
f95481fabf Fixed gcc compiler warning (#867)
* Changed spelling FALLTHRU -> FALLTHROUGH
2019-03-30 16:09:16 -04:00
greg-king5
60e40c854c
Removed a "cc65_" prefix.
This change is needed because of commit 3d8c3a4948.
2019-03-30 11:06:09 -04:00
IrgendwerA8
df80d071e8 Added space after function name. 2019-03-29 22:53:04 +01:00
IrgendwerA8
3d8c3a4948 Code review adaptations, removed "cc65_" prefix from functions 2019-03-29 22:53:04 +01:00
IrgendwerA8
435f417c64 Moved documentation to funcref. 2019-03-29 22:53:04 +01:00
IrgendwerA8
db8bd84a82 Changes due to code review. 2019-03-29 22:53:04 +01:00
IrgendwerA8
399250a105 Optimized mul20 & mul40 and extracted to new library. 2019-03-29 22:53:04 +01:00
greg-king5
fbf302e6cd
Merge pull request #863 from Compyx/master
Removed trailing spaces from CBM-related asm files.
2019-03-24 21:36:41 -04:00
Bas Wassink
9e0ab14cfe Restore src/cc65/locals.c:278 to its orignal state 2019-03-24 23:05:11 +01:00
Bas Wassink
41e449b306 Forgot a cast, sorry 2019-03-24 21:41:00 +01:00
Bas Wassink
56c96e8ab0 Revert accidentally committed changes for a future PR 2019-03-24 21:15:34 +01:00
Bas Wassink
96d0b00a76 Merge https://github.com/cc65/cc65
Pull to fix extra changes in PR #863
2019-03-24 20:49:53 +01:00
Greg King
2cd4b5109a Fixed LinuxDoc Tools issues in some verbatim blocks in the Atari document. 2019-03-24 14:39:04 -04:00
Daniel Serpell
f94a125f30 Adds address after JVB instruction in the display list example. 2019-03-23 18:38:26 +01:00
Bas Wassink
0614078198 Fix 32/64-bit int/pointer casts 2019-03-23 01:14:04 +01:00