1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-19 09:28:25 +00:00
Commit Graph

8162 Commits

Author SHA1 Message Date
Jeremy Chadwick 4e3abf417f Use the word 'macros' universally (not macroes) 2019-08-27 08:34:35 +02:00
Jeremy Chadwick 57b997355f Grammatical modifications 2019-08-26 09:32:14 -04:00
Jeremy Chadwick cc373cc41d doc: clarify need for .IMPORT on some special symbols 2019-08-26 09:32:14 -04:00
jede 3d63a8bb62 Cleaning 2019-07-31 18:07:28 +02:00
jede 3b07b8b8e3 Add cclear and cclearxy 2019-07-31 18:07:28 +02:00
Greg King a0db846a97 Allowed old-style (K and R) function declarations to be fastcall.
That lets them match old-style definitions.  It avoids "Type conflict" error messages.  It allows shorter function calls.

Fixed the types of some variables in "test/ref/otccex.c".  It avoids crashes on 64-bit Windows (32-bit Windows with 64-bit pointers).
2019-07-22 09:26:23 -04:00
jede cceffbdb8c Fix bug $FF 2019-07-21 14:11:51 -04:00
jede e7bb0aad19 Fix comment and gotox force colour change 2019-07-21 14:11:51 -04:00
jede 996537282c Cleaning import variables 2019-07-21 14:11:51 -04:00
jede 848df36f6b Optimize Clrscr 2019-07-21 14:11:51 -04:00
jede 0fe98a7ca8 Fix bgcolor and textcolor must return last color, jmp remove. 2019-07-21 14:11:51 -04:00
jede f9e13abc11 jmp instead of jsr 2019-07-21 14:11:51 -04:00
jede ede64f68a9 Fix bug with bgcolor and textcolor 2019-07-21 14:11:51 -04:00
jede 6f7f6b5119 Fix label, optimize code 2019-07-21 14:11:51 -04:00
jede a0a6537bda Fix typo and optimize 2019-07-21 14:11:51 -04:00
jede 28eba8bff9 fix import 2019-07-21 14:11:51 -04:00
jede 7767a0e88e fix typo 2019-07-21 14:11:51 -04:00
jede 3d5811d8f5 Fix gotoy changecolor 2019-07-21 14:11:51 -04:00
jede 7f9e73a1ce Add textcolor and bgcolor.s 2019-07-21 14:11:51 -04:00
jede 14ac1a7ff6 Fix bug : gotoxy does not working because Y does not update the adress on the screen 2019-07-21 14:11:51 -04:00
Lauri Kasanen 5cbbb4597f Document binary literals 2019-07-20 17:21:42 +02:00
Lauri Kasanen 1bfdce55ed binlit: Add a few random leading zeros 2019-07-20 17:21:42 +02:00
Lauri Kasanen 925ea9d544 cc65: Add support for binary literals
Binary literals, 0b001, are a GCC extension in C and a C++14 feature.
2019-07-20 17:21:42 +02:00
jede 76fe064e03 Add XSCROH & XSCROB value 2019-07-20 17:10:00 +02:00
jede 99de3cb6ea Add page 0 variables from Telemon 2.4 2019-07-20 17:10:00 +02:00
Greg King 88c6dd2da8 Changed empty parameter lists into (void) lists on functions with asm() statements.
The fix avoids any possible problems with how cc65 will handle old-style (K & R) function declarations, in the future.
2019-07-16 13:16:02 -04:00
Björn Esser 2f3955dbc7 src/Makefile: Simplify BUILD_ID logic. 2019-07-15 12:42:48 +02:00
Oliver Schmidt 9be25dab9c Minor URL update. 2019-07-15 12:29:25 +02:00
Greg King 28584b31f1 Made the ld65 configure file's segment offset attribute accept zero as a value.
Expressions are allowed as values.  Therefore, zero might be set explicitly by some conditions.
2019-06-30 22:44:10 -04:00
Björn Esser 93b6efcb2f zlib: Use correct (un)signedness of char in prototypes and functions.
Also ensure we are using the same constness qualifiers.
2019-06-19 19:01:30 +02:00
Björn Esser e0ac9d5d8e util/zlib/deflater: Fix several compiler warnings. 2019-06-19 19:01:30 +02:00
Björn Esser 9faca05e6a test/ref/otccex: Fix ramdomly occurring segfault.
The variables named tab and p are used in the context of pointers
and thus must be declared as such.  Determining the purpose they
serve, using char over int seems more feasible here as well.
2019-06-09 20:26:12 +02:00
Björn Esser 83e0c70de5 Replace GIT_SHA with a more versatile BUILD_ID definition.
When compiling cc65, it will by default place the git hash (if available) of
the checked out commit in the version string.  This isn't useful when building
a package for a Linux distribution, since there either won't be an upstream
git hash if there is one at all.

Thus we replace GIT_SHA with a more versatile BUILD_ID, which can be defined
to any arbitrary string.  When building, its contents will be appended to the
version string instead of the git hash.

If BUILD_ID is not defined by the user the behaviour will be exactly the same
as before.  That means BUILD_ID gets automatically defined to Git <GIT_SHA>,
if it can be determined from a checkout.
2019-06-09 20:17:15 +02:00
Oliver Schmidt e34ee32973 Reduced shadow for h2 to improve readability. 2019-06-04 11:46:15 +02:00
bbbradsmith 5269552346 sim65 common define for paravirt hooks base location
allows the loaded binary to take up as much space as possible
restored some documentation of the hooks but without reference to specific location
2019-05-31 10:40:04 +02:00
Oliver Schmidt 6efb71bea7 Rearranged paravirt function vector.
- exit right below 6502 vectors.
- keep exit addr stable as it may be called from asm.
V2.18
2019-05-30 00:10:17 +02:00
Oliver Schmidt c6bbea0bb0 Renamed program start label. 2019-05-30 00:06:31 +02:00
bbbradsmith 7e4c4ee53e sim65/main.c spaces were requested 2019-05-29 22:56:51 +02:00
bbbradsmith 9fcd91ebe9 sim65 header comment fix 2019-05-29 22:56:51 +02:00
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