]> git.sur5r.net Git - cc65/log
cc65
9 years agoSet default start address to 0x200
Stephan Mühlstrasser [Sat, 29 Nov 2014 19:56:49 +0000 (20:56 +0100)]
Set default start address to 0x200

9 years agoSet cursor in top left corner in clrscr()
Stephan Mühlstrasser [Sat, 29 Nov 2014 19:50:48 +0000 (20:50 +0100)]
Set cursor in top left corner in clrscr()
as documented in conio.h

9 years agoImplemented cursor functionality.
Stephan Mühlstrasser [Sat, 29 Nov 2014 19:07:30 +0000 (20:07 +0100)]
Implemented cursor functionality.

9 years agoAdded gotox() and gotoy() implementations.
Stephan Mühlstrasser [Sat, 29 Nov 2014 14:52:42 +0000 (15:52 +0100)]
Added gotox() and gotoy() implementations.

9 years agoMerge pull request #141 from mrdudz/testsuite
Oliver Schmidt [Thu, 27 Nov 2014 18:24:59 +0000 (19:24 +0100)]
Merge pull request #141 from mrdudz/testsuite

Testsuite

9 years agoMerge pull request #140 from peterferrie/master
Oliver Schmidt [Thu, 27 Nov 2014 17:49:01 +0000 (18:49 +0100)]
Merge pull request #140 from peterferrie/master

implement ProDOS seek

9 years agoscan sources just once 141/head
mrdudz [Wed, 26 Nov 2014 18:32:54 +0000 (19:32 +0100)]
scan sources just once

9 years agoUse CR instead of LF, because this works better over the serial port of a real C1P.
Stephan Mühlstrasser [Wed, 26 Nov 2014 18:01:15 +0000 (19:01 +0100)]
Use CR instead of LF, because this works better over the serial port of a real C1P.

9 years agoadded note on how to continue after failure, added missing limits.ref
mrdudz [Wed, 26 Nov 2014 13:22:22 +0000 (14:22 +0100)]
added note on how to continue after failure, added missing limits.ref

9 years agoactually use optimization switches
mrdudz [Wed, 26 Nov 2014 00:38:30 +0000 (01:38 +0100)]
actually use optimization switches

9 years agoremoved binaries and references from git ignore
mrdudz [Tue, 25 Nov 2014 13:16:39 +0000 (14:16 +0100)]
removed binaries and references from git ignore

9 years agouse testwrk for binaries, and generated reference data
mrdudz [Tue, 25 Nov 2014 12:47:31 +0000 (13:47 +0100)]
use testwrk for binaries, and generated reference data

9 years agouse 'testwrk' dir for bdiff
mrdudz [Tue, 25 Nov 2014 11:56:45 +0000 (12:56 +0100)]
use 'testwrk' dir for bdiff

9 years agouse own naive bdiff tool instead of diff/fc
mrdudz [Mon, 24 Nov 2014 19:57:58 +0000 (20:57 +0100)]
use own naive bdiff tool instead of diff/fc

9 years agoadded linefeeds
mrdudz [Mon, 24 Nov 2014 19:35:35 +0000 (20:35 +0100)]
added linefeeds

9 years agoassert parm count 140/head
peterferrie [Mon, 24 Nov 2014 18:07:16 +0000 (10:07 -0800)]
assert parm count

9 years agoCompleted the coding of da65's SEGMENT feature.
Greg King [Sun, 23 Nov 2014 20:29:16 +0000 (15:29 -0500)]
Completed the coding of da65's SEGMENT feature.

Before this commit, we could define segment ranges; but, the disassembler wouldn't do anything with those definitions.  Now, da65 will put ".segment" directives into its output.

Fixed da65's document.

9 years agoDefault is now automatic execution of program after loading
Stephan Mühlstrasser [Sun, 23 Nov 2014 19:05:38 +0000 (20:05 +0100)]
Default is now automatic execution of program after loading

