]>
git.sur5r.net Git - cc65/log
Oliver Schmidt [Sun, 13 Mar 2016 13:32:07 +0000 (14:32 +0100)]
Cleaned up C64 linker configs.
The BSS segment and the ONCE segment share the same start address. So they need to be placed in two different memory areas.
So far BSS was placed in the MAIN memory area and ONCE was placed in an additional memory area. Both memory areas were written to the output file. They just "happened" to be loadable and runnable at a stretch.
Now ONCE is placed in the MAIN memory area and BSS is placed in an additional memory area. Only MAIN is written to the output file. It becomes more obvious that BSS is "just" defined to share memory with ONCE.
Oliver Schmidt [Thu, 10 Mar 2016 09:07:09 +0000 (10:07 +0100)]
Don't presume the stack size to be a multiple of pages.
Oliver Schmidt [Tue, 8 Mar 2016 20:50:18 +0000 (21:50 +0100)]
Merge pull request #274 from bbbradsmith/doc-cc65-intern
New documentation: cc65-intern.sgml
Oliver Schmidt [Mon, 7 Mar 2016 00:44:19 +0000 (01:44 +0100)]
Use AX paradigm for stack initalization.
Oliver Schmidt [Mon, 7 Mar 2016 00:28:55 +0000 (01:28 +0100)]
Renamed RAM to MAIN for all disk based targets.
The name RAM doesn't make much sense in general for a memeory area because i.e. the zero page is for sure RAM but is not part of the memory area named RAM.
For disk based targets it makes sense to put the disk file more into focus and here MAIN means the main part of the file - in contrast to some header.
Only for ROM based targets the name RAM is kept as it makes sense to focus on the difference between RAM and ROM.
Oliver Schmidt [Sun, 6 Mar 2016 20:26:22 +0000 (21:26 +0100)]
Renamed INITBSS to INIT and INIT to ONCE.
The way we want to use the INITBSS segment - and especially the fact that it won't have the type bss on all ROM based targets - means that the name INITBSS is misleading. After all INIT is the best name from my perspective as it serves several purposes and therefore needs a rather generic name.
Unfortunately this means that the current INIT segment needs to be renamed too. Looking for a short (ideally 4 letter) name I came up with ONCE as it contains all code (and data) accessed only once during initialization.
Oliver Schmidt [Thu, 3 Mar 2016 08:07:21 +0000 (09:07 +0100)]
Merge pull request #269 from jbrandwood/squarebracket
New ".feature" to use brackets instead of parens for 6502 indirect addressing.
Brad Smith [Thu, 3 Mar 2016 02:01:46 +0000 (21:01 -0500)]
cc65-intern update minor change notes from greg-king5
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
Brad Smith [Wed, 2 Mar 2016 07:03:23 +0000 (02:03 -0500)]
cc65-intern adjusting mailing address
Brad Smith [Wed, 2 Mar 2016 06:58:44 +0000 (01:58 -0500)]
cc65-intern sgml fixes
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
mrdudz [Sun, 28 Feb 2016 20:39:49 +0000 (21:39 +0100)]
fixed copypaste errors
mrdudz [Sun, 28 Feb 2016 19:12:28 +0000 (20:12 +0100)]
updated docs with recently added extended memory drivers
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!
Bob Andrews [Sat, 27 Feb 2016 17:44:26 +0000 (18:44 +0100)]
Merge pull request #238 from mrdudz/gamate
Bit Corporation 'Gamate' support
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
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
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
silverdr [Fri, 26 Feb 2016 22:51:37 +0000 (23:51 +0100)]
blackystardust 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
silverdr [Fri, 26 Feb 2016 22:42:50 +0000 (23:42 +0100)]
Merge pull request #1 from cc65/master
sync
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
John Brandwood [Fri, 26 Feb 2016 16:10:11 +0000 (08:10 -0800)]
Add indirect JMP examples and fix typos in the documentation.
John Brandwood [Thu, 25 Feb 2016 20:40:31 +0000 (12:40 -0800)]
Add optional feature to use brackets instead of parens for 6502 indirect addressing.
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
mrdudz [Thu, 24 Dec 2015 23:59:22 +0000 (00:59 +0100)]
tweaked soft env
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:30:30 +0000 (00:30 -0800)]
Renamed MMU_CFG_INT_FROM -> MMU_CFG_IFROM and MMU_CFG_EXT_FROM -> MMU_CFG_EFROM
Marco van den Heuvel [Wed, 2 Dec 2015 08:21:55 +0000 (00:21 -0800)]
optimized the sei/cli pairing a bit.
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.
Marco van den Heuvel [Wed, 2 Dec 2015 08:14:56 +0000 (00:14 -0800)]
optimized the sei/cli pairing a bit.
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.
Oliver Schmidt [Tue, 1 Dec 2015 22:06:51 +0000 (23:06 +0100)]
Made conio program compatible with joystick-only target(s).
mrdudz [Tue, 1 Dec 2015 15:55:02 +0000 (16:55 +0100)]
fix comments
mrdudz [Tue, 1 Dec 2015 15:38:00 +0000 (16:38 +0100)]
fix grammar
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 [Tue, 1 Dec 2015 04:14:45 +0000 (20:14 -0800)]
Finished adding c128 internal/external function ram emd's.
mrdudz [Mon, 30 Nov 2015 18:48:10 +0000 (19:48 +0100)]
fix hello.c
mrdudz [Mon, 30 Nov 2015 18:16:28 +0000 (19:16 +0100)]
naive music test
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 17:53:30 +0000 (09:53 -0800)]
Started on making c128 function ram emd's.
mrdudz [Mon, 30 Nov 2015 17:49:52 +0000 (18:49 +0100)]
added black line :)
mrdudz [Mon, 30 Nov 2015 17:44:04 +0000 (18:44 +0100)]
fixed stuff according to Olivers review
Marco van den Heuvel [Mon, 30 Nov 2015 07:04:23 +0000 (23:04 -0800)]
Fixed the c128 ram (bank 1) emd.
mrdudz [Sun, 29 Nov 2015 21:00:59 +0000 (22:00 +0100)]
fix typo
mrdudz [Sun, 29 Nov 2015 20:15:28 +0000 (21:15 +0100)]
fix docs
mrdudz [Sun, 29 Nov 2015 20:15:10 +0000 (21:15 +0100)]
dont use that silly buffer
Marco van den Heuvel [Sun, 29 Nov 2015 19:35:25 +0000 (11:35 -0800)]
Removed an 'rts'.
mrdudz [Sun, 29 Nov 2015 19:04:10 +0000 (20:04 +0100)]
more cleanup
Marco van den Heuvel [Sun, 29 Nov 2015 18:50:22 +0000 (10:50 -0800)]
Changed according to suggestions.
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
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.
mrdudz [Sun, 29 Nov 2015 00:24:01 +0000 (01:24 +0100)]
updated
mrdudz [Sun, 29 Nov 2015 00:14:59 +0000 (01:14 +0100)]
conio and most other stuff working now
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
mrdudz [Sun, 22 Nov 2015 18:02:47 +0000 (19:02 +0100)]
some more fiddling
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.
mrdudz [Sat, 14 Nov 2015 12:15:29 +0000 (13:15 +0100)]
initial import of the gamate stuff
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.