]> git.sur5r.net Git - cc65/log
cc65
10 years agoAtari: initial support to create cassette bootable programs -- unfinished
Christian Groessler [Thu, 2 Jan 2014 18:28:22 +0000 (19:28 +0100)]
Atari: initial support to create cassette bootable programs -- unfinished

10 years agoMerge pull request #67 from greg-king5/echo
Oliver Schmidt [Thu, 26 Dec 2013 14:54:42 +0000 (06:54 -0800)]
Merge pull request #67 from greg-king5/echo

CBM stdin Console RETURN-key Echo

10 years agoMerge pull request #68 from greg-king5/line
Oliver Schmidt [Thu, 26 Dec 2013 14:53:52 +0000 (06:53 -0800)]
Merge pull request #68 from greg-king5/line

Add a stdin console to the Atmos target.

10 years agoReset the stdin console when a program starts. 68/head
Greg King [Tue, 24 Dec 2013 20:26:05 +0000 (15:26 -0500)]
Reset the stdin console when a program starts.

10 years agoMoved the command-line arguments out of BASIC's input buffer.
Greg King [Tue, 24 Dec 2013 18:56:19 +0000 (13:56 -0500)]
Moved the command-line arguments out of BASIC's input buffer.

The stdin console re-uses that buffer.

10 years agoAdded a simplistic read() that gives a stdin console on the Atmos.
Greg King [Tue, 24 Dec 2013 10:18:04 +0000 (05:18 -0500)]
Added a simplistic read() that gives a stdin console on the Atmos.

10 years agoAvoided a reload by using a second register. 67/head
Greg King [Mon, 23 Dec 2013 17:20:28 +0000 (12:20 -0500)]
Avoided a reload by using a second register.

10 years agoMade the CBM stdin consoles echo '\n' to the screen.
Greg King [Mon, 23 Dec 2013 16:48:58 +0000 (11:48 -0500)]
Made the CBM stdin consoles echo '\n' to the screen.

That fix makes Commodore platforms be consistent with other platforms' consoles.

10 years agoMoved USER_CFLAGS to the other flags.
Oliver Schmidt [Thu, 19 Dec 2013 08:17:41 +0000 (09:17 +0100)]
Moved USER_CFLAGS to the other flags.

10 years agoMerge pull request #66 from groessler/something_to_pull
Oliver Schmidt [Thu, 19 Dec 2013 08:15:12 +0000 (00:15 -0800)]
Merge pull request #66 from groessler/something_to_pull

New src/Makefile variables: USER_CFLAGS and PROGEXT

10 years ago- Add a way to give additional compiler flags with USER_CFLAGS. 66/head
Christian Groessler [Wed, 18 Dec 2013 20:54:14 +0000 (21:54 +0100)]
- Add a way to give additional compiler flags with USER_CFLAGS.
- Add possibility to specify an file name extension for generated executables (PROGEXT).

10 years agoHave %I yield values [1..12] instead of [0..11].
Oliver Schmidt [Mon, 9 Dec 2013 18:53:27 +0000 (19:53 +0100)]
Have %I yield values [1..12] instead of [0..11].

10 years agoMerge pull request #64 from groessler/something_to_pull
Oliver Schmidt [Sat, 7 Dec 2013 15:36:22 +0000 (07:36 -0800)]
Merge pull request #64 from groessler/something_to_pull

Serial driver for Atari

10 years agosmall optimzation (found by Greg King) 64/head
Christian Groessler [Sat, 7 Dec 2013 00:24:05 +0000 (01:24 +0100)]
small optimzation (found by Greg King)

10 years agoremove old (static) serial driver boilerplate
Christian Groessler [Fri, 6 Dec 2013 20:16:10 +0000 (21:16 +0100)]
remove old (static) serial driver boilerplate

10 years agoremove debug code
Christian Groessler [Fri, 6 Dec 2013 19:49:57 +0000 (20:49 +0100)]
remove debug code

10 years agoadd serial driver for Atari, still contains much debug code
Christian Groessler [Fri, 6 Dec 2013 19:15:12 +0000 (20:15 +0100)]
add serial driver for Atari, still contains much debug code

10 years agoadd SER_BAUD_56_875
Christian Groessler [Fri, 6 Dec 2013 19:13:55 +0000 (20:13 +0100)]
add SER_BAUD_56_875

10 years agoadd SER_ERR_NOT_OPEN status code
Christian Groessler [Fri, 6 Dec 2013 19:10:27 +0000 (20:10 +0100)]
add SER_ERR_NOT_OPEN status code