9 years agoFix help text for default start address
Stephan Mühlstrasser [Sun, 23 Nov 2014 18:44:45 +0000 (19:44 +0100)]
Fix help text for default start address

9 years agoClarify help for -o option
Stephan Mühlstrasser [Sun, 23 Nov 2014 18:43:24 +0000 (19:43 +0100)]
Clarify help for -o option

9 years agoCopied wherex, wherey and ctype implementations from CBM
Stephan Mühlstrasser [Sun, 23 Nov 2014 14:56:38 +0000 (15:56 +0100)]
Copied wherex, wherey and ctype implementations from CBM

9 years agoEnhancements for cursor calculation
Stephan Mühlstrasser [Sun, 23 Nov 2014 14:32:48 +0000 (15:32 +0100)]
Enhancements for cursor calculation

Fix handling of newlines.
Wrap around to top of screen when newline occurs
in last line.
Initialize screen width in crt0.s.

9 years agoremoved common.h reference
mrdudz [Sun, 23 Nov 2014 11:50:47 +0000 (12:50 +0100)]
removed common.h reference

9 years agochecked tests in /val
mrdudz [Sun, 23 Nov 2014 11:31:47 +0000 (12:31 +0100)]
checked tests in /val

9 years agoadded some windows/cmd.exe stuff
mrdudz [Sun, 23 Nov 2014 11:18:19 +0000 (12:18 +0100)]
added some windows/cmd.exe stuff

9 years agomakefile for misc, endless.c
mrdudz [Sat, 22 Nov 2014 21:22:30 +0000 (22:22 +0100)]
makefile for misc, endless.c

9 years agoadded readme
mrdudz [Sat, 22 Nov 2014 20:29:26 +0000 (21:29 +0100)]
added readme

9 years agoadded todo
mrdudz [Sat, 22 Nov 2014 18:50:30 +0000 (19:50 +0100)]
added todo

9 years agogenerate reference output using host compiler, compare using diff, fix yacc input...
mrdudz [Sat, 22 Nov 2014 18:45:40 +0000 (19:45 +0100)]
generate reference output using host compiler, compare using diff, fix yacc input file to work on both host and sim65

9 years agomoved tests that need special care into misc dir
mrdudz [Sat, 22 Nov 2014 18:42:39 +0000 (19:42 +0100)]
moved tests that need special care into misc dir

9 years agofixed up the rest of the tests, added rudimentary makefile(s)
mrdudz [Sat, 22 Nov 2014 17:28:05 +0000 (18:28 +0100)]
fixed up the rest of the tests, added rudimentary makefile(s)

9 years agoRemove unnecessary commented code.
Stephan Mühlstrasser [Sat, 22 Nov 2014 17:14:52 +0000 (18:14 +0100)]
Remove unnecessary commented code.

9 years agoadded makefile and common include
mrdudz [Sat, 22 Nov 2014 16:02:46 +0000 (17:02 +0100)]
added makefile and common include

9 years agoadded makefile and common include
mrdudz [Sat, 22 Nov 2014 15:59:31 +0000 (16:59 +0100)]
added makefile and common include

9 years agoinclude s26 to get bitsize of char
mrdudz [Sat, 22 Nov 2014 15:45:23 +0000 (16:45 +0100)]
include s26 to get bitsize of char

9 years agositest can not work
mrdudz [Sat, 22 Nov 2014 15:44:48 +0000 (16:44 +0100)]
sitest can not work

9 years agocleanup
mrdudz [Sat, 22 Nov 2014 14:30:07 +0000 (15:30 +0100)]
cleanup

9 years agoSwitch to assembler for cputc implementation.
Stephan Mühlstrasser [Sat, 22 Nov 2014 00:07:55 +0000 (01:07 +0100)]
Switch to assembler for cputc implementation.

9 years agoimplement ProDOS seek
peterferrie [Sat, 22 Nov 2014 00:04:11 +0000 (16:04 -0800)]
implement ProDOS seek

