]> git.sur5r.net Git - cc65/log
cc65
8 years agocc65-intern update minor change notes from greg-king5 274/head
Brad Smith [Thu, 3 Mar 2016 02:01:46 +0000 (21:01 -0500)]
cc65-intern update minor change notes from greg-king5

8 years agoMerge remote-tracking branch 'refs/remotes/cc65/master' into doc-cc65-intern
Brad Smith [Thu, 3 Mar 2016 02:01:04 +0000 (21:01 -0500)]
Merge remote-tracking branch 'refs/remotes/cc65/master' into doc-cc65-intern

8 years agocc65-intern adjusting mailing address
Brad Smith [Wed, 2 Mar 2016 07:03:23 +0000 (02:03 -0500)]
cc65-intern adjusting mailing address

8 years agocc65-intern sgml fixes
Brad Smith [Wed, 2 Mar 2016 06:58:44 +0000 (01:58 -0500)]
cc65-intern sgml fixes

8 years agoMerge pull request #273 from mrdudz/emddocs
Oliver Schmidt [Sun, 28 Feb 2016 20:53:46 +0000 (21:53 +0100)]
Merge pull request #273 from mrdudz/emddocs

updated docs with recently added extended memory drivers

8 years agofixed copypaste errors 273/head
mrdudz [Sun, 28 Feb 2016 20:39:49 +0000 (21:39 +0100)]
fixed copypaste errors

8 years agoupdated docs with recently added extended memory drivers
mrdudz [Sun, 28 Feb 2016 19:12:28 +0000 (20:12 +0100)]
updated docs with recently added extended memory drivers

8 years agoLoad INITBSS segment from disk.
Oliver Schmidt [Sun, 28 Feb 2016 18:29:37 +0000 (19:29 +0100)]
Load INITBSS segment from disk.

Conceptually the INITBSS segment is not initialized in any way. Therefore it makes sense to not load it from disk. However the INIT segment has to be loaded from disk and therefore moved to its run location above the INITBSS segment. The necessary move routine increases runtime RAM usage :-(

Therefore we now "unnecessarily" load the INITBSS segment from disk too meaning that the INIT segment is loaded at its run location. Therefore there's no need for the move routine anymore.

After all we trade disk space for (runtime) RAM space - an easy decision ;-)

Notes:

- The code allowing to re-run a program without re-load present so far could not have worked as far as I can see as it only avoided to re-run the move routine but still tried to re-run the code in the INIT segment that was clobbered by zeroing the BSS. Therefore I removed the code in question altogether. I'm personally not into this "dirty re-run" but if someone wants to add an actually working solution I won't block that.

- INITBSS is intentionally not just merged with the DATA segment as ROM-based targets can't reuse the INIT segment for the BSS and therefore have no reason to place the INIT segment above INITBSS.

- Because ROM-based targets don't copy INITBSS from the ROM (like it is done with the DATA segment) all users of INITBSS _MUST_NOT_ presume INITBSS to be initialized with zeros!

8 years agoMerge pull request #238 from mrdudz/gamate
Bob Andrews [Sat, 27 Feb 2016 17:44:26 +0000 (18:44 +0100)]
Merge pull request #238 from mrdudz/gamate

Bit Corporation 'Gamate' support

8 years agoMerge pull request #241 from blackystardust/c128-function-ram-emd
Bob Andrews [Sat, 27 Feb 2016 17:08:55 +0000 (18:08 +0100)]
Merge pull request #241 from blackystardust/c128-function-ram-emd

C128 function ram emd

8 years agoMerge pull request #271 from silverdr/blackystardust_pr_post_review
Oliver Schmidt [Fri, 26 Feb 2016 23:55:11 +0000 (00:55 +0100)]
Merge pull request #271 from silverdr/blackystardust_pr_post_review

Blackystardust pr post review

8 years agoMerge branch 'blackystardust_pr_post_review' of github.com:silverdr/cc65 into blackys... 271/head
Patrycjusz R. Łogiewa [Fri, 26 Feb 2016 22:56:22 +0000 (23:56 +0100)]
Merge branch 'blackystardust_pr_post_review' of github.com:silverdr/cc65 into blackystardust_pr_post_review

8 years agoblackystardust pull request with post-review changes
silverdr [Fri, 26 Feb 2016 22:51:37 +0000 (23:51 +0100)]
blackystardust pull request with post-review changes

