1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 20:29:34 +00:00
Commit Graph

5835 Commits

Author SHA1 Message Date
Christian Groessler
bf3a23c34c Rename 'syschk' symbol in the linker config file, which forces inclusion
of the 'system check' load chunki, to '__SYSTEM_CHECK__'.
2013-10-18 03:08:15 +02:00
Oliver Schmidt
648e6d79f1 Merge pull request #54 from groessler/something_to_pull
some cleanups for 'atarixl'
2013-10-16 12:56:46 -07:00
Christian Groessler
90bac9d38c rename LOWDATA segment to LOWBSS 2013-10-16 18:20:57 +02:00
Christian Groessler
3ef1ef3357 comment and formatting fixes 2013-10-16 18:20:48 +02:00
Oliver Schmidt
f3d74cd166 Added optimizer fix originating from Ullrich von Bassewitz prepared by Greg King. 2013-10-09 21:56:05 +02:00
Oliver Schmidt
c22c6f28ff Removed option from usage.
The option in question was removed with 37c492b544
2013-10-09 11:33:53 +02:00
Oliver Schmidt
f488f7576c Applied fix contributed by Greg King.
The code
  void foo(void)
  {
    int i;
    long l = 1L * i;
  }
triggered an
  Internal compiler error:
  Code generation messed up: StackPtr is -4, should be -2