9 years agoMerge pull request #139 from mrdudz/addundocs
Oliver Schmidt [Thu, 20 Nov 2014 13:55:07 +0000 (14:55 +0100)]
Merge pull request #139 from mrdudz/addundocs

Add missing undocs

9 years agochanged return code to -99 139/head
mrdudz [Thu, 20 Nov 2014 13:49:35 +0000 (14:49 +0100)]
changed return code to -99

9 years agoadd LF
mrdudz [Thu, 20 Nov 2014 12:16:04 +0000 (13:16 +0100)]
add LF

9 years agoactually make TAS work :)
mrdudz [Thu, 20 Nov 2014 01:47:33 +0000 (02:47 +0100)]
actually make TAS work :)

9 years agouses TAS instead of SHS like da65 did
mrdudz [Thu, 20 Nov 2014 00:31:39 +0000 (01:31 +0100)]
uses TAS instead of SHS like da65 did

9 years agoadded support for LAX#imm, all done
mrdudz [Wed, 19 Nov 2014 23:18:12 +0000 (00:18 +0100)]
added support for LAX#imm, all done

9 years agoadded support for undocumented NOPs
mrdudz [Wed, 19 Nov 2014 22:20:46 +0000 (23:20 +0100)]
added support for undocumented NOPs

9 years agorenamed KIL to the more common JAM, which is also accepted by ca65
mrdudz [Wed, 19 Nov 2014 21:54:33 +0000 (22:54 +0100)]
renamed KIL to the more common JAM, which is also accepted by ca65

9 years agoadded support for ane, sha, shs, shy, shx
mrdudz [Wed, 19 Nov 2014 21:34:33 +0000 (22:34 +0100)]
added support for ane, sha, shs, shy, shx

9 years agostarting branch for adding the missing undocumented opcodes
mrdudz [Wed, 19 Nov 2014 21:04:32 +0000 (22:04 +0100)]
starting branch for adding the missing undocumented opcodes

9 years agoMerge remote-tracking branch 'upstream/master'
mrdudz [Wed, 19 Nov 2014 14:44:14 +0000 (15:44 +0100)]
Merge remote-tracking branch 'upstream/master'

9 years agoStarted cputc and related functions implementation.
Stephan Mühlstrasser [Tue, 18 Nov 2014 22:06:28 +0000 (23:06 +0100)]
Started cputc and related functions implementation.

9 years agoImplement macros that shortcut color function calls.
Stephan Mühlstrasser [Tue, 18 Nov 2014 22:05:50 +0000 (23:05 +0100)]
Implement macros that shortcut color function calls.

9 years agoAdapt to assembler coding conventions.
Stephan Mühlstrasser [Sun, 16 Nov 2014 20:57:59 +0000 (21:57 +0100)]
Adapt to assembler coding conventions.

9 years agoDirect use of monitor function instead of subroutine call.
Stephan Mühlstrasser [Sun, 16 Nov 2014 20:13:18 +0000 (21:13 +0100)]
Direct use of monitor function instead of subroutine call.

9 years agoSet default start address to 0x300.
Stephan Mühlstrasser [Sun, 16 Nov 2014 19:07:59 +0000 (20:07 +0100)]
Set default start address to 0x300.
Make start address configurable via --start-addr.

9 years agoAdded missing dependency from c1p65 to common
Stephan Mühlstrasser [Sat, 15 Nov 2014 19:37:45 +0000 (20:37 +0100)]
Added missing dependency from c1p65 to common

9 years ago* Changed the way that Atmos programs are started.
Greg King [Sun, 9 Nov 2014 11:32:11 +0000 (06:32 -0500)]
* Changed the way that Atmos programs are started.

  - Put a BASIC-language stub at the beginning.
  - Removed the Autostart flag.

  Those changes make it easy to give command-line arguments to a program.

* Made the Atmos configure file accept a special symbol definition on ld65's command line.  We can use "__RAMEND__" to increase the amount of RAM that's available to programs.