8 years agoblackystardust pull request with post-review changes
Patrycjusz R. Łogiewa [Fri, 26 Feb 2016 22:51:37 +0000 (23:51 +0100)]
blackystardust pull request with post-review changes

8 years agoMerge pull request #1 from cc65/master
silverdr [Fri, 26 Feb 2016 22:42:50 +0000 (23:42 +0100)]
Merge pull request #1 from cc65/master

sync

8 years agorevise note on prototypes/K&R conventions
Brad Smith [Fri, 26 Feb 2016 22:33:46 +0000 (17:33 -0500)]
revise note on prototypes/K&R conventions

8 years agodraft of cc65-intern document
Brad Smith [Fri, 26 Feb 2016 22:11:11 +0000 (17:11 -0500)]
draft of cc65-intern document

8 years agoMinor fix
Oliver Schmidt [Thu, 21 Jan 2016 19:51:17 +0000 (20:51 +0100)]
Minor fix

8 years agoAdded Watara.
Oliver Schmidt [Thu, 21 Jan 2016 19:49:21 +0000 (20:49 +0100)]
Added Watara.

8 years agoFixed #258.
Oliver Schmidt [Sat, 16 Jan 2016 21:41:14 +0000 (22:41 +0100)]
Fixed #258.

8 years agoMerge pull request #257 from greg-king5/actor-lineinfo
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.

8 years agoFixed how ca65's CONDES-type pseudo-instructions save line numbers (for error messages). 257/head
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).

8 years agoMerge pull request #256 from polluks/master
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…

8 years agoChanged stdout to stderr to separate sim65's output streams. Suggested doc edit. 256/head
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.

8 years agoMerge pull request #255 from polluks/master
Oliver Schmidt [Tue, 5 Jan 2016 16:26:31 +0000 (17:26 +0100)]
Merge pull request #255 from polluks/master

Some missing docu.

8 years agoUpdated index. 255/head
polluks [Tue, 5 Jan 2016 14:57:18 +0000 (15:57 +0100)]
Updated index.

8 years agoAdded sim65 documentation.
polluks [Tue, 5 Jan 2016 14:45:51 +0000 (15:45 +0100)]
Added sim65 documentation.

8 years agoFixed typos.
polluks [Tue, 5 Jan 2016 14:38:05 +0000 (15:38 +0100)]
Fixed typos.

8 years agoMerge pull request #254 from greg-king5/offset-pointer
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.

8 years agoAdded a cc65 regression test for pointer and offset addition operations. 254/head
Greg King [Fri, 1 Jan 2016 16:39:55 +0000 (11:39 -0500)]
Added a cc65 regression test for pointer and offset addition operations.

8 years agoFixed the cc65 code that handled an addition of a pointer to a 32-bit offset.
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.

8 years agoMerge pull request #253 from greg-king5/pointer-compares
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.

8 years agoMade cc65 accept comparisons between pointers with different qualifiers (similarly... 253/head
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).

8 years agoMerge pull request #249 from polluks/master
Oliver Schmidt [Sun, 27 Dec 2015 12:40:20 +0000 (13:40 +0100)]
Merge pull request #249 from polluks/master

My first PR

8 years agoAdded chrcvt documentation 249/head
polluks [Sun, 27 Dec 2015 01:09:12 +0000 (02:09 +0100)]
Added chrcvt documentation

8 years agoAmiga support #192
polluks [Sun, 27 Dec 2015 00:26:28 +0000 (01:26 +0100)]
Amiga support #192

8 years agotweaked soft env 238/head
mrdudz [Thu, 24 Dec 2015 23:59:22 +0000 (00:59 +0100)]
tweaked soft env

8 years agoUpdate package index (as recommended by Travis CI).
Oliver Schmidt [Wed, 16 Dec 2015 11:24:47 +0000 (12:24 +0100)]
Update package index (as recommended by Travis CI).

8 years agoMerge pull request #248 from greg-king5/nes-registers
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>.

8 years agoPrograms need to reset NES input controllers by writing to them. 248/head
Greg King [Tue, 15 Dec 2015 16:26:04 +0000 (11:26 -0500)]
Programs need to reset NES input controllers by writing to them.

8 years agoMerge pull request #247 from clbr/master
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

