]>
git.sur5r.net Git - cc65/log
Greg King [Fri, 9 Oct 2015 16:00:41 +0000 (12:00 -0400)]
Explained why two variables were moved out of the BSS segment.
Greg King [Thu, 8 Oct 2015 10:11:37 +0000 (06:11 -0400)]
Reduced c64-overlay.cfg's size by factoring out a different common expression.
Greg King [Thu, 8 Oct 2015 09:05:48 +0000 (05:05 -0400)]
Restored the old C-stack initiation code.
I had forgotten that the stack must be put below the CBM overlays.
Greg King [Wed, 7 Oct 2015 18:56:14 +0000 (14:56 -0400)]
Reduced the size of the moveinit subroutine.
Made other changes that were recommended by Oliver.
* Changed its name from move_init to moveinit.
* Used self-modifying code in the subroutine.
* The INIT segment doesn't need to be optional (it's used by the start-up file).
Greg King [Mon, 5 Oct 2015 09:47:43 +0000 (05:47 -0400)]
Adapted, to the c64 target, the INIT-segment overlay scheme from the apple2 targets.
When a program starts running, INIT is moved from one place to another place. Then, INIT's code is executed; and, the first place is re-used for variables. After the INIT code has finished, the second place can be re-used by the heap and the C stack. That means that initiation code and data won't waste any RAM space after they stop being needed.
Oliver Schmidt [Wed, 30 Sep 2015 18:52:31 +0000 (20:52 +0200)]
Merge pull request #214 from greg-king5/cbm-exec
Make the CBM exec() work in gigantic programs.
Greg King [Mon, 28 Sep 2015 15:27:39 +0000 (11:27 -0400)]
Made the Commodore version of exec() work in programs that are so big that they load into all of BASIC RAM.
The function won't cause an "out of memory" error.
Oliver Schmidt [Fri, 25 Sep 2015 20:13:11 +0000 (22:13 +0200)]
Merge pull request #211 from greg-king5/errno-helpers
Move errno helper functions into separately linkable files.
Greg King [Fri, 25 Sep 2015 18:06:58 +0000 (14:06 -0400)]
Moved two errno helper functions into separate files.
Only the function that actually is needed will be linked. It is very useful for targets that do not have file-system I/O.
Oliver Schmidt [Fri, 25 Sep 2015 14:21:47 +0000 (16:21 +0200)]
Merge pull request #210 from greg-king5/archiver
Make an ar65 warning show both object files' names.
Greg King [Fri, 25 Sep 2015 06:31:17 +0000 (02:31 -0400)]
Fixed a warning message.
Oliver Schmidt [Thu, 24 Sep 2015 08:16:46 +0000 (10:16 +0200)]
Update README.md
Oliver Schmidt [Thu, 24 Sep 2015 08:14:30 +0000 (10:14 +0200)]
Update README.md
Oliver Schmidt [Thu, 24 Sep 2015 08:06:24 +0000 (10:06 +0200)]
Use title case.
Oliver Schmidt [Thu, 24 Sep 2015 07:58:28 +0000 (09:58 +0200)]
Merge pull request #177 from mrdudz/pcenginetarget
new target: PC Engine (TurboGrafx16)
mrdudz [Sun, 20 Sep 2015 10:18:41 +0000 (12:18 +0200)]
use 'plot' instead of 'PLOT'
mrdudz [Sat, 19 Sep 2015 13:55:43 +0000 (15:55 +0200)]
added interruptor support
mrdudz [Sat, 19 Sep 2015 13:37:39 +0000 (15:37 +0200)]
fixed more flaws found by greg :)
Oliver Schmidt [Fri, 11 Sep 2015 19:06:50 +0000 (21:06 +0200)]
Merge pull request #208 from greg-king5/big-jump
Improve the longjmp() and setjmp() functions.
Oliver Schmidt [Fri, 11 Sep 2015 19:02:40 +0000 (21:02 +0200)]
Merge pull request #207 from greg-king5/random-seed
Fix the CBM random-seed generators.
Greg King [Fri, 11 Sep 2015 18:18:22 +0000 (14:18 -0400)]
Improved longjmp() and setjmp().
Greg King [Fri, 11 Sep 2015 14:03:07 +0000 (10:03 -0400)]
Fixed the random-seed generators for the Commodore targets.
They use a byte from the time counter; but, it is stored in big-endian order.
mrdudz [Mon, 7 Sep 2015 10:55:36 +0000 (12:55 +0200)]
fixed VDC register assignments
Oliver Schmidt [Sun, 6 Sep 2015 19:35:32 +0000 (21:35 +0200)]
Merge pull request #205 from greg-king5/typo
Fix " til " typos.
Greg King [Sun, 6 Sep 2015 16:23:58 +0000 (12:23 -0400)]
Fixed the " til " typos.
mrdudz [Fri, 4 Sep 2015 12:14:17 +0000 (14:14 +0200)]
fix gregs complaints :)
mrdudz [Fri, 4 Sep 2015 11:40:52 +0000 (13:40 +0200)]
Merge remote-tracking branch 'upstream/master' into pcenginetarget
mrdudz [Fri, 4 Sep 2015 11:38:17 +0000 (13:38 +0200)]
updated
mrdudz [Thu, 3 Sep 2015 11:09:18 +0000 (13:09 +0200)]
fixed style issues
Oliver Schmidt [Mon, 31 Aug 2015 15:36:02 +0000 (17:36 +0200)]
Merge pull request #203 from greg-king5/multi-comments
Change multi-line C comments in files that were missed by a previous pull request.
Oliver Schmidt [Mon, 31 Aug 2015 15:34:28 +0000 (17:34 +0200)]
Merge pull request #202 from greg-king5/argv-null
Fix the preparation of tool command lines.
Greg King [Sun, 30 Aug 2015 12:43:54 +0000 (08:43 -0400)]
Changed multi-line C comments in files that I missed in commit
0390c34e88e9512b81ce35a9ba36d137d1c80c44 .
Greg King [Sun, 30 Aug 2015 11:55:07 +0000 (07:55 -0400)]
Don't count the NULL (doh!).
Greg King [Sun, 30 Aug 2015 09:16:38 +0000 (05:16 -0400)]
Fixed a comparison operator; so that the NULL at the end of argv[] is copied by InitCmdLine().
Most POSIX function libraries hid that long-time bug by putting zeroes in their dynamic RAM; but, MinGW's library doesn't do it. Therefore, a command like
cl65 foo.c -l
would crash with a "Segmentation fault" -- it should give a nice error message about "-l"; and, quit neatly.
mrdudz [Sat, 29 Aug 2015 13:58:57 +0000 (15:58 +0200)]
style fixes
Oliver Schmidt [Thu, 27 Aug 2015 09:35:48 +0000 (11:35 +0200)]
Merge pull request #199 from greg-king5/irq
Fix source-code bugs that cause linking problems when set_irq() is used in a program.
Greg King [Wed, 26 Aug 2015 23:29:39 +0000 (19:29 -0400)]
Fixed bugs in the interface for C-level interrupt handlers.
* Added an important ".code" directive.
* Import a linker-created zero-page symbol as an absolute address; then, convert it to zero-page when it is used.
Fixes bug report #198.
Oliver Schmidt [Tue, 25 Aug 2015 11:57:21 +0000 (13:57 +0200)]
Don't show (potentially failing) pull request builds.
Oliver Schmidt [Sat, 15 Aug 2015 04:53:40 +0000 (06:53 +0200)]
Merge pull request #197 from greg-king5/static
Handle almost-duplicate C declarations that have different linkages.
Oliver Schmidt [Fri, 14 Aug 2015 07:04:20 +0000 (09:04 +0200)]
Merge pull request #196 from greg-king5/tests
Remove pointless rules from a regression test makefile.
Greg King [Thu, 13 Aug 2015 21:25:52 +0000 (17:25 -0400)]
Removed redundant attempts to build uncompilable files.
Greg King [Thu, 13 Aug 2015 07:39:35 +0000 (03:39 -0400)]
Added regression tests of diagnostics for conflicts between extern/public and static declarations.
Greg King [Mon, 10 Aug 2015 17:39:17 +0000 (13:39 -0400)]
Added warning diagnostics for conflicts between extern/public and static declarations.
Greg King [Sun, 9 Aug 2015 10:27:05 +0000 (06:27 -0400)]
Stopped extern declarations from changing previous static, but otherwise identical, declarations.
Greg King [Sun, 9 Aug 2015 02:04:38 +0000 (22:04 -0400)]
Improved the format of the global symbols' lists of flags, in cc65's debugging output.
Oliver Schmidt [Sat, 1 Aug 2015 11:28:42 +0000 (13:28 +0200)]
Merge pull request #190 from greg-king5/zeropage-doc
Fix an obsolete description of ca65's .ZEROPAGE directive.
Greg King [Sat, 1 Aug 2015 09:50:13 +0000 (05:50 -0400)]
Fixed the syntax in the shortcut expansion of ".ZEROPAGE".
Added a reference from ".SEGMENT" to ".ZEROPAGE".
Oliver Schmidt [Wed, 29 Jul 2015 12:48:38 +0000 (14:48 +0200)]
Merge pull request #188 from greg-king5/docs
65816 assembler document fix.
Greg King [Wed, 29 Jul 2015 10:55:50 +0000 (06:55 -0400)]
Removed obsolete lines from a list of 65816 mnemonic aliases.
Described what the macroes in macro package "generic" do.
Oliver Schmidt [Sat, 25 Jul 2015 15:52:49 +0000 (17:52 +0200)]
Merge pull request #183 from Movax12/linecont-bug
Fix bug #182
Oliver Schmidt [Thu, 23 Jul 2015 15:11:49 +0000 (17:11 +0200)]
Merge pull request #184 from greg-king5/fastcall
Update some fastcall info.
Greg King [Wed, 22 Jul 2015 16:56:34 +0000 (12:56 -0400)]
Updated the fastcall information in a document and two Assembly files.
Oliver Schmidt [Wed, 22 Jul 2015 09:36:39 +0000 (11:36 +0200)]
Added empty IRQ backend.
The driver kernels all require IRQ handling even if the actual drivers don't make use of it. So in order to successfully link a NES program using the joystick and/or TGI driver there has to be at least a "dummy" IRQ backend.
JT [Mon, 20 Jul 2015 23:16:48 +0000 (19:16 -0400)]
Style again
JT [Mon, 20 Jul 2015 23:12:30 +0000 (19:12 -0400)]
Fix style
JT [Mon, 20 Jul 2015 22:55:25 +0000 (18:55 -0400)]
Fix bug #182
mrdudz [Mon, 20 Jul 2015 16:42:04 +0000 (18:42 +0200)]
Merge remote-tracking branch 'upstream/master' into pcenginetarget
Oliver Schmidt [Mon, 20 Jul 2015 16:05:23 +0000 (18:05 +0200)]
Merge pull request #181 from Movax12/base10bug
Fix base 10 bug (ca65 allows 'a' or 'A' in base10 value)
Oliver Schmidt [Mon, 20 Jul 2015 16:02:14 +0000 (18:02 +0200)]
Merge pull request #180 from greg-king5/sprintf
Make the sprintf() family of functions handle special argument conditions.
Oliver Schmidt [Mon, 20 Jul 2015 16:00:56 +0000 (18:00 +0200)]
Merge pull request #179 from greg-king5/overlay
Add overlay-samples make-rules.
mrdudz [Mon, 20 Jul 2015 14:03:03 +0000 (16:03 +0200)]
fixed hello.c for pce
mrdudz [Mon, 20 Jul 2015 13:59:05 +0000 (15:59 +0200)]
Merge remote-tracking branch 'upstream/master' into pcenginetarget
Oliver Schmidt [Mon, 20 Jul 2015 05:46:18 +0000 (07:46 +0200)]
Made hello program compatible with joystick-only target(s).
JT [Sun, 19 Jul 2015 22:56:42 +0000 (18:56 -0400)]
Fix base 10 bug (ca65 allows 'a' or 'A' in base10 value)
mrdudz [Sun, 19 Jul 2015 16:06:16 +0000 (18:06 +0200)]
added missing chline, cvline
mrdudz [Sun, 19 Jul 2015 11:36:27 +0000 (13:36 +0200)]
fixed hline/vline
Greg King [Sat, 18 Jul 2015 22:23:08 +0000 (18:23 -0400)]
Added _directerrno() to the sim6502/sim65c02 libraries.
Greg King [Sat, 18 Jul 2015 00:36:56 +0000 (20:36 -0400)]
Fixed a hardware-stack leak.
Greg King [Sat, 18 Jul 2015 00:33:17 +0000 (20:33 -0400)]
Added a test program for the special features of snprintf().
mrdudz [Thu, 16 Jul 2015 19:39:13 +0000 (21:39 +0200)]
moved all notes into regular documentation
Greg King [Thu, 16 Jul 2015 19:31:35 +0000 (15:31 -0400)]
Added make rules that build the overlay sample programs.
Fixes half of bug issue 178 (on GitHub).
mrdudz [Thu, 16 Jul 2015 18:15:05 +0000 (20:15 +0200)]
fixed joypad bits
mrdudz [Thu, 16 Jul 2015 15:33:00 +0000 (17:33 +0200)]
added some cbm-like gfx chars to draw lines and boxes
mrdudz [Thu, 16 Jul 2015 14:54:40 +0000 (16:54 +0200)]
make sure clocktick starts at zero
mrdudz [Thu, 16 Jul 2015 14:46:24 +0000 (16:46 +0200)]
Merge remote-tracking branch 'upstream/master' into pcenginetarget
Oliver Schmidt [Thu, 16 Jul 2015 14:05:50 +0000 (16:05 +0200)]
Merge branch 'mrdudz-pointer'
mrdudz [Thu, 16 Jul 2015 14:00:32 +0000 (16:00 +0200)]
fixed screensize, timertick, revers mode
mrdudz [Wed, 15 Jul 2015 17:46:26 +0000 (19:46 +0200)]
added waitvblank and fixed get_tv
mrdudz [Wed, 15 Jul 2015 11:18:12 +0000 (13:18 +0200)]
fixed issues found by gregg
Oliver Schmidt [Wed, 15 Jul 2015 10:04:06 +0000 (12:04 +0200)]
Merge branch 'pointer' of https://github.com/mrdudz/cc65 into mrdudz-pointer
mrdudz [Tue, 14 Jul 2015 17:55:41 +0000 (19:55 +0200)]
_tickcount -> tickcount
mrdudz [Tue, 14 Jul 2015 15:22:47 +0000 (17:22 +0200)]
some more tweaking, added docs page
mrdudz [Mon, 13 Jul 2015 10:10:09 +0000 (12:10 +0200)]
added imports for conio init to conio functions, so the constructor will get linked and called automatically
mrdudz [Sun, 12 Jul 2015 14:40:52 +0000 (16:40 +0200)]
more cleanup and fixing
mrdudz [Sun, 12 Jul 2015 12:27:24 +0000 (14:27 +0200)]
more cleanup, joystick works again
Oliver Schmidt [Sun, 12 Jul 2015 11:32:03 +0000 (13:32 +0200)]
Merge pull request #158 from Movax12/definedmacro
Added .DEFINEDMACRO psuedo function
mrdudz [Sun, 12 Jul 2015 08:32:55 +0000 (10:32 +0200)]
simple conio test works again
JT [Sat, 11 Jul 2015 23:09:42 +0000 (19:09 -0400)]
Move FuncIsMnemonic
Oliver Schmidt [Sat, 11 Jul 2015 13:37:56 +0000 (15:37 +0200)]
Merge pull request #174 from mrdudz/testsuite
use rm -r instead of rmdir, and use -f for rm
mrdudz [Sat, 11 Jul 2015 11:05:26 +0000 (13:05 +0200)]
Merge remote-tracking branch 'upstream/master' into pcenginetarget
mrdudz [Sat, 11 Jul 2015 10:44:06 +0000 (12:44 +0200)]
Merge remote-tracking branch 'upstream/master' into testsuite
Oliver Schmidt [Fri, 10 Jul 2015 22:01:39 +0000 (00:01 +0200)]
Ignore return values only with CMD.EXE MkII.
CMD.EXE considers file deletion commands not able to delete anything as there's nothing to delete as failed. Of course we don't want to bail out of the Makefile because of missing files to delete. Therefore we ignore the return values with '-'. This change limits this workaround to CMD.EXE.
Oliver Schmidt [Fri, 10 Jul 2015 20:39:33 +0000 (22:39 +0200)]
Ignore return values only with CMD.EXE.
CMD.EXE considers file deletion commands not able to delete anything as there's nothing to delete as failed. Of course we don't want to bail out of the Makefile because of missing files to delete. Therefore we ignore the return values with '-'. This change limits this workaround to CMD.EXE.
mrdudz [Fri, 10 Jul 2015 18:04:31 +0000 (20:04 +0200)]
workaround for cmd.exe rmdir
mrdudz [Fri, 10 Jul 2015 16:38:54 +0000 (18:38 +0200)]
tests for illegal pointer operations that must always fail
mrdudz [Fri, 10 Jul 2015 12:27:49 +0000 (14:27 +0200)]
patch from Uz that makes some illegal operations on pointers error out
mrdudz [Fri, 10 Jul 2015 09:11:41 +0000 (11:11 +0200)]
removed -f again, as that is the default. also removed "-" before the actual comments, which were the workaround previously
mrdudz [Fri, 10 Jul 2015 08:43:00 +0000 (10:43 +0200)]
use rm -r instead of rmdir, and use -f for rm, that makes subsequent runs of "make clean" not fail
Greg King [Thu, 9 Jul 2015 18:46:28 +0000 (14:46 -0400)]
Made some string output functions reject an invalid NULL buffer pointer.
Oliver Schmidt [Thu, 9 Jul 2015 16:46:07 +0000 (18:46 +0200)]
Merge pull request #173 from mrdudz/testsuite3
two more tests