9 years agoBegin to implement C1P conio features.
Stephan Mühlstrasser [Sat, 8 Nov 2014 23:58:32 +0000 (00:58 +0100)]
Begin to implement C1P conio features.

9 years agoImplemented clrscr routine for C1P
Stephan Mühlstrasser [Sat, 8 Nov 2014 00:14:46 +0000 (01:14 +0100)]
Implemented clrscr routine for C1P

9 years agoAdded the c1p65 project.
Stephan Mühlstrasser [Thu, 6 Nov 2014 19:46:16 +0000 (20:46 +0100)]
Added the c1p65 project.

9 years agoAdjusted URL.
Oliver Schmidt [Mon, 3 Nov 2014 22:31:54 +0000 (23:31 +0100)]
Adjusted URL.

9 years agoConsistently rely on SSL redirection.
Oliver Schmidt [Mon, 3 Nov 2014 22:21:52 +0000 (23:21 +0100)]
Consistently rely on SSL redirection.

9 years agoAdjusted doc URL.
Oliver Schmidt [Mon, 3 Nov 2014 20:42:54 +0000 (21:42 +0100)]
Adjusted doc URL.

9 years agoModified doc generation to target 'doc' repository.
Oliver Schmidt [Mon, 3 Nov 2014 20:23:29 +0000 (21:23 +0100)]
Modified doc generation to target 'doc' repository.

9 years agoEnter bytes in a loop in data mode
Stephan Mühlstrasser [Sun, 2 Nov 2014 22:22:41 +0000 (23:22 +0100)]
Enter bytes in a loop in data mode

9 years agoAdapt c1p65 project to Visual Studio 2013
Stephan Mühlstrasser [Sun, 2 Nov 2014 18:39:39 +0000 (19:39 +0100)]
Adapt c1p65 project to Visual Studio 2013

9 years agoMerge https://github.com/cc65/cc65 into c1p
Stephan Mühlstrasser [Sun, 2 Nov 2014 15:17:16 +0000 (16:17 +0100)]
Merge https://github.com/cc65/cc65 into c1p

9 years agoAdjusted Travis CI file to recent change.
Oliver Schmidt [Sat, 1 Nov 2014 12:49:19 +0000 (13:49 +0100)]
Adjusted Travis CI file to recent change.

9 years agoReduced clutter in root dir.
Oliver Schmidt [Sat, 1 Nov 2014 12:45:17 +0000 (13:45 +0100)]
Reduced clutter in root dir.

9 years agoIgnore return value of commit (not push).
Oliver Schmidt [Thu, 30 Oct 2014 22:21:40 +0000 (23:21 +0100)]
Ignore return value of commit (not push).

9 years agoMinor changes to cleanup log.
Oliver Schmidt [Thu, 30 Oct 2014 21:43:34 +0000 (22:43 +0100)]
Minor changes to cleanup log.

9 years agoMoved Windows binary snapshot to SourceForge.
Oliver Schmidt [Thu, 30 Oct 2014 21:15:45 +0000 (22:15 +0100)]
Moved Windows binary snapshot to SourceForge.

9 years agoMerge pull request #138 from spiro-trikaliotis/equality-error-uz
Oliver Schmidt [Tue, 14 Oct 2014 13:15:23 +0000 (15:15 +0200)]
Merge pull request #138 from spiro-trikaliotis/equality-error-uz

Equality problem (Ullrich von Bassewitz)

9 years agoMerge pull request #137 from spiro-trikaliotis/notemittinglabels-alancox
Oliver Schmidt [Tue, 14 Oct 2014 13:13:29 +0000 (15:13 +0200)]
Merge pull request #137 from spiro-trikaliotis/notemittinglabels-alancox

Fix for: cc65 forgetting to emit labels (Alan Cox)