8 years agones: Fix reading the second controller 247/head
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

8 years agoMerge pull request #246 from greg-king5/shift-signed-char
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.

8 years agoAdded another op-code to the test pattern for a right-shift optimizer in cc65. 246/head
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.

8 years agoAdded a regression test program for the changes in the right-shift optimizer.
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.

8 years agoExtended a signed char shift optimization, to handle shifts that are longer than...
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.

8 years agoFixed a signed char shift optimization so that it won't be used on signed int also.
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.)

8 years agoFixed soft80 shutdown.
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.

8 years agoMerge pull request #240 from blackystardust/fix-c128-ram-rts
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.

8 years agoRenamed MMU_CFG_INT_FROM -> MMU_CFG_IFROM and MMU_CFG_EXT_FROM -> MMU_CFG_EFROM 241/head
Marco van den Heuvel [Wed, 2 Dec 2015 08:30:30 +0000 (00:30 -0800)]
Renamed MMU_CFG_INT_FROM -> MMU_CFG_IFROM and MMU_CFG_EXT_FROM -> MMU_CFG_EFROM

8 years agooptimized the sei/cli pairing a bit. 240/head
Marco van den Heuvel [Wed, 2 Dec 2015 08:21:55 +0000 (00:21 -0800)]
optimized the sei/cli pairing a bit.

8 years agooptimized the sei/cli pairing a bit for internal function ram emd as well.
Marco van den Heuvel [Wed, 2 Dec 2015 08:17:29 +0000 (00:17 -0800)]
optimized the sei/cli pairing a bit for internal function ram emd as well.

8 years agooptimized the sei/cli pairing a bit.
Marco van den Heuvel [Wed, 2 Dec 2015 08:14:56 +0000 (00:14 -0800)]
optimized the sei/cli pairing a bit.

8 years agofixup conio.c some more. also includes merge of upstream/master because git is retarded.
mrdudz [Tue, 1 Dec 2015 23:13:32 +0000 (00:13 +0100)]
fixup conio.c some more. also includes merge of upstream/master because git is retarded.

8 years agoMade conio program compatible with joystick-only target(s).
Oliver Schmidt [Tue, 1 Dec 2015 22:06:51 +0000 (23:06 +0100)]
Made conio program compatible with joystick-only target(s).

8 years agofix comments
mrdudz [Tue, 1 Dec 2015 15:55:02 +0000 (16:55 +0100)]
fix comments

8 years agofix grammar
mrdudz [Tue, 1 Dec 2015 15:38:00 +0000 (16:38 +0100)]
fix grammar

8 years agoMerge pull request #237 from blackystardust/master
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…

8 years agoFinished adding c128 internal/external function ram emd's.
Marco van den Heuvel [Tue, 1 Dec 2015 04:14:45 +0000 (20:14 -0800)]
Finished adding c128 internal/external function ram emd's.

8 years agofix hello.c
mrdudz [Mon, 30 Nov 2015 18:48:10 +0000 (19:48 +0100)]
fix hello.c

8 years agonaive music test
mrdudz [Mon, 30 Nov 2015 18:16:28 +0000 (19:16 +0100)]
naive music test

8 years agoFixed emd driver names for atari-xl and apple2e. 237/head
Marco van den Heuvel [Mon, 30 Nov 2015 18:15:28 +0000 (10:15 -0800)]
Fixed emd driver names for atari-xl and apple2e.

8 years agoStarted on making c128 function ram emd's.
Marco van den Heuvel [Mon, 30 Nov 2015 17:53:30 +0000 (09:53 -0800)]
Started on making c128 function ram emd's.

8 years agoadded black line :)
mrdudz [Mon, 30 Nov 2015 17:49:52 +0000 (18:49 +0100)]
added black line :)

8 years agofixed stuff according to Olivers review
mrdudz [Mon, 30 Nov 2015 17:44:04 +0000 (18:44 +0100)]
fixed stuff according to Olivers review

8 years agoFixed the c128 ram (bank 1) emd.
Marco van den Heuvel [Mon, 30 Nov 2015 07:04:23 +0000 (23:04 -0800)]
Fixed the c128 ram (bank 1) emd.

8 years agofix typo
mrdudz [Sun, 29 Nov 2015 21:00:59 +0000 (22:00 +0100)]
fix typo