Greg King: "We are lucky that the bug is simple -- a missing "else".  The result is that the compiler thinks that it does the opposite of what it actually does:  It thinks that it pushes the non-constant expression onto the stack. It doesn't; so, cc65's stack pointer is wrong."
2013-10-08 23:04:41 +02:00
Oliver Schmidt
38719211bd Merge pull request #51 from groessler/something_to_pull
small optimization
2013-10-04 04:15:56 -07:00
Christian Groessler
e3b9e9a76e small optimization 2013-10-04 12:41:08 +02:00
Oliver Schmidt
3e2e41a63f Merge pull request #50 from groessler/something_to_pull
Add "system check" load chunk to regular (non-XL) Atari target.
2013-10-04 02:43:48 -07:00
Christian Groessler
1077a2876e Lower the default Atari start adress from $2E00 to $2000. With
the startup memory check of the "system check" load chunk this
should be fine
2013-10-04 01:04:06 +02:00
Christian Groessler
700fd4f187 Enable "system check" load chunk for non-XL Atari target. 2013-10-04 00:54:24 +02:00
Oliver Schmidt
be82b141c7 Merge pull request #49 from groessler/something_to_pull
Atari XL: use all available memory below the ROM
2013-10-03 05:35:55 -07:00
Christian Groessler
73d38b0ff2 Fix typo in last change. 2013-10-03 14:15:39 +02:00
Christian Groessler
417110d341 Use all available memory below the ROM. 2013-10-03 14:13:13 +02:00
Oliver Schmidt
b727c075e9 Merge pull request #48 from efornara/time_fix
fixed timep handling in time()
2013-10-02 14:50:02 -07:00
Emanuele Fornara
35388418fd fixed timep handling in time() 2013-10-02 20:55:01 +01:00
Oliver Schmidt
2c19ec4753 Merge pull request #45 from groessler/something_to_pull
Atari XL target
2013-10-01 12:02:02 -07:00
Christian Groessler
7fb0cf4bb2 Some formatting and style fixes. 2013-10-01 11:36:37 +02:00
Christian Groessler
213f93cce4 disable DEBUG 2013-09-27 22:14:26 +02:00
Christian Groessler
39a98f250b untabify 2013-09-27 22:01:54 +02:00
Christian Groessler
c88e0818b4 Leave the character generator at $E000 like atarixl.cfg does. 2013-09-27 21:50:17 +02:00
Christian Groessler
d67d19211c Merge remote-tracking branch 'upstream/master' 2013-09-25 22:19:57 +02:00
Oliver Schmidt
227ed9bdcd Merge pull request #44 from greg-king5/archiver
Hide an unneeded ar65 status message.
2013-09-23 15:16:11 -07:00
Greg King
82299f3caa Made the archiver announce a library's creation only if it is being verbose. 2013-09-23 16:10:12 -04:00
Christian Groessler
34e75afec3 adapt to CHARGEN_RELOC 2013-09-20 18:09:53 +02:00
Christian Groessler
722dbaa1aa Add comment describing the need to have the runtime library compiled
with CHARGEN_RELOC enabled.
2013-09-20 18:09:16 +02:00
Christian Groessler
aa2167926a move CHARGEN_RELOC enabling to Makefile.inc 2013-09-20 00:26:49 +02:00
Christian Groessler
37ed72bc89 cleanup and document CHARGEN_RELOC change 2013-09-20 00:10:34 +02:00
Christian Groessler
fe75788015 add CHARGEN_RELOC knob to conditionally include the code to change CHBASE 2013-09-19 23:34:45 +02:00
Christian Groessler
60e97f4d96 move macros to enable and disable the ROM into a separate include file 2013-09-19 23:21:09 +02:00
Christian Groessler
47a6390753 adjust some variable names 2013-09-19 22:40:20 +02:00
Christian Groessler
0a7cb64d2e Use '.ifdef' and '.ifndef' instead of '.if .defined' and '.if .not .defined'. 2013-09-19 22:36:22 +02:00
Christian Groessler
ae53413c5c Merge remote-tracking branch 'upstream/master' 2013-09-18 17:11:26 +02:00
Oliver Schmidt
3c8ec18f2e Merge pull request #43 from groessler/something_to_pull
override _sys() function for Atari targets
2013-09-18 07:42:00 -07:00
Christian Groessler
2e10a55b51 use '.ifndef' instead of '.if .not .defined' 2013-09-18 16:36:24 +02:00
Christian Groessler
c210dfcb94 use '.ifndef' instead of '.if .not .defined' 2013-09-18 16:36:03 +02:00
Christian Groessler
ff18dcaa16 override _sys() function for Atari targets 2013-09-18 15:35:55 +02:00
Christian Groessler
2de7535c0e Merge remote-tracking branch 'upstream/master' 2013-09-18 15:34:57 +02:00
Oliver Schmidt
acc1c1ed87 Merge pull request #42 from groessler/something_to_pull
Testprogram for _sys() on Atari; some atari.h changes
2013-09-18 06:23:25 -07:00
Christian Groessler
7c0b049ef7 some cosmetic cleanups 2013-09-18 01:27:44 +02:00
Christian Groessler
b713706304 Get rid of SAVEAREA segment: fold it into LOWDATA. 2013-09-18 00:48:01 +02:00
Christian Groessler
d0c41ecee9 Default atatixl.cfg file now leaves the character generator at $E000.
This reduces the potential to flicker, but creates two separate
memory areas in the high memory.
For applications which require a large continuous memory space in
high memory, atarixl-largehimem.cfg is provided. With high IRQ
activity or DL interrupt there might be flicker.
2013-09-18 00:38:29 +02:00
Christian Groessler
42835d91b8 remove __RESERVED_MEMORY__: not supported on atarixl 2013-09-18 00:28:48 +02:00
Christian Groessler
de639fdf6a introduce SHADOW_RAM2 2013-09-18 00:27:45 +02:00
Christian Groessler
678ffbdd4d add support for SHADOW_RAM2 segment 2013-09-18 00:25:18 +02:00
Christian Groessler
3df94fba92 introduce SHADOW_RAM2 2013-09-18 00:17:45 +02:00
Christian Groessler
f679c9703c consider __STACKSIZE__ when initializing sp for atarixl 2013-09-17 23:03:33 +02:00
Christian Groessler
367bd368c0 override _sys() function for Atari targets 2013-09-17 22:52:18 +02:00
Christian Groessler
c6e6baab7d add testprogram for _sys() function on Atari 2013-09-17 22:35:29 +02:00