10 years agoRevert "Added basic frame for new target 'creativision'."
Oliver Schmidt [Thu, 5 Dec 2013 20:45:20 +0000 (21:45 +0100)]
Revert "Added basic frame for new target 'creativision'."

This reverts commit 8e6b8dd0afed52c1963ea29c4921157693463cbe.

10 years agoMerge pull request #61 from greg-king5/make
Oliver Schmidt [Sat, 30 Nov 2013 21:02:36 +0000 (13:02 -0800)]
Merge pull request #61 from greg-king5/make

Consistent makefile progress report

10 years agoMerge pull request #62 from greg-king5/ubiquitous
Oliver Schmidt [Sat, 30 Nov 2013 20:53:51 +0000 (12:53 -0800)]
Merge pull request #62 from greg-king5/ubiquitous

Ubiquitous

10 years agoMerged branch "master" into make. 61/head
Greg King [Sat, 30 Nov 2013 17:44:47 +0000 (12:44 -0500)]
Merged branch "master" into make.

10 years agoMerged branch "master" into ubiquitous. 62/head
Greg King [Sat, 30 Nov 2013 17:38:47 +0000 (12:38 -0500)]
Merged branch "master" into ubiquitous.

10 years agoAdded a top border to a file's header comment.
Greg King [Sat, 30 Nov 2013 13:30:42 +0000 (08:30 -0500)]
Added a top border to a file's header comment.

10 years agoRemoved a now-redundant line.
Greg King [Sat, 30 Nov 2013 13:24:58 +0000 (08:24 -0500)]
Removed a now-redundant line.

10 years agoFixed ca65's "ubiquitous_idents" feature.
Greg King [Sat, 30 Nov 2013 13:20:36 +0000 (08:20 -0500)]
Fixed ca65's "ubiquitous_idents" feature.

Before the fix, that feature couldn't recognize a standard op-code mnemonic, that wasn't replaced by a macro, if it was on a line without a label.

This patch was written by Jeremy Turner.

11 years agoAdded basic frame for new target 'creativision'.
Oliver Schmidt [Mon, 25 Nov 2013 21:52:04 +0000 (22:52 +0100)]
Added basic frame for new target 'creativision'.

Kym Greenshields <kym.greenshields@gmail.com> has expressed interest
in contributing and maintaining support for the VTech CreatiVision system.

11 years agoMade a makefile show its progress consistently, by listing only the source file names.
Greg King [Mon, 25 Nov 2013 00:12:27 +0000 (19:12 -0500)]
Made a makefile show its progress consistently, by listing only the source file names.

That change avoids the confusion of seeing some names shown twice.

11 years agoMerge pull request #58 from groessler/something_to_pull
Oliver Schmidt [Fri, 18 Oct 2013 21:26:23 +0000 (14:26 -0700)]
Merge pull request #58 from groessler/something_to_pull

another small atarixl change

11 years agoForce inclusion of 'shadow RAM preparation' load chunk in crt0.s and 58/head
Christian Groessler [Fri, 18 Oct 2013 20:07:05 +0000 (22:07 +0200)]
Force inclusion of 'shadow RAM preparation' load chunk in crt0.s and
not in the linker config file.

11 years agoMerge pull request #56 from groessler/something_to_pull
Oliver Schmidt [Fri, 18 Oct 2013 13:51:53 +0000 (06:51 -0700)]
Merge pull request #56 from groessler/something_to_pull

atari-asm.cfg

11 years agoPut EXE header and main chunk load header into a single file -- 56/head
Christian Groessler [Fri, 18 Oct 2013 12:53:06 +0000 (14:53 +0200)]
Put EXE header and main chunk load header into a single file --
it makes no sense to be able to include/exclude them separately.

11 years agoatari-asm.cfg linker config file
Christian Groessler [Fri, 18 Oct 2013 01:07:01 +0000 (03:07 +0200)]
atari-asm.cfg linker config file

11 years agoRename 'syschk' symbol in the linker config file, which forces inclusion
Christian Groessler [Thu, 17 Oct 2013 23:36:44 +0000 (01:36 +0200)]
Rename 'syschk' symbol in the linker config file, which forces inclusion
of the 'system check' load chunki, to '__SYSTEM_CHECK__'.

11 years agoMerge pull request #54 from groessler/something_to_pull
Oliver Schmidt [Wed, 16 Oct 2013 19:56:46 +0000 (12:56 -0700)]
Merge pull request #54 from groessler/something_to_pull

some cleanups for 'atarixl'

11 years agorename LOWDATA segment to LOWBSS 54/head
Christian Groessler [Wed, 16 Oct 2013 16:15:17 +0000 (18:15 +0200)]
rename LOWDATA segment to LOWBSS

