1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-20 17:20:49 +00:00
Commit Graph

7476 Commits

Author SHA1 Message Date
Oliver Schmidt 855aceaba8 Added Apple II linker configs for programs including a hires screen.
The Apple II hires screen buffer is located at $2000 (and can't be moved). The usual way to get along with this is to load the cc65 program above the hires screen buffer at $4000. However, that means that it becomes difficult to make good use of the memory below the hires screen buffer. The simplest approach is to add that memory to the heap. But there are programs containing just lots of code and not much data. One could think of moving the code to the area below the hires screen after loading (like it is done with the code for the language card). But if the program is really large (and already contains code to be moved to the language card) it won't just fit into memory in the first place.

The alternative is to load the program at the usual $803 and have it "cover" the hires screen buffer. Of course the part of the program that actually "covers" the hires screen buffer mustn't contain anything necessary for the program. The downside of this approach is that the program file on disk contains 8kB that can't be used by the program. But instead of just containing zeros the program can as well contain a hires screen picture that can be displayed right after startup.

Now the user can have code loaded below the hires screen buffer by setting the code-name to LOWCODE. However, he needs to explicitly do so. Otherwise the memory below the hires screen is totally wasted.

Trivia: Allowing to do this hires screen buffer "covering" was the very reason to change tgi_init() to not clear the hires screen anymore.
2018-01-29 17:46:36 +01:00
Oliver Schmidt 374c7e815c Merge pull request #577 from polluks/master
Moved initcgetc to initcputc
2018-01-25 12:35:21 +00:00
Stefan caa40866c3 Moved initcgetc to initcputc 2018-01-23 13:02:47 +01:00
Oliver Schmidt 5cc1426346 Merge pull request #575 from groessler/something_to_pull
atari5200: put default display list into its own memory area
2018-01-22 15:03:58 +00:00
Christian Groessler 356c73f2cf atari5200.cfg: fix formatting 2018-01-21 15:42:12 +01:00
Christian Groessler 643152fb38 Fix last change, put display list at beginning of ROM. 2018-01-21 15:40:22 +01:00
Christian Groessler 2ef6514e47 atari5200: put default display list into its own memory area
This avoids 1K boundary crossing of the display list. Fix for issue #560.
2018-01-19 15:18:43 +01:00
Oliver Schmidt 811424cc1b Added recently published ProDOS version. 2018-01-18 12:37:21 +01:00
Oliver Schmidt ed3546d8b2 Merge pull request #574 from prandeamus/paravirt-fix
Call ParaVirtHooks on JMP (indirect)
2018-01-15 08:37:32 +00:00
prandeamus 1a95be9c3a 65C02 JMP (ind,x) opcode 7C 2018-01-14 19:42:29 +00:00
prandeamus 009f56afb6 65C02 version too. 2018-01-13 22:42:39 +00:00
prandeamus c23f264fe4 Call ParaVirtHooks on JMP (indirect) 2018-01-13 18:30:53 +00:00
Christian Groessler f0708db792 crt0.s ("none" target): fix initialization of sp variable. 2018-01-11 13:15:19 +01:00
Oliver Schmidt 9229bb1f3e Merge pull request #571 from greg-king5/win64
Change the type of a cc65 variable that holds both integers and pointers.
2018-01-10 12:48:28 +00:00
Oliver Schmidt 5a39dfd56c Merge pull request #570 from prandeamus/compiler-optimizer-check
Complain if unsupported flags are provided after -O
2018-01-10 12:21:09 +00:00
Greg King c67e90dd19 Changed the type of a compiler variable that holds either integers or pointers.
The change allows cc65 to be compiled on 64-bit Windows, without getting warnings.  That OS is actually 32 bits with 64-bit pointers.  Its pointers are "long long" instead of "long".  The change uses type-names that are configured for the actual pointer width.
2018-01-09 05:34:16 -05:00
Greg King da22c90d33 Shrank Telestrat initcwd.s by 3 bytes.
Changing when a loop test is done allowed the removal of an extra STA instruction.
2018-01-09 04:48:39 -05:00
prandeamus e7aabce8e9 Complain if unsupported flags are provided after -O 2018-01-07 18:57:48 +00:00
Oliver Schmidt 1ea5889a87 Merge pull request #564 from bauen1/none-library
Add none.lib
2018-01-05 11:05:30 +00:00
bauen1 94077404f9 Added ctype.s to none.lib as suggested by oliverschmidt 2018-01-05 10:39:23 +01:00
bauen1 aa34aed7dd Fixed unused import and export of none.cfg and none/crt0.s 2018-01-04 22:27:39 +01:00
bauen1 45482b4fb1 Fixed none/crt0.s to respect none.cfg 2018-01-04 22:14:01 +01:00
bauen1 cea8332084 Fixed none.cfg 2018-01-04 22:01:44 +01:00
bauen1 ef993f2fcf none.cfg consistency changes 2018-01-04 21:29:58 +01:00
bauen1 60c68b1111 cl65 now links against none.lib when using --target none 2018-01-04 17:11:44 +01:00
bauen1 4759d3956e Removed initialization of the stack from none.lib 2018-01-04 13:54:00 +01:00
bauen1 884dfcf3c1 Fixed none.lib missing symbols 2018-01-04 12:22:42 +01:00
bauen1 98b2b2544d Added crt0 to none.lib 2018-01-04 12:07:35 +01:00
bauen1 14909f12fe Implemented the requested changes.
Moved none to its alphabetic place in the Makefile
Reverted all changes to doc/customizing.sgml
2018-01-04 11:17:20 +01:00
bauen1 72bb32fcda Revert "Renamed none.lib to no-platform.lib"
This reverts commit 26350714ee.

It breaks the build
2018-01-02 15:32:27 +01:00
bauen1 26350714ee Renamed none.lib to no-platform.lib 2018-01-02 15:15:27 +01:00
Oliver Schmidt 040134e775 Fixed typo. 2018-01-02 13:48:30 +01:00
Oliver Schmidt d348d82d5a Merge pull request #561 from mrdudz/soft80peek
C64 soft80 cpeek stuff
2018-01-01 16:13:04 +00:00
mrdudz 4abe12c729 fix spelling 2018-01-01 14:01:25 +01:00
bauen1 d9ba279e89 Fixed a typo in doc/customizing.sqml 2018-01-01 01:34:53 +01:00
bauen1 b08839cac4 Added libray to none target 2017-12-31 16:15:27 +01:00
Oliver Schmidt fc5bf3f5e8 Merge pull request #562 from groessler/something_to_pull
Implementation of getfirstdevice/getnextdevice for Atari.
2017-12-29 12:39:06 +00:00
mrdudz 783408080c convert to petscii 2017-12-28 17:52:27 +01:00
Christian Groessler 30c6018887 Implementation of getfirstdevice/getnextdevice for Atari. 2017-12-28 04:54:18 +01:00
mrdudz f207a60365 some cleanup 2017-12-28 02:26:23 +01:00
mrdudz 142ba12634 updated testprog 2017-12-28 01:58:58 +01:00
mrdudz 0543ecabe2 added peek functions for soft80 2017-12-28 01:58:03 +01:00
Oliver Schmidt 9a8b7d9a23 Merge pull request #557 from polluks/master
Optimizing the stack size
2017-12-19 11:51:18 +00:00
greg-king5 c8dd88efad Added missing "break;" statements to a "switch" statement. 2017-12-18 17:09:06 -05:00
Stefan 98e2b79ef4 Optimizing the stack size 2017-12-18 19:19:59 +01:00
Stefan 2fde8d35c2 Merge pull request #4 from cc65/master
Update
2017-12-18 11:21:00 +01:00
Oliver Schmidt f5a2c52f80 Merge pull request #554 from polluks/patch-3
oops #550 again
2017-12-18 09:40:45 +00:00
Stefan 6497da262a oops
I made a mistake.
2017-12-17 18:45:57 +01:00
Oliver Schmidt bbbd4e4742 Merge pull request #553 from polluks/patch-1
Fixed memory config #551
2017-12-16 18:29:27 +00:00
Oliver Schmidt fb193933cb Merge pull request #552 from polluks/master
Added Oric-1 compatibility #550
2017-12-16 18:26:34 +00:00