1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00
Commit Graph

7085 Commits

Author SHA1 Message Date
polluks
804f1fded6 Fixed typos. 2016-01-05 15:38:05 +01:00
Oliver Schmidt
d34edf8b1f 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.
2016-01-02 13:55:42 +01:00
Greg King
e050655757 Added a cc65 regression test for pointer and offset addition operations. 2016-01-01 11:39:55 -05:00
Greg King
7e14dde07b 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.
2015-12-31 17:41:48 -05:00
Oliver Schmidt
104f898260 Merge pull request #253 from greg-king5/pointer-compares
Make cc65 accept comparisons between pointers with different qualifiers.
2015-12-29 12:11:33 +01:00
Greg King
3b303396bf Made cc65 accept comparisons between pointers with different qualifiers (similarly to subtractions between pointers). 2015-12-29 04:18:17 -05:00
Oliver Schmidt
02e4b5bfe3 Merge pull request #249 from polluks/master
My first PR
2015-12-27 13:40:20 +01:00
polluks
a8a6e9df5b Added chrcvt documentation 2015-12-27 02:09:12 +01:00
polluks
11786b198e Amiga support #192 2015-12-27 01:26:28 +01:00
mrdudz
5d3e7eeae3 tweaked soft env 2015-12-25 00:59:22 +01:00
Oliver Schmidt
51bcf28a87 Update package index (as recommended by Travis CI). 2015-12-16 12:24:47 +01:00
Oliver Schmidt
8a2ba97c60 Merge pull request #248 from greg-king5/nes-registers
Remove a const qualifier from <nes.h>.
2015-12-16 10:40:41 +01:00
Greg King
abfc36ec9c Programs need to reset NES input controllers by writing to them. 2015-12-15 11:26:04 -05:00
Oliver Schmidt
82860423f3 Merge pull request #247 from clbr/master
nes: Fix reading the second controller
2015-12-15 16:01:54 +01:00
Lauri Kasanen
a954e713ad nes: Fix reading the second controller
See
http://wiki.nesdev.com/w/index.php/Controller_port_registers
2015-12-14 19:28:53 +02:00
Oliver Schmidt
a7793bcf65 Merge pull request #246 from greg-king5/shift-signed-char
Fix a signed char right-shift compiler optimization.
2015-12-14 18:25:57 +01:00
Greg King
bdbf75372c Added another op-code to the test pattern for a right-shift optimizer in cc65. 2015-12-14 11:50:43 -05:00
Greg King
5e7c7d78fc Added a regression test program for the changes in the right-shift optimizer. 2015-12-14 11:46:30 -05:00
Greg King
651b1b40ec Extended a signed char shift optimization, to handle shifts that are longer than 4 bits. 2015-12-13 17:10:31 -05:00
Greg King
4716083f3f 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.)
2015-12-13 17:04:43 -05:00
Oliver Schmidt
377f31d085 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.
2015-12-02 21:34:08 +01:00
Oliver Schmidt
d403c1e7f0 Merge pull request #240 from blackystardust/fix-c128-ram-rts
Fixed the c128 bank 1 emd.
2015-12-02 10:40:06 +01:00
Marco van den Heuvel
433eeb1bc7 Renamed MMU_CFG_INT_FROM -> MMU_CFG_IFROM and MMU_CFG_EXT_FROM -> MMU_CFG_EFROM 2015-12-02 00:30:30 -08:00
Marco van den Heuvel
7cd80e7450 optimized the sei/cli pairing a bit. 2015-12-02 00:21:55 -08:00
Marco van den Heuvel
f55505820a optimized the sei/cli pairing a bit for internal function ram emd as well. 2015-12-02 00:17:29 -08:00
Marco van den Heuvel
83c63a65c3 optimized the sei/cli pairing a bit. 2015-12-02 00:14:56 -08:00
mrdudz
8a499fdf4e fixup conio.c some more. also includes merge of upstream/master because git is retarded. 2015-12-02 00:13:32 +01:00
Oliver Schmidt
22f10b1459 Made conio program compatible with joystick-only target(s). 2015-12-01 23:06:51 +01:00
mrdudz
7de50b17c7 fix comments 2015-12-01 16:55:02 +01:00
mrdudz
d86397fd7d fix grammar 2015-12-01 16:38:00 +01:00
Oliver Schmidt
bdf4a7bd89 Merge pull request #237 from blackystardust/master
Added a menu to em-test.c and a struct that holds the available emd's…
2015-12-01 16:18:31 +01:00
Marco van den Heuvel
2e2f19ba79 Finished adding c128 internal/external function ram emd's. 2015-11-30 20:14:45 -08:00
mrdudz
5bf8523dcd fix hello.c 2015-11-30 19:48:10 +01:00
mrdudz
b851be1b23 naive music test 2015-11-30 19:16:28 +01:00
Marco van den Heuvel
3a01ba9509 Fixed emd driver names for atari-xl and apple2e. 2015-11-30 10:15:28 -08:00
Marco van den Heuvel
7df35cac94 Started on making c128 function ram emd's. 2015-11-30 09:53:30 -08:00
mrdudz
a95c95a5d3 added black line :) 2015-11-30 18:49:52 +01:00
mrdudz
7496e669be fixed stuff according to Olivers review 2015-11-30 18:44:04 +01:00
Marco van den Heuvel
18208f4d2e Fixed the c128 ram (bank 1) emd. 2015-11-29 23:04:23 -08:00
mrdudz
3bc1375c90 fix typo 2015-11-29 22:00:59 +01:00
mrdudz
aff2d95cb9 fix docs 2015-11-29 21:15:28 +01:00
mrdudz
4d1dc55138 dont use that silly buffer 2015-11-29 21:15:10 +01:00
Marco van den Heuvel
cf9e7856cf Removed an 'rts'. 2015-11-29 11:35:25 -08:00
mrdudz
b39a8b7a61 more cleanup 2015-11-29 20:04:10 +01:00
Marco van den Heuvel
97c9ed3273 Changed according to suggestions. 2015-11-29 10:50:22 -08:00
mrdudz
c636675521 moved cart header into seperate file, moved nmi stub into several file, tweaked linker config 2015-11-29 16:01:36 +01:00
Marco van den Heuvel
25ab2c60d5 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. 2015-11-28 22:06:32 -08:00
mrdudz
1893e24da9 updated 2015-11-29 01:24:01 +01:00
mrdudz
9fbf8a4299 conio and most other stuff working now 2015-11-29 01:14:59 +01:00
Oliver Schmidt
d99451ca50 Merge pull request #236 from fo-fo/master
Escaping of spaces in ca65 dependency files
2015-11-26 20:19:14 +01:00