11 years agocomment and formatting fixes
Christian Groessler [Wed, 16 Oct 2013 15:55:45 +0000 (17:55 +0200)]
comment and formatting fixes

11 years agoAdded optimizer fix originating from Ullrich von Bassewitz prepared by Greg King.
Oliver Schmidt [Wed, 9 Oct 2013 19:55:44 +0000 (21:55 +0200)]
Added optimizer fix originating from Ullrich von Bassewitz prepared by Greg King.

11 years agoRemoved option from usage.
Oliver Schmidt [Wed, 9 Oct 2013 09:33:53 +0000 (11:33 +0200)]
Removed option from usage.

The option in question was removed with https://github.com/oliverschmidt/cc65/commit/37c492b544dec2460fc2c16a3d66275cc0d4edc0

11 years agoApplied fix contributed by Greg King.
Oliver Schmidt [Tue, 8 Oct 2013 21:03:53 +0000 (23:03 +0200)]
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."

11 years agoMerge pull request #51 from groessler/something_to_pull
Oliver Schmidt [Fri, 4 Oct 2013 11:15:56 +0000 (04:15 -0700)]
Merge pull request #51 from groessler/something_to_pull

small optimization

11 years agosmall optimization 51/head
Christian Groessler [Fri, 4 Oct 2013 10:40:35 +0000 (12:40 +0200)]
small optimization

11 years agoMerge pull request #50 from groessler/something_to_pull
Oliver Schmidt [Fri, 4 Oct 2013 09:43:48 +0000 (02:43 -0700)]
Merge pull request #50 from groessler/something_to_pull

Add "system check" load chunk to regular (non-XL) Atari target.

11 years agoLower the default Atari start adress from $2E00 to $2000. With 50/head
Christian Groessler [Thu, 3 Oct 2013 23:02:35 +0000 (01:02 +0200)]
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

11 years agoEnable "system check" load chunk for non-XL Atari target.
Christian Groessler [Thu, 3 Oct 2013 22:53:34 +0000 (00:53 +0200)]
Enable "system check" load chunk for non-XL Atari target.

11 years agoMerge pull request #49 from groessler/something_to_pull
Oliver Schmidt [Thu, 3 Oct 2013 12:35:55 +0000 (05:35 -0700)]
Merge pull request #49 from groessler/something_to_pull

Atari XL: use all available memory below the ROM

11 years agoFix typo in last change. 49/head
Christian Groessler [Thu, 3 Oct 2013 12:15:39 +0000 (14:15 +0200)]
Fix typo in last change.

11 years agoUse all available memory below the ROM.
Christian Groessler [Thu, 3 Oct 2013 12:11:35 +0000 (14:11 +0200)]
Use all available memory below the ROM.

11 years agoMerge pull request #48 from efornara/time_fix
Oliver Schmidt [Wed, 2 Oct 2013 21:50:02 +0000 (14:50 -0700)]
Merge pull request #48 from efornara/time_fix

fixed timep handling in time()

11 years agofixed timep handling in time() 48/head
Emanuele Fornara [Wed, 2 Oct 2013 19:55:01 +0000 (20:55 +0100)]
fixed timep handling in time()

11 years agoMerge pull request #45 from groessler/something_to_pull
Oliver Schmidt [Tue, 1 Oct 2013 19:02:02 +0000 (12:02 -0700)]
Merge pull request #45 from groessler/something_to_pull

Atari XL target

11 years agoSome formatting and style fixes. 45/head
Christian Groessler [Tue, 1 Oct 2013 09:32:08 +0000 (11:32 +0200)]
Some formatting and style fixes.

11 years agodisable DEBUG
Christian Groessler [Fri, 27 Sep 2013 20:14:26 +0000 (22:14 +0200)]
disable DEBUG

11 years agountabify
Christian Groessler [Fri, 27 Sep 2013 20:01:54 +0000 (22:01 +0200)]
untabify

