]>
git.sur5r.net Git - cc65/log
Brad Smith [Wed, 2 Mar 2016 06:58:44 +0000 (01:58 -0500)]
cc65-intern sgml fixes
Brad Smith [Fri, 26 Feb 2016 22:33:46 +0000 (17:33 -0500)]
revise note on prototypes/K&R conventions
Brad Smith [Fri, 26 Feb 2016 22:11:11 +0000 (17:11 -0500)]
draft of cc65-intern document
Oliver Schmidt [Thu, 21 Jan 2016 19:51:17 +0000 (20:51 +0100)]
Minor fix
Oliver Schmidt [Thu, 21 Jan 2016 19:49:21 +0000 (20:49 +0100)]
Added Watara.
Oliver Schmidt [Sat, 16 Jan 2016 21:41:14 +0000 (22:41 +0100)]
Fixed #258.
Oliver Schmidt [Sat, 16 Jan 2016 12:39:11 +0000 (13:39 +0100)]
Merge pull request #257 from greg-king5/actor-lineinfo
Make ca65's CONDES-type pseudo-instructions save line numbers correctly.
Greg King [Fri, 15 Jan 2016 22:18:09 +0000 (17:18 -0500)]
Fixed how ca65's CONDES-type pseudo-instructions save line numbers (for error messages).
Oliver Schmidt [Tue, 5 Jan 2016 20:13:12 +0000 (21:13 +0100)]
Merge pull request #256 from polluks/master
Changed stdout to stderr to separate sim65's output streams. Suggeste…
polluks [Tue, 5 Jan 2016 16:45:18 +0000 (17:45 +0100)]
Changed stdout to stderr to separate sim65's output streams. Suggested doc edit.
Oliver Schmidt [Tue, 5 Jan 2016 16:26:31 +0000 (17:26 +0100)]
Merge pull request #255 from polluks/master
Some missing docu.
polluks [Tue, 5 Jan 2016 14:57:18 +0000 (15:57 +0100)]
Updated index.
polluks [Tue, 5 Jan 2016 14:45:51 +0000 (15:45 +0100)]
Added sim65 documentation.
polluks [Tue, 5 Jan 2016 14:38:05 +0000 (15:38 +0100)]
Fixed typos.
Oliver Schmidt [Sat, 2 Jan 2016 12:55:42 +0000 (13:55 +0100)]
Merge pull request #254 from greg-king5/offset-pointer
Fix an unbalanced C stack that happens when a pointer is added to a 32-bit offset.
Greg King [Fri, 1 Jan 2016 16:39:55 +0000 (11:39 -0500)]
Added a cc65 regression test for pointer and offset addition operations.
Greg King [Thu, 31 Dec 2015 22:41:48 +0000 (17:41 -0500)]
Fixed the cc65 code that handled an addition of a pointer to a 32-bit offset.
It didn't demote the offset to int because it looked at the pointer (instead of the offset) which already was 16 bits.
Oliver Schmidt [Tue, 29 Dec 2015 11:11:33 +0000 (12:11 +0100)]
Merge pull request #253 from greg-king5/pointer-compares
Make cc65 accept comparisons between pointers with different qualifiers.
Greg King [Tue, 29 Dec 2015 09:18:17 +0000 (04:18 -0500)]
Made cc65 accept comparisons between pointers with different qualifiers (similarly to subtractions between pointers).
Oliver Schmidt [Sun, 27 Dec 2015 12:40:20 +0000 (13:40 +0100)]
Merge pull request #249 from polluks/master
My first PR
polluks [Sun, 27 Dec 2015 01:09:12 +0000 (02:09 +0100)]
Added chrcvt documentation
polluks [Sun, 27 Dec 2015 00:26:28 +0000 (01:26 +0100)]
Amiga support #192
Oliver Schmidt [Wed, 16 Dec 2015 11:24:47 +0000 (12:24 +0100)]
Update package index (as recommended by Travis CI).
Oliver Schmidt [Wed, 16 Dec 2015 09:40:41 +0000 (10:40 +0100)]
Merge pull request #248 from greg-king5/nes-registers
Remove a const qualifier from <nes.h>.
Greg King [Tue, 15 Dec 2015 16:26:04 +0000 (11:26 -0500)]
Programs need to reset NES input controllers by writing to them.
Oliver Schmidt [Tue, 15 Dec 2015 15:01:54 +0000 (16:01 +0100)]
Merge pull request #247 from clbr/master
nes: Fix reading the second controller
Lauri Kasanen [Mon, 14 Dec 2015 17:23:27 +0000 (19:23 +0200)]
nes: Fix reading the second controller
See
http://wiki.nesdev.com/w/index.php/Controller_port_registers
Oliver Schmidt [Mon, 14 Dec 2015 17:25:57 +0000 (18:25 +0100)]
Merge pull request #246 from greg-king5/shift-signed-char
Fix a signed char right-shift compiler optimization.
Greg King [Mon, 14 Dec 2015 16:50:43 +0000 (11:50 -0500)]
Added another op-code to the test pattern for a right-shift optimizer in cc65.
Greg King [Mon, 14 Dec 2015 16:46:30 +0000 (11:46 -0500)]
Added a regression test program for the changes in the right-shift optimizer.
Greg King [Sun, 13 Dec 2015 22:10:31 +0000 (17:10 -0500)]
Extended a signed char shift optimization, to handle shifts that are longer than 4 bits.
Greg King [Sun, 13 Dec 2015 12:17:41 +0000 (07:17 -0500)]
Fixed a signed char shift optimization so that it won't be used on signed int also.
(It would lose significant bits from the high byte.)
Oliver Schmidt [Wed, 2 Dec 2015 20:34:08 +0000 (21:34 +0100)]
Fixed soft80 shutdown.
A call to $FDA3 cannot be used because it re-enables the BASIC ROM. If a large program (such as Contiki's webbrowser80) has destructor code or data "behind" that ROM, then the program might crash when it tries to quit gracefully. Changing that code to set CIA2_PRA works well enough.
Oliver Schmidt [Wed, 2 Dec 2015 09:40:06 +0000 (10:40 +0100)]
Merge pull request #240 from blackystardust/fix-c128-ram-rts
Fixed the c128 bank 1 emd.
Marco van den Heuvel [Wed, 2 Dec 2015 08:21:55 +0000 (00:21 -0800)]
optimized the sei/cli pairing a bit.
Oliver Schmidt [Tue, 1 Dec 2015 22:06:51 +0000 (23:06 +0100)]
Made conio program compatible with joystick-only target(s).
Oliver Schmidt [Tue, 1 Dec 2015 15:18:31 +0000 (16:18 +0100)]
Merge pull request #237 from blackystardust/master
Added a menu to em-test.c and a struct that holds the available emd's…
Marco van den Heuvel [Mon, 30 Nov 2015 18:15:28 +0000 (10:15 -0800)]
Fixed emd driver names for atari-xl and apple2e.
Marco van den Heuvel [Mon, 30 Nov 2015 07:04:23 +0000 (23:04 -0800)]
Fixed the c128 ram (bank 1) emd.
Marco van den Heuvel [Sun, 29 Nov 2015 19:35:25 +0000 (11:35 -0800)]
Removed an 'rts'.
Marco van den Heuvel [Sun, 29 Nov 2015 18:50:22 +0000 (10:50 -0800)]
Changed according to suggestions.
Marco van den Heuvel [Sun, 29 Nov 2015 06:06:32 +0000 (22:06 -0800)]
Added a menu to em-test.c and a struct that holds the available emd's, this way the user that wants to test an emd can use the menu to select which one to test.
Oliver Schmidt [Thu, 26 Nov 2015 19:19:14 +0000 (20:19 +0100)]
Merge pull request #236 from fo-fo/master
Escaping of spaces in ca65 dependency files
f [Thu, 26 Nov 2015 17:00:47 +0000 (19:00 +0200)]
Implemented escaping of spaces in ca65 dependency files. Largely based on input.c from cc65 (WriteEscaped was copied verbatim).
Oliver Schmidt [Mon, 23 Nov 2015 09:24:03 +0000 (10:24 +0100)]
Merge pull request #233 from mrdudz/soft80shutdown
reset screen editor at shutdown
mrdudz [Sun, 22 Nov 2015 18:20:58 +0000 (19:20 +0100)]
reset screen editor at shutdown
Oliver Schmidt [Tue, 17 Nov 2015 20:23:30 +0000 (21:23 +0100)]
Merge pull request #232 from greg-king5/arg-count
Fix ca65's ".paramcount" Assembly-code read-only variable.
Greg King [Tue, 17 Nov 2015 19:11:30 +0000 (14:11 -0500)]
Fixed the ca65 Assembly-code variable ".paramcount".
Fixed how it's described in the ca65 document.
Oliver Schmidt [Thu, 12 Nov 2015 12:20:45 +0000 (13:20 +0100)]
Merge pull request #229 from greg-king5/nes-registers
Update the <nes.h> include file.
Greg King [Thu, 12 Nov 2015 10:40:47 +0000 (05:40 -0500)]
Added C declarations of the NES's I/O registers to <nes.h>.
Oliver Schmidt [Sat, 7 Nov 2015 12:37:46 +0000 (13:37 +0100)]
Merge pull request #227 from mrdudz/soft80syms
remove unneeded exports
mrdudz [Sat, 7 Nov 2015 10:45:38 +0000 (11:45 +0100)]
remove unneeded exports
Oliver Schmidt [Sat, 7 Nov 2015 10:37:36 +0000 (11:37 +0100)]
Merge pull request #226 from greg-king5/pce-memset
Add a PC-Engine version of memset().
Greg King [Sat, 7 Nov 2015 05:29:07 +0000 (00:29 -0500)]
Style changes.
Greg King [Sat, 7 Nov 2015 04:59:19 +0000 (23:59 -0500)]
Added a version of memset() that uses the HuC6280's TII instruction to get more speed.
Oliver Schmidt [Tue, 3 Nov 2015 09:13:20 +0000 (10:13 +0100)]
Merge pull request #225 from greg-king5/pce-memmove
Handle the special case of a zero-length move on the PC Engine.
Greg King [Mon, 2 Nov 2015 22:04:46 +0000 (17:04 -0500)]
Added code to handle the special case of a zero-length move.
Added more tests of memcpy() and memmove().
Oliver Schmidt [Fri, 30 Oct 2015 16:18:55 +0000 (17:18 +0100)]
Made addr/size hex consts 4 digits wide.
Oliver Schmidt [Sat, 24 Oct 2015 15:12:49 +0000 (17:12 +0200)]
Merge pull request #224 from greg-king5/ld65-segstart
Change the way that ld65 handles bad offset/start segment-attributes.
Oliver Schmidt [Sat, 24 Oct 2015 15:10:25 +0000 (17:10 +0200)]
Merge pull request #223 from greg-king5/pce-memmove
Add PC Engine-specific substitutes for memcpy() and memmove().
Greg King [Fri, 23 Oct 2015 22:02:21 +0000 (18:02 -0400)]
Added pce-specific substitutes for memcpy() and memmove().
They are smaller and faster because they take advantage of the pce CPU's block-copy instructions.
Also, made a small improvement to the common memmove(), so that it is similar to the pce version.
Oliver Schmidt [Fri, 23 Oct 2015 18:41:28 +0000 (20:41 +0200)]
Merge pull request #221 from undisbeliever/master
Added .asize and .isize pseudo variables in ca65
Marcus Rowe [Fri, 23 Oct 2015 15:07:47 +0000 (01:07 +1000)]
Fixed code style
Greg King [Thu, 22 Oct 2015 23:24:08 +0000 (19:24 -0400)]
Changed the way that ld65 handles bad offset/start segment attributes, and reports memory area overflows.
1. Offset/start attributes within a memory area are ignored after an overflow.
2. If a previous segment ends past an offset/start address, then that address is not used.
3. Short map files were generated for memory overflows; now, they are generated for bad offset/start addresses, too.
Oliver Schmidt [Thu, 22 Oct 2015 19:17:50 +0000 (21:17 +0200)]
Merge pull request #222 from mrdudz/pcedatacopy
use tii instead of copy loop to copy data section to ram
mrdudz [Thu, 22 Oct 2015 17:48:21 +0000 (19:48 +0200)]
use tii instead of copy loop to copy data section to ram
Oliver Schmidt [Thu, 22 Oct 2015 15:56:21 +0000 (17:56 +0200)]
Merge pull request #213 from mrdudz/soft80
soft80 implementation for C-64
mrdudz [Thu, 22 Oct 2015 15:33:01 +0000 (17:33 +0200)]
removed apple2 specific note
Marcus Rowe [Mon, 19 Oct 2015 23:30:25 +0000 (09:30 +1000)]
Added .asize and .isize pseudo variables
These pseudo variables will return the size of the accumulator/index
in bits.
For the 65816 instruction set .ASIZE/.ISIZE will return either 8 or 16,
depending on the current size of the operand in immediate addressing
mode.
For all other CPU instruction sets, .ASIZE/.ISIZE will always return 8.
For example:
; Reverse Subtract with Accumulator
; A = memory - A
.macro rsb param
.if .asize = 8
eor #$ff
.else
eor #$ffff
.endif
sec
adc param
.endmacro
mrdudz [Mon, 19 Oct 2015 01:12:19 +0000 (03:12 +0200)]
updated docs
mrdudz [Mon, 19 Oct 2015 00:49:32 +0000 (02:49 +0200)]
added size optimized monochrom soft80 driver
mrdudz [Mon, 19 Oct 2015 00:47:40 +0000 (02:47 +0200)]
updated comments
mrdudz [Sun, 18 Oct 2015 21:57:58 +0000 (23:57 +0200)]
updated docs
Oliver Schmidt [Sat, 17 Oct 2015 19:37:41 +0000 (21:37 +0200)]
Merge pull request #220 from greg-king5/holes
Fix a samples/sieve.s typo.
Greg King [Sat, 17 Oct 2015 15:53:16 +0000 (11:53 -0400)]
Added missing parentheses.
A function call had looked like a function pointer (which caused an incompatible comparison).
mrdudz [Thu, 15 Oct 2015 13:11:05 +0000 (15:11 +0200)]
move variables into INITBSS
mrdudz [Thu, 15 Oct 2015 13:07:44 +0000 (15:07 +0200)]
Merge remote-tracking branch 'upstream/master' into soft80
Oliver Schmidt [Wed, 14 Oct 2015 22:15:38 +0000 (00:15 +0200)]
Adjusted current working directory initialization on Apple and Atari.
Moving __cwd from BSS into INITBSS does of course ;-) not only impact the CBM targets but all targets with disk I/O support.
Note: Code using `__cwd-1` may trigger an ld65 range error because __cwd may end up at the very begining of a segment. As far as I see this is an ld65 bug which I'm not try to fix - at least here.
Oliver Schmidt [Wed, 14 Oct 2015 20:52:09 +0000 (22:52 +0200)]
Changed run location of INIT segment.
So far the INIT segment was run from the later heap+stack. Now the INIT segment is run from the later BSS. The background is that so far the INIT segment was pretty small (from $80 to $180 bytes). But upcoming changes will increase the INIT segment in certain scenarios up to ~ $1000 bytes. So programs with very limited heap+stack might just not been able to move the INIT segment to its run location. But moving the INIT segment to the later BSS allows it to occupy the later BSS+heap+stack.
In order to allow that the constructors are _NOT_ allowed anymore to access the BSS. Rather they must use the DATA segment or the new INITBSS segment. The latter isn't cleared at any point so the constructors may use it to expose values to the main program. However they must make sure to always write the values as they are not pre-initialized.
mrdudz [Wed, 14 Oct 2015 15:52:14 +0000 (17:52 +0200)]
remove deleted function from comment
mrdudz [Wed, 14 Oct 2015 15:50:44 +0000 (17:50 +0200)]
some comments
mrdudz [Wed, 14 Oct 2015 15:34:29 +0000 (17:34 +0200)]
fix bordercolor in test
mrdudz [Wed, 14 Oct 2015 15:33:58 +0000 (17:33 +0200)]
remove soft80_bordercolor override
mrdudz [Wed, 14 Oct 2015 15:25:35 +0000 (17:25 +0200)]
split regular color.s into color.s and bordercolor.s
mrdudz [Wed, 14 Oct 2015 15:24:42 +0000 (17:24 +0200)]
update conio test
mrdudz [Wed, 14 Oct 2015 15:24:16 +0000 (17:24 +0200)]
use 'soft80_internal_cellcolor' for the current cell color, and CHARCOLOR for the actual textcolor
Oliver Schmidt [Wed, 14 Oct 2015 09:50:54 +0000 (11:50 +0200)]
According to the contributor the VGA data is accessed only by the constructor.
Oliver Schmidt [Wed, 14 Oct 2015 08:43:11 +0000 (10:43 +0200)]
Merge pull request #215 from greg-king5/c64-init
Save space by using the apple2 target's INIT overlay scheme on the c64 target.
mrdudz [Tue, 13 Oct 2015 02:14:23 +0000 (04:14 +0200)]
updated conio test
mrdudz [Tue, 13 Oct 2015 02:14:04 +0000 (04:14 +0200)]
another size optimization, make bgcolor() much more robust
mrdudz [Mon, 12 Oct 2015 21:39:47 +0000 (23:39 +0200)]
move some stuff to init segment, saves roughly 1480 bytes :)
mrdudz [Mon, 12 Oct 2015 19:23:27 +0000 (21:23 +0200)]
remove chline/cvline dupes
mrdudz [Mon, 12 Oct 2015 19:13:32 +0000 (21:13 +0200)]
Merge remote-tracking branch 'upstream/master' into soft80
Oliver Schmidt [Mon, 12 Oct 2015 19:04:06 +0000 (21:04 +0200)]
Allow to override chars used for horizontal and vertical lines.
mrdudz [Mon, 12 Oct 2015 19:02:48 +0000 (21:02 +0200)]
export mouse driver related symbols
mrdudz [Mon, 12 Oct 2015 18:46:53 +0000 (20:46 +0200)]
increase conio constructor priority
mrdudz [Mon, 12 Oct 2015 18:43:19 +0000 (20:43 +0200)]
Merge remote-tracking branch 'upstream/master' into soft80
mrdudz [Mon, 12 Oct 2015 18:38:06 +0000 (20:38 +0200)]
style issues
Oliver Schmidt [Mon, 12 Oct 2015 18:18:13 +0000 (20:18 +0200)]
Allow to override mouse sprite location data.
mrdudz [Mon, 12 Oct 2015 17:57:33 +0000 (19:57 +0200)]
some renaming, preparing plot table names