9 years agoEquality problem (Ullrich von Bassewitz) 138/head
Spiro Trikaliotis [Tue, 14 Oct 2014 11:41:17 +0000 (13:41 +0200)]
Equality problem (Ullrich von Bassewitz)

Neil Stockbridge reported a problem with equality comparisons on
cc65.org's mailing list:

http://www.cc65.org/mailarchive/2014-10/11680.html

Uz provided a fix for it:

http://www.cc65.org/mailarchive/2014-10/11683.html

This pull request ask to add the fix to cc65 on github.

9 years agoFix for: cc65 forgetting to emit labels (Alan Cox) 137/head
Spiro Trikaliotis [Tue, 14 Oct 2014 11:32:58 +0000 (13:32 +0200)]
Fix for: cc65 forgetting to emit labels (Alan Cox)

Alan Cox provided this on 2014-10-02 on the cc65.org mailing list:

http://www.cc65.org/mailarchive/2014-10/11673.html
[...]
It breaks in several spots with cc65 where cc65 forgets to emit the
labels for the goto statements - the code is there but with no label
and it them blows up linking
[...]

He also provided a fix:
http://www.cc65.org/mailarchive/2014-10/11675.html

which was approved by Uz:
http://www.cc65.org/mailarchive/2014-10/11679.html

This is the patch of Alan Cox, adjusted only to the new locations on
cc65/github.

9 years agoscheisse
mrdudz [Wed, 1 Oct 2014 13:33:41 +0000 (15:33 +0200)]
scheisse

9 years agoMerge pull request #133 from pfusik/fix-char-cast
Oliver Schmidt [Tue, 30 Sep 2014 14:08:41 +0000 (16:08 +0200)]
Merge pull request #133 from pfusik/fix-char-cast

Fix casting an r-value to char.

9 years agofix cast to char, patch by Piotr Fusik
mrdudz [Thu, 25 Sep 2014 21:19:14 +0000 (23:19 +0200)]
fix cast to char, patch by Piotr Fusik