11 years agoLeave the character generator at $E000 like atarixl.cfg does.
Christian Groessler [Fri, 27 Sep 2013 19:49:45 +0000 (21:49 +0200)]
Leave the character generator at $E000 like atarixl.cfg does.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Wed, 25 Sep 2013 20:19:57 +0000 (22:19 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoMerge pull request #44 from greg-king5/archiver
Oliver Schmidt [Mon, 23 Sep 2013 22:16:11 +0000 (15:16 -0700)]
Merge pull request #44 from greg-king5/archiver

Hide an unneeded ar65 status message.

11 years agoMade the archiver announce a library's creation only if it is being verbose. 44/head
Greg King [Mon, 23 Sep 2013 20:10:12 +0000 (16:10 -0400)]
Made the archiver announce a library's creation only if it is being verbose.

11 years agoadapt to CHARGEN_RELOC
Christian Groessler [Fri, 20 Sep 2013 16:09:53 +0000 (18:09 +0200)]
adapt to CHARGEN_RELOC

11 years agoAdd comment describing the need to have the runtime library compiled
Christian Groessler [Fri, 20 Sep 2013 16:09:16 +0000 (18:09 +0200)]
Add comment describing the need to have the runtime library compiled
with CHARGEN_RELOC enabled.

11 years agomove CHARGEN_RELOC enabling to Makefile.inc
Christian Groessler [Thu, 19 Sep 2013 22:26:49 +0000 (00:26 +0200)]
move CHARGEN_RELOC enabling to Makefile.inc

11 years agocleanup and document CHARGEN_RELOC change
Christian Groessler [Thu, 19 Sep 2013 22:10:34 +0000 (00:10 +0200)]
cleanup and document CHARGEN_RELOC change

11 years agoadd CHARGEN_RELOC knob to conditionally include the code to change CHBASE
Christian Groessler [Thu, 19 Sep 2013 21:34:45 +0000 (23:34 +0200)]
add CHARGEN_RELOC knob to conditionally include the code to change CHBASE

11 years agomove macros to enable and disable the ROM into a separate include file
Christian Groessler [Thu, 19 Sep 2013 21:21:09 +0000 (23:21 +0200)]
move macros to enable and disable the ROM into a separate include file

11 years agoadjust some variable names
Christian Groessler [Thu, 19 Sep 2013 20:40:20 +0000 (22:40 +0200)]
adjust some variable names

11 years agoUse '.ifdef' and '.ifndef' instead of '.if .defined' and '.if .not .defined'.
Christian Groessler [Thu, 19 Sep 2013 20:36:22 +0000 (22:36 +0200)]
Use '.ifdef' and '.ifndef' instead of '.if .defined' and '.if .not .defined'.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Wed, 18 Sep 2013 15:11:26 +0000 (17:11 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoMerge pull request #43 from groessler/something_to_pull
Oliver Schmidt [Wed, 18 Sep 2013 14:42:00 +0000 (07:42 -0700)]
Merge pull request #43 from groessler/something_to_pull

override _sys() function for Atari targets

11 years agouse '.ifndef' instead of '.if .not .defined' 43/head
Christian Groessler [Wed, 18 Sep 2013 14:36:03 +0000 (16:36 +0200)]
use '.ifndef' instead of '.if .not .defined'

11 years agouse '.ifndef' instead of '.if .not .defined'
Christian Groessler [Wed, 18 Sep 2013 14:36:03 +0000 (16:36 +0200)]
use '.ifndef' instead of '.if .not .defined'

11 years agooverride _sys() function for Atari targets
Christian Groessler [Tue, 17 Sep 2013 20:52:18 +0000 (22:52 +0200)]
override _sys() function for Atari targets

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Wed, 18 Sep 2013 13:34:57 +0000 (15:34 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoMerge pull request #42 from groessler/something_to_pull
Oliver Schmidt [Wed, 18 Sep 2013 13:23:25 +0000 (06:23 -0700)]
Merge pull request #42 from groessler/something_to_pull

Testprogram for _sys() on Atari; some atari.h changes

11 years agosome cosmetic cleanups
Christian Groessler [Tue, 17 Sep 2013 23:27:44 +0000 (01:27 +0200)]
some cosmetic cleanups

11 years agoGet rid of SAVEAREA segment: fold it into LOWDATA.
Christian Groessler [Tue, 17 Sep 2013 22:48:01 +0000 (00:48 +0200)]
Get rid of SAVEAREA segment: fold it into LOWDATA.

11 years agoDefault atatixl.cfg file now leaves the character generator at $E000.
Christian Groessler [Tue, 17 Sep 2013 22:38:29 +0000 (00:38 +0200)]
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.

11 years agoremove __RESERVED_MEMORY__: not supported on atarixl
Christian Groessler [Tue, 17 Sep 2013 22:28:48 +0000 (00:28 +0200)]
remove __RESERVED_MEMORY__: not supported on atarixl

11 years agointroduce SHADOW_RAM2
Christian Groessler [Tue, 17 Sep 2013 22:27:45 +0000 (00:27 +0200)]
introduce SHADOW_RAM2

11 years agoadd support for SHADOW_RAM2 segment
Christian Groessler [Tue, 17 Sep 2013 22:25:18 +0000 (00:25 +0200)]
add support for SHADOW_RAM2 segment

11 years agointroduce SHADOW_RAM2
Christian Groessler [Tue, 17 Sep 2013 22:17:45 +0000 (00:17 +0200)]
introduce SHADOW_RAM2

11 years agoconsider __STACKSIZE__ when initializing sp for atarixl
Christian Groessler [Tue, 17 Sep 2013 21:03:33 +0000 (23:03 +0200)]
consider __STACKSIZE__ when initializing sp for atarixl

11 years agooverride _sys() function for Atari targets
Christian Groessler [Tue, 17 Sep 2013 20:52:18 +0000 (22:52 +0200)]
override _sys() function for Atari targets

11 years agoadd testprogram for _sys() function on Atari 42/head
Christian Groessler [Tue, 17 Sep 2013 20:33:48 +0000 (22:33 +0200)]
add testprogram for _sys() function on Atari

11 years agoadd IOCB command codes to atari.h
Christian Groessler [Tue, 17 Sep 2013 20:32:43 +0000 (22:32 +0200)]
add IOCB command codes to atari.h

11 years agoadd testprogram for _sys() function on Atari
Christian Groessler [Tue, 17 Sep 2013 20:33:48 +0000 (22:33 +0200)]
add testprogram for _sys() function on Atari

11 years agoadd IOCB command codes to atari.h
Christian Groessler [Tue, 17 Sep 2013 20:32:43 +0000 (22:32 +0200)]
add IOCB command codes to atari.h

11 years agomore atarixl linker cfg file cleanups; adapt atarixl-overlay.cfg
Christian Groessler [Fri, 13 Sep 2013 19:47:39 +0000 (21:47 +0200)]
more atarixl linker cfg file cleanups; adapt atarixl-overlay.cfg

11 years agoatarixl linker cfg file cleanups; set default load address to 400 for atarixl
Christian Groessler [Fri, 13 Sep 2013 18:29:24 +0000 (20:29 +0200)]
atarixl linker cfg file cleanups; set default load address to 400 for atarixl

11 years agoUse labels instead of segment load addresses to specify entry points
Christian Groessler [Fri, 13 Sep 2013 16:28:17 +0000 (18:28 +0200)]
Use labels instead of segment load addresses to specify entry points
in the EXE file.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Fri, 13 Sep 2013 14:15:11 +0000 (16:15 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoMerge pull request #41 from groessler/something_to_pull
Oliver Schmidt [Fri, 13 Sep 2013 14:13:32 +0000 (07:13 -0700)]
Merge pull request #41 from groessler/something_to_pull

Remove obsolete ZPSAVE segment.

11 years agoRemove obsolete ZPSAVE segment. 41/head
Christian Groessler [Fri, 13 Sep 2013 14:00:56 +0000 (16:00 +0200)]
Remove obsolete ZPSAVE segment.

11 years agoRemove obsolete ZPSAVE segment.
Christian Groessler [Fri, 13 Sep 2013 14:00:56 +0000 (16:00 +0200)]
Remove obsolete ZPSAVE segment.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Thu, 12 Sep 2013 11:24:35 +0000 (13:24 +0200)]
Merge remote-tracking branch 'upstream/master'

Conflicts:
testcode/lib/tinyshell.c

11 years agoMerge pull request #40 from groessler/something_to_pull2
Oliver Schmidt [Thu, 12 Sep 2013 11:13:43 +0000 (04:13 -0700)]
Merge pull request #40 from groessler/something_to_pull2

testcode/lib/tinyshell.c: add 'verbose' and 'cls' commands; add SP check

11 years agoMerge pull request #39 from groessler/something_to_pull
Oliver Schmidt [Thu, 12 Sep 2013 11:05:39 +0000 (04:05 -0700)]
Merge pull request #39 from groessler/something_to_pull

Fix strtoul 'endptr' return value: It should point to the first invalid character,

11 years agoFix last change: Stack check for all CC65 targets. Enable subdirectories on Apple 2. 40/head
Christian Groessler [Thu, 12 Sep 2013 11:04:55 +0000 (13:04 +0200)]
Fix last change: Stack check for all CC65 targets. Enable subdirectories on Apple 2.

11 years agoFix strtol 'endptr' return value. 39/head
Christian Groessler [Thu, 12 Sep 2013 10:38:20 +0000 (12:38 +0200)]
Fix strtol 'endptr' return value.

11 years agotestcode/lib/tinyshell.c: Enable SP check only for CC65
Christian Groessler [Thu, 12 Sep 2013 10:32:59 +0000 (12:32 +0200)]
testcode/lib/tinyshell.c: Enable SP check only for CC65
targets. Enable 'cls' command only for Atari. Enable subdirectory
commands only for Atari and non-CC65 targets.