8 years agofix docs
mrdudz [Sun, 29 Nov 2015 20:15:28 +0000 (21:15 +0100)]
fix docs

8 years agodont use that silly buffer
mrdudz [Sun, 29 Nov 2015 20:15:10 +0000 (21:15 +0100)]
dont use that silly buffer

8 years agoRemoved an 'rts'.
Marco van den Heuvel [Sun, 29 Nov 2015 19:35:25 +0000 (11:35 -0800)]
Removed an 'rts'.

8 years agomore cleanup
mrdudz [Sun, 29 Nov 2015 19:04:10 +0000 (20:04 +0100)]
more cleanup

8 years agoChanged according to suggestions.
Marco van den Heuvel [Sun, 29 Nov 2015 18:50:22 +0000 (10:50 -0800)]
Changed according to suggestions.

8 years agomoved cart header into seperate file, moved nmi stub into several file, tweaked linke...
mrdudz [Sun, 29 Nov 2015 15:01:36 +0000 (16:01 +0100)]
moved cart header into seperate file, moved nmi stub into several file, tweaked linker config

8 years agoAdded a menu to em-test.c and a struct that holds the available emd's, this way the...
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.

8 years agoupdated
mrdudz [Sun, 29 Nov 2015 00:24:01 +0000 (01:24 +0100)]
updated

8 years agoconio and most other stuff working now
mrdudz [Sun, 29 Nov 2015 00:14:59 +0000 (01:14 +0100)]
conio and most other stuff working now

8 years agoMerge pull request #236 from fo-fo/master
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

8 years agoImplemented escaping of spaces in ca65 dependency files. Largely based on input.c... 236/head
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).

8 years agoMerge pull request #233 from mrdudz/soft80shutdown
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

8 years agoreset screen editor at shutdown 233/head
mrdudz [Sun, 22 Nov 2015 18:20:58 +0000 (19:20 +0100)]
reset screen editor at shutdown

8 years agosome more fiddling
mrdudz [Sun, 22 Nov 2015 18:02:47 +0000 (19:02 +0100)]
some more fiddling

8 years agoMerge pull request #232 from greg-king5/arg-count
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.

8 years agoFixed the ca65 Assembly-code variable ".paramcount". 232/head
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.

8 years agoinitial import of the gamate stuff
mrdudz [Sat, 14 Nov 2015 12:15:29 +0000 (13:15 +0100)]
initial import of the gamate stuff

8 years agoMerge pull request #229 from greg-king5/nes-registers
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.

8 years agoAdded C declarations of the NES's I/O registers to <nes.h>. 229/head
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>.

8 years agoMerge pull request #227 from mrdudz/soft80syms
Oliver Schmidt [Sat, 7 Nov 2015 12:37:46 +0000 (13:37 +0100)]
Merge pull request #227 from mrdudz/soft80syms

remove unneeded exports

8 years agoremove unneeded exports 227/head
mrdudz [Sat, 7 Nov 2015 10:45:38 +0000 (11:45 +0100)]
remove unneeded exports

8 years agoMerge pull request #226 from greg-king5/pce-memset
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().

8 years agoStyle changes. 226/head
Greg King [Sat, 7 Nov 2015 05:29:07 +0000 (00:29 -0500)]
Style changes.

8 years agoAdded a version of memset() that uses the HuC6280's TII instruction to get more speed.
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.

8 years agoMerge pull request #225 from greg-king5/pce-memmove
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.

8 years agoAdded code to handle the special case of a zero-length move. 225/head
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().

8 years agoMade addr/size hex consts 4 digits wide.
Oliver Schmidt [Fri, 30 Oct 2015 16:18:55 +0000 (17:18 +0100)]
Made addr/size hex consts 4 digits wide.

8 years agoMerge pull request #224 from greg-king5/ld65-segstart
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.

8 years agoMerge pull request #223 from greg-king5/pce-memmove
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().

8 years agoAdded pce-specific substitutes for memcpy() and memmove(). 223/head
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.

8 years agoMerge pull request #221 from undisbeliever/master
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

8 years agoFixed code style 221/head
Marcus Rowe [Fri, 23 Oct 2015 15:07:47 +0000 (01:07 +1000)]
Fixed code style

8 years agoChanged the way that ld65 handles bad offset/start segment attributes, and reports... 224/head
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.