Commit Graph

  • 81edc3f582 Updated a comment about Kernal's STATUS variable. Greg King 2020-11-08 17:45:54 -05:00
  • b5f0c0468d Add stdint.h types for C89 compilers Jesse Rosenstock 2020-11-03 08:26:31 +01:00
  • 65193c6aaf Add stdint.h constants INT32_MIN and UINT32_MAX Jesse Rosenstock 2020-11-02 09:03:06 +01:00
  • 0e482c7f92 Add test for issue #1310 Jesse Rosenstock 2020-10-28 09:52:54 +01:00
  • 39c0abed54 atarixl: fix compilation problem when CHARGEN_RELOC is defined Christian Groessler 2020-10-30 15:01:47 +01:00
  • aad17a6f05 Made two GEOS directory functions return NULL if they can't give a valid entry. Greg King 2020-10-29 17:54:56 -04:00
  • d8e6fa61bb Return NULL on error (or end of directory). Oliver Schmidt 2020-10-29 17:42:36 +01:00
  • 944ebbc23c atarixl configs: make size of CHARGEN configurable Christian Groessler 2020-10-29 16:19:38 +01:00
  • a686988d0e Add test cases for integral promotion of chars Jesse Rosenstock 2020-10-28 09:35:49 +01:00
  • 262631039d atari.h, atari5200.h: style fixes Christian Groessler 2020-10-28 17:37:50 +01:00
  • 3537210674 add waitvsync() for atari and atari5200 Christian Groessler 2020-10-27 22:25:58 +01:00
  • 79cf1e13a7 Adjusted to recent change in time.h Oliver Schmidt 2020-10-25 21:33:08 +01:00
  • f723147f04 Streamlined clock rate handling. Oliver Schmidt 2020-10-25 14:06:44 +01:00
  • 07cc6a3d20 Made optimization steps aware of long branches better. acqn 2020-09-18 20:23:02 +08:00
  • 2fcd8b934a Made HGR segment obligatory. Oliver Schmidt 2020-10-24 13:55:10 +02:00
  • b8889bf37e Now getchar works jede 2020-10-23 23:47:30 +02:00
  • 8e685a0071 Mention recursion. Oliver Schmidt 2020-10-23 18:35:14 +02:00
  • 947dd9aca0 Adjusted ChkDkGEOS. Oliver Schmidt 2020-10-22 08:54:07 +02:00
  • 5c43d1e04f Changed codegen for postfix inc/dec operations by deferring them till sequence points. This usually allows faster & smaller code. Note that deferred operations must still be called at sequence points even if the whole expressions containing them had constant values. acqn 2020-04-16 17:19:16 +08:00
  • bb7b69f513 Added OptShiftBack for shifting the C flag into register A and back. acqn 2020-09-18 20:22:58 +08:00
  • 0354322413 Added OptSignExtened for testing signness right after sign extention. acqn 2020-09-18 20:22:58 +08:00
  • 9c776a24e5 Use bcc instead of bne in OptNegAX2 to ease optimizations. acqn 2020-09-18 20:22:58 +08:00
  • 4f3a96a535 Added new opt OptPushPop2. Also renamed OptPushPop to OptPushPop1. acqn 2020-09-18 20:22:58 +08:00
  • 0f66f7569e Updated the cx16 library to the upstream project's prerelease 38. Greg King 2020-10-17 10:36:11 -04:00
  • 77bfd163cd makefile cleanup mrdudz 2020-10-16 15:50:18 +02:00
  • a25b28a972 Added files to the pet library that support the overlay demo sample program. Greg King 2020-10-15 21:22:04 -04:00
  • e682f7c8c3 Protect the C stack from overlays on the c64 target. Greg King 2020-10-15 14:00:25 -04:00
  • b773bb9ded some more $(RM) vs $(DEL) fixing mrdudz 2020-10-15 19:34:40 +02:00
  • 6920b8be78 $(RM) abc -> @$(DEL) abc 2>$(NULLDEV) mrdudz 2020-10-15 18:53:56 +02:00
  • a0dc7cd9e4 fix grc example, fix makefiles to compile grc example correctly mrdudz 2020-10-15 18:41:17 +02:00
  • f60af0301a fix non working Makefiles mrdudz 2020-10-15 18:35:54 +02:00
  • 095de4ea52 Write o65 files as SEQ files. Oliver Schmidt 2020-10-15 12:54:01 +02:00
  • e72e44d14f Shortenned the VIC-20's cputc() by 17 bytes. Greg King 2020-10-13 07:55:20 -04:00
  • 4905329ff6 Fixed the misspelling of "height" in a GEOS header. Greg King 2020-10-12 08:33:45 -04:00
  • 262c4235df Symbols in ZP segments will use '.exportzp' instead of '.export' if exported. acqn 2020-01-21 10:50:12 +08:00
  • e58c84acf7 Support for optionally specifying address size for segments with: #pragma ***-name([push,] "name"[, "addrsize"]) where "addrsize" is any addressing size supported in ca65. acqn 2020-01-21 10:39:19 +08:00
  • f8c9dde989 The instruction parser can now recognize ZP locations and set the addressing mode for them. acqn 2020-01-21 10:39:19 +08:00
  • 81550ca1ee CS_MergeLabels: Keep labels referenced by data Jesse Rosenstock 2020-08-24 22:24:00 +02:00
  • 037a806036 also rename README to readme.txt in the Makefile :) mrdudz 2020-10-04 17:20:40 +02:00
  • dbba5f3fc9 Fixed handling of %v in inline asm parser. acqn 2020-10-04 17:01:20 +08:00
  • a85d5330fa Fixed StrBuf initialization in PreparseArg(). acqn 2020-10-04 12:15:59 +08:00
  • fd208fdf0b - Added support for calling subdir Makefiles for the make targets 'samples' and 'clean'. - Adjusted the 'tutorial' Makefile to actually work as expected. Oliver Schmidt 2020-10-03 19:35:23 +02:00
  • b931e65811 Fix ICE for bit-fields with typedef Jesse Rosenstock 2020-09-26 14:56:28 +02:00
  • 4acdc9ced9 Fixed paramcount build. Oliver Schmidt 2020-10-03 14:55:30 +02:00
  • c05a750f47 Fixed some copy-&-paste typo mistakes about HuC6280's TMA mnemonic. Greg King 2020-10-01 07:25:08 -04:00
  • 4777e98f57 rename testcode/ to targettest/ mrdudz 2020-09-29 19:14:46 +02:00
  • dcee493e94 move remaining stuff from testcode/lib/ one level up to testcode/ mrdudz 2020-09-29 19:12:34 +02:00
  • 3d8e787e66 move testcode/grc to samples/geos mrdudz 2020-09-29 19:08:40 +02:00
  • bbece736f5 move testcode/disasm into samples/ instead mrdudz 2020-09-29 19:06:05 +02:00
  • b549e83fb2 move program from testcode/assembler to test/asm and remove testcode/assembler mrdudz 2020-09-29 19:03:42 +02:00
  • eb87c6d373 rename README to readme.txt mrdudz 2020-09-29 18:54:30 +02:00
  • b525554bfe Added support for parsing asm byte size expressions with a pair of parentheses. acqn 2020-04-16 17:19:17 +08:00
  • 688342e194 Now every code entry has its argument parsed to tell some info. It fixes the compiling performance regression as well. Built-in ZPs are recognized. acqn 2020-04-16 17:17:53 +08:00
  • cc0f8422f2 More fixes and new utils to check if opcode arguments can be used elsewhere. Fixed tracking with LI_RELOAD_Y and LI_DIRECT. Fixed tracking with LI_CHECK_Y and LI_RELOAD_Y. acqn 2020-04-16 17:17:52 +08:00
  • f3771a465d Fixed various issues in the usage-tracking code. Added some utility functions. acqn 2020-04-16 17:17:08 +08:00
  • d379affc4b Moved some reusable code from cc65/coptstop.c into new files. acqn 2020-04-16 17:17:08 +08:00
  • 28c7aa2bc8 Replaced direct CEF_NUMARG flag checks on code entries with CE_HasNumArg(). acqn 2020-04-16 17:17:52 +08:00
  • c45a6b3685 Utility function ParseOpcArgStr(). acqn 2020-04-16 17:16:47 +08:00
  • d0089aef95 Fix bit-field truncation warning message Jesse Rosenstock 2020-09-26 08:36:17 +02:00
  • 34177d9edd test related to issue #1094 mrdudz 2020-09-25 20:08:32 +02:00
  • 7ff08c85cf Merge branch 'master' of https://github.com/cc65/cc65 mrdudz 2020-09-25 16:25:53 +02:00
  • 61d934fd7b test related to issue #1265 mrdudz 2020-09-25 16:25:32 +02:00
  • 47ee179273 Fixed a copy & paste error in the test/misc/ makefile. Greg King 2020-09-25 00:30:49 -04:00
  • 61ebe2c34b Indentation in vga.s for gamate Fabrizio Caruso 2020-09-24 19:32:15 +02:00
  • 6fdb356db7 Simplify Gamate tile redefinition (as already done for PCE) Fabrizio Caruso 2020-09-24 18:01:56 +02:00
  • 5ba9d28488 test related to pr #1189 mrdudz 2020-09-24 16:16:16 +02:00
  • 97a1093ee0 test related to issue #1222 mrdudz 2020-09-24 12:23:18 +02:00
  • fb8b45e479 added note on how to manage the sample programs mrdudz 2020-09-24 00:18:28 +02:00
  • a86644eff1 test related to issue #1221 mrdudz 2020-09-24 00:08:36 +02:00
  • b3491e3d9a test related to issue #1244 mrdudz 2020-09-23 23:57:36 +02:00
  • 46ebb15c76 test related to issue #1245 mrdudz 2020-09-23 23:57:25 +02:00
  • 6fdd90fa63 fix typo mrdudz 2020-09-23 23:51:37 +02:00
  • 99121688f8 added test related to issue #1263 mrdudz 2020-09-23 23:51:24 +02:00
  • 81ac28ff71 Used TAY/TYA instead of PHA/PLA when extracting a bit-field. Greg King 2020-09-18 16:33:12 -04:00
  • ea95728330 Avoided an avalanche of messages from bad bit-field declarations. Greg King 2020-09-08 11:51:51 -04:00
  • 07ea5259ac Changed a cc65 error message to say that the sizes of bit-field types (not bit-fields) are limited. Greg King 2020-09-04 12:06:42 -04:00
  • d906204e84 Allowed UPDCRAMPTR to be exported as a constuctor in the VIC-20 library. Greg King 2020-09-22 12:31:27 -04:00
  • dc14751954 Exported the direct Kernal entries that were moved from target headers to "cbm_kernal.inc". Greg King 2020-09-22 00:02:12 -04:00
  • 41bd8d909b Added ld65's bank attribute to the cx16 library's bank (overlay) configuration file. Greg King 2020-09-20 19:55:25 -04:00
  • 0b64ca0d7d Fixed the ld65 cx16 Assembly configuration file. Greg King 2020-09-20 16:09:58 -04:00
  • bf4b195016 Added some comments that explain where the g_branch() code generator can and can't be used. Greg King 2020-09-18 15:50:26 -04:00
  • de630a1245 Fixed quick hack for known registers after calling certain runtime functions, and new quick hack for tosshrax. acqn 2020-09-13 09:15:07 +08:00
  • 079f4a99dd Added processor state info to the OPCDesc table. However, since some opcodes are affected by the addressing mode, this info is unused in codegen/optimizer but just as quick in-code documentation/hints. acqn 2020-09-13 09:14:51 +08:00
  • a7d6eb9190 Added processor flag usage/change-tracking for non-JSR/RTS code entries. Some existing optimizations are impacted and need fixes in order to work correctly again. Fixed and improved OptPrecalc. Now it respects the C/V/Z/N flags. Fixed optimizations impacted by added support of tracking processor flags. acqn 2020-09-13 08:41:05 +08:00
  • d02b12fa6c Made local code/data labels really local to the functions where they live in. acqn 2020-08-23 01:35:18 +08:00
  • 86ced2bd4c Avoided unnecessarily boosting the code label numbers with boolean AND. acqn 2020-09-13 17:01:57 +08:00
  • 0482e4d6e4 Fix CRLFs introduced by fe3f267 Jesse Rosenstock 2020-09-18 08:42:56 +02:00
  • b8ae5c28fe Added debug output support for processor flags. acqn 2020-09-08 23:41:04 +08:00
  • 810e17edfe Fixed processor states tracking for the BIT/TRB/TSB opcode. Added new opcode descriptions about whether and how the opcode accesses memory. acqn 2020-09-08 23:41:02 +08:00
  • 66c5faeb9a Added processor flags usage tracking. Added ZNRegs for tracking what register(s) Z/N flags currently reflect. Added utility functions to check if the specified processor state is known to be a certain value. acqn 2020-09-08 23:40:58 +08:00
  • fe3f267233 Added new runtime sub bcasta/bcastax/bcasteax opposing to bnega/bnegax/bnegeax. acqn 2020-09-05 11:28:38 +08:00
  • 142b0bf9b3 Added utility functions to get names of comparison function/transformer subroutines. acqn 2020-09-05 11:26:00 +08:00
  • ae6696fcb9 Removed some ambiguity from a statement. Greg King 2020-09-08 10:24:27 -04:00
  • ab7e9f8424 Hotfix for Issue #1250. acqn 2020-09-08 21:36:38 +08:00
  • 4e4e4c2d21 Allow char bit-fields Jesse Rosenstock 2020-08-30 20:47:25 +02:00
  • 41cee0eb44 Extended support for more addressing modes in tos* optimizations. acqn 2020-01-23 06:54:34 +08:00
  • 7553b60ef0 Improved OptStackOps for optimizating further when operands have equal hi-bytes. acqn 2020-01-23 06:53:52 +08:00
  • 57117fa687 Utility functions about compare conditions. acqn 2020-01-23 06:39:37 +08:00
  • 64ef562fa7 Moved all optimization steps from codeopt.c and some optimization steps from coptind.c into new separate files. acqn 2020-09-07 05:11:48 +08:00
  • 9a0e4a35e1 Fix enum bit-field ICE #1244 Jesse Rosenstock 2020-09-05 20:03:24 +02:00