9 years agoMerge remote-tracking branch 'upstream/master'
mrdudz [Thu, 25 Sep 2014 20:01:27 +0000 (22:01 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agoMerge pull request #135 from ikorb/patch1
Oliver Schmidt [Thu, 25 Sep 2014 19:50:28 +0000 (21:50 +0200)]
Merge pull request #135 from ikorb/patch1

added tests as prepared by oliver

9 years agoadded tests as prepared by oliver 135/head
mrdudz [Wed, 24 Sep 2014 14:45:10 +0000 (16:45 +0200)]
added tests as prepared by oliver

9 years agoadded commandline option to quit after X cycles
mrdudz [Thu, 25 Sep 2014 16:47:23 +0000 (18:47 +0200)]
added commandline option to quit after X cycles

9 years agoadded tests as prepared by oliver
mrdudz [Wed, 24 Sep 2014 14:45:10 +0000 (16:45 +0200)]
added tests as prepared by oliver

9 years agoFix casting an r-value to char. 133/head
Piotr Fusik [Mon, 22 Sep 2014 21:47:20 +0000 (23:47 +0200)]
Fix casting an r-value to char.

For example:
int f(int i, int j) { return (char) (i + 1) == j; }
f(0x1234, 0x35) returned 0.

This bug caused zlib/uncompress return Z_DATA_ERROR on correct input.

9 years agoMerge pull request #132 from greg-king5/high-zero
Oliver Schmidt [Thu, 11 Sep 2014 06:57:50 +0000 (08:57 +0200)]
Merge pull request #132 from greg-king5/high-zero

Change "#>0" into "#>$0000".

9 years agoChanged literal zeroes of the style "#>0" into the style "#>$0000". 132/head
Greg King [Wed, 10 Sep 2014 23:15:07 +0000 (19:15 -0400)]
Changed literal zeroes of the style "#>0" into the style "#>$0000".

9 years agoMerge pull request #130 from greg-king5/caps-lock
Oliver Schmidt [Tue, 9 Sep 2014 10:55:30 +0000 (12:55 +0200)]
Merge pull request #130 from greg-king5/caps-lock

Disable the Atmos keyboard's CAPS LOCK for stdio too.

9 years agoSwapped the locations of a constructor and a destructor in a source file. 130/head
Greg King [Thu, 4 Sep 2014 21:37:41 +0000 (17:37 -0400)]
Swapped the locations of a constructor and a destructor in a source file.

The constructor now is first.

Used a more expressive literal zero.

9 years agoMerge pull request #131 from greg-king5/refine-crt
Oliver Schmidt [Sun, 24 Aug 2014 19:31:35 +0000 (21:31 +0200)]
Merge pull request #131 from greg-king5/refine-crt

Made the crt0.s source files comments be consistent with each other.

9 years agoRefined the comments in the target start-up files. 131/head
Greg King [Sat, 23 Aug 2014 18:05:36 +0000 (14:05 -0400)]
Refined the comments in the target start-up files.

Fixed typo errors.  Made the comments consistent across all those files.

9 years agoMoved the CAPS LOCK code out of the startup file, and into its own file.
Greg King [Fri, 22 Aug 2014 21:19:58 +0000 (17:19 -0400)]
Moved the CAPS LOCK code out of the startup file, and into its own file.

9 years agoDisable the Atmos keyboard's CAPS LOCK for both conio and stdio.
Greg King [Thu, 21 Aug 2014 14:46:25 +0000 (10:46 -0400)]
Disable the Atmos keyboard's CAPS LOCK for both conio and stdio.

9 years agoMerge pull request #129 from greg-king5/cbmdir
Oliver Schmidt [Thu, 17 Jul 2014 14:50:49 +0000 (16:50 +0200)]
Merge pull request #129 from greg-king5/cbmdir

Update 2 CBM directory functions.

9 years agoImproved some multiplication code. 129/head
Greg King [Thu, 17 Jul 2014 11:11:14 +0000 (07:11 -0400)]
Improved some multiplication code.

9 years agoFixed a buffer overrun bug.
Greg King [Thu, 17 Jul 2014 11:05:10 +0000 (07:05 -0400)]
Fixed a buffer overrun bug.

9 years agoMerge pull request #128 from greg-king5/multi-comments
Oliver Schmidt [Tue, 1 Jul 2014 07:48:18 +0000 (09:48 +0200)]
Merge pull request #128 from greg-king5/multi-comments

Changed multi-line C comments into another style.

9 years agoChanged multi-line C comments into another style. 128/head
Greg King [Mon, 30 Jun 2014 09:10:35 +0000 (05:10 -0400)]
Changed multi-line C comments into another style.

The left side doesn't look unbalanced.

9 years agoRevert "don't define DYN_DRV for targets which don't predefine it"
Oliver Schmidt [Wed, 4 Jun 2014 21:50:46 +0000 (23:50 +0200)]
Revert "don't define DYN_DRV for targets which don't predefine it"

This reverts commit 29671f5f06066c2faaf5319a7bded3ef87bf1c50.

9 years agoCreate static drivers directly from source files.
Oliver Schmidt [Wed, 4 Jun 2014 21:50:18 +0000 (23:50 +0200)]
Create static drivers directly from source files.

Up to now static drivers were created via co65 from dynamic drivers. However there was an issue with that approach:

The dynamic drivers are "o65 simple files" which obligates that they start with the 'code' segment. However dynamic drivers need to start with the module header - which is written to. For dynamic drivers this isn't more than a conceptual issue because they are always contain a 'data' segment and may therefore only be loaded into writable memory.

However when dynamic drivers are converted to static drivers using co65 then that issue becomes a real problem as then the 'code' segment may end up in non-writable memory - and thus writing to the module header fails.

Instead of changing the way dynamic drivers work I opted to rather make static driver creation totally independent from dynamic drivers. This allows to place the module header in the 'data' segment (see 'module.mac').