]> git.sur5r.net Git - cc65/log
cc65
9 years agoIncorporated another round of feedback for pull request. 146/head
Stephan Mühlstrasser [Wed, 18 Feb 2015 17:38:42 +0000 (18:38 +0100)]
Incorporated another round of feedback for pull request.

Adjusted comment formatting in several assembler files.
Removed dummy kbhit() function, as it's better to get a linker
error than an implementation that does the wrong thing.

9 years agoFix high byte of return value, optimized.
Stephan Mühlstrasser [Fri, 13 Feb 2015 18:53:02 +0000 (19:53 +0100)]
Fix high byte of return value, optimized.

9 years agoAdd dummy kbhit(), remove redundant documentation for cgetc().
Stephan Mühlstrasser [Thu, 12 Feb 2015 21:54:21 +0000 (22:54 +0100)]
Add dummy kbhit(), remove redundant documentation for cgetc().

9 years agoInclude "extzp.inc" instead of using direct imports of symbols.
Stephan Mühlstrasser [Thu, 12 Feb 2015 21:12:51 +0000 (22:12 +0100)]
Include "extzp.inc" instead of using direct imports of symbols.

9 years agoDon't use .byte in BSS segments, as value is lost anyway.
Stephan Mühlstrasser [Thu, 12 Feb 2015 20:44:00 +0000 (21:44 +0100)]
Don't use .byte in BSS segments, as value is lost anyway.

9 years agoReplace zeropage variable with standard tmp variable.
Stephan Mühlstrasser [Thu, 12 Feb 2015 20:29:19 +0000 (21:29 +0100)]
Replace zeropage variable with standard tmp variable.

9 years agoRemove unneeded commented code.
Stephan Mühlstrasser [Thu, 12 Feb 2015 20:12:24 +0000 (21:12 +0100)]
Remove unneeded commented code.

9 years agoUse constants for screen width and height.
Stephan Mühlstrasser [Thu, 12 Feb 2015 19:54:47 +0000 (20:54 +0100)]
Use constants for screen width and height.

9 years agoIncorporated feedback for initial pull request.
Stephan Mühlstrasser [Wed, 11 Feb 2015 18:18:24 +0000 (19:18 +0100)]
Incorporated feedback for initial pull request.

9 years agoAdded Challenger 1P to list of supported machines.
Stephan Mühlstrasser [Wed, 11 Feb 2015 18:14:13 +0000 (19:14 +0100)]
Added Challenger 1P to list of supported machines.

9 years agoFix formatting, replace tabs with spaces.
Stephan Mühlstrasser [Sun, 8 Feb 2015 16:35:40 +0000 (17:35 +0100)]
Fix formatting, replace tabs with spaces.

9 years agoRemove tabs, fixed accidental insertion of stdio.h.
Stephan Mühlstrasser [Sun, 8 Feb 2015 16:21:23 +0000 (17:21 +0100)]
Remove tabs, fixed accidental insertion of stdio.h.

9 years agoAdd missing newline
Stephan Mühlstrasser [Sun, 8 Feb 2015 16:12:54 +0000 (17:12 +0100)]
Add missing newline

9 years agoMerge branch 'master' of https://github.com/cc65/cc65 into c1p
Stephan Mühlstrasser [Sun, 8 Feb 2015 14:58:42 +0000 (15:58 +0100)]
Merge branch 'master' of https://github.com/cc65/cc65 into c1p

9 years agoMinor corrections.
Stephan Mühlstrasser [Sun, 8 Feb 2015 14:46:33 +0000 (15:46 +0100)]
Minor corrections.

9 years agoCompleting OSI documentation.
Stephan Mühlstrasser [Sun, 8 Feb 2015 14:06:55 +0000 (15:06 +0100)]
Completing OSI documentation.

9 years agoFixed URL for SRecord.
Stephan Mühlstrasser [Sat, 7 Feb 2015 00:19:03 +0000 (01:19 +0100)]
Fixed URL for SRecord.

9 years agoMinor corrections to documentation.
Stephan Mühlstrasser [Fri, 6 Feb 2015 23:20:38 +0000 (00:20 +0100)]
Minor corrections to documentation.

9 years agoStart documentation for Ohio Scientific targets.
Stephan Mühlstrasser [Fri, 6 Feb 2015 21:53:36 +0000 (22:53 +0100)]
Start documentation for Ohio Scientific targets.

9 years agoJump to boot prompt after main program exits.
Stephan Mühlstrasser [Thu, 5 Feb 2015 22:21:59 +0000 (23:21 +0100)]
Jump to boot prompt after main program exits.

9 years agoVideo RAM mapping table was off by two bytes.
Stephan Mühlstrasser [Thu, 5 Feb 2015 22:01:19 +0000 (23:01 +0100)]
Video RAM mapping table was off by two bytes.

Fix contributed by Jeff Tranter.

9 years agoRemove tab character.
Stephan Mühlstrasser [Tue, 3 Feb 2015 21:56:04 +0000 (22:56 +0100)]
Remove tab character.

9 years agoRename c1p target to osic1p
Stephan Mühlstrasser [Tue, 3 Feb 2015 21:42:35 +0000 (22:42 +0100)]
Rename c1p target to osic1p

9 years agoConfiguration file for assembler-only build.
Stephan Mühlstrasser [Sat, 31 Jan 2015 21:45:18 +0000 (22:45 +0100)]
Configuration file for assembler-only build.

9 years agoFixed file name of Windows binary snapshot.
Oliver Schmidt [Tue, 20 Jan 2015 20:00:44 +0000 (21:00 +0100)]
Fixed file name of Windows binary snapshot.

Although we're using Mingw-w64 to build the Windows binaries
they are in fact 32-bit binaries - which is just fine. However
the file name should reflect that.

9 years agoMerge pull request #145 from wlabelle/huc6280-sbc-fix
Oliver Schmidt [Mon, 12 Jan 2015 21:11:29 +0000 (22:11 +0100)]
Merge pull request #145 from wlabelle/huc6280-sbc-fix

Move SBC to correct location in 6280 instruction table

9 years agoMove SBC to correct location in 6280 instruction table 145/head
Wayne LaBelle [Sun, 11 Jan 2015 21:10:34 +0000 (16:10 -0500)]
Move SBC to correct location in 6280 instruction table

9 years agoMinor cleanup of unnecessary newlines.
Stephan Mühlstrasser [Sun, 11 Jan 2015 17:22:36 +0000 (18:22 +0100)]
Minor cleanup of unnecessary newlines.

9 years agoMerge pull request #143 from greg-king5/basic-stub
Oliver Schmidt [Sat, 10 Jan 2015 22:46:43 +0000 (23:46 +0100)]
Merge pull request #143 from greg-king5/basic-stub

Support Atmos command line

9 years agoAdded more info to a comment. 143/head
Greg King [Sat, 10 Jan 2015 03:19:35 +0000 (22:19 -0500)]
Added more info to a comment.

9 years agoMentioned, in the Atmos document, the extra byte at the end of program binaries.
Greg King [Fri, 9 Jan 2015 18:55:16 +0000 (13:55 -0500)]
Mentioned, in the Atmos document, the extra byte at the end of program binaries.

9 years agoAdded comments that say why the ZPSAVE1 and ZPSAVE2 segments must be together.
Greg King [Thu, 8 Jan 2015 22:07:28 +0000 (17:07 -0500)]
Added comments that say why the ZPSAVE1 and ZPSAVE2 segments must be together.

9 years agoFixed a bug that had padded Atmos binaries with 25 bytes too many.
Greg King [Thu, 8 Jan 2015 08:51:20 +0000 (03:51 -0500)]
Fixed a bug that had padded Atmos binaries with 25 bytes too many.

9 years agoAdded a comment.
Greg King [Wed, 7 Jan 2015 15:51:48 +0000 (10:51 -0500)]
Added a comment.

9 years agoAdapted to cc65 assembler coding conventions
Stephan Mühlstrasser [Mon, 5 Jan 2015 20:28:39 +0000 (21:28 +0100)]
Adapted to cc65 assembler coding conventions

Assembler statements are written in lowercase.

9 years agoRemoved c1p65 object file converter.
Stephan Mühlstrasser [Mon, 5 Jan 2015 19:55:45 +0000 (20:55 +0100)]
Removed c1p65 object file converter.

Now using srec_cat from the srecord package.

9 years agoSet default RAM size to 32 kB.
Stephan Mühlstrasser [Mon, 5 Jan 2015 19:37:23 +0000 (20:37 +0100)]
Set default RAM size to 32 kB.

8 kB RAM are very small for "interesting" programs
compiled with cc65. Therefore set the default
RAM size to 32 kB.

9 years agoRestructured according to coding conventions.
Stephan Mühlstrasser [Fri, 2 Jan 2015 19:28:36 +0000 (20:28 +0100)]
Restructured according to coding conventions.

9 years agoMerge pull request #144 from greg-king5/regression-makes
Oliver Schmidt [Sat, 20 Dec 2014 16:31:33 +0000 (17:31 +0100)]
Merge pull request #144 from greg-king5/regression-makes

Regression-tests makefiles

9 years agoMade sure that parallel-building the regression-tests doesn't start a test before... 144/head
Greg King [Thu, 18 Dec 2014 19:30:35 +0000 (14:30 -0500)]
Made sure that parallel-building the regression-tests doesn't start a test before all of the directories are clean.

9 years agoShortenned the code that creates the TESTS make variable.
Greg King [Thu, 18 Dec 2014 19:15:24 +0000 (14:15 -0500)]
Shortenned the code that creates the TESTS make variable.

And, fixed the variable-substitution that creates the CC65 optimization option.

9 years agoUse simply-defined make variables.
Greg King [Wed, 17 Dec 2014 22:44:39 +0000 (17:44 -0500)]
Use simply-defined make variables.

9 years agoAll regression-tests subdirectories are cleaned before the first test starts, so...
Greg King [Wed, 17 Dec 2014 22:35:18 +0000 (17:35 -0500)]
All regression-tests subdirectories are cleaned before the first test starts, so that 'make continue' won't see debris when it moves to the next directory.

9 years agoCreate the makefile variable REFS in the same way that TESTS is made.
Greg King [Wed, 17 Dec 2014 21:30:09 +0000 (16:30 -0500)]
Create the makefile variable REFS in the same way that TESTS is made.

9 years agoMade the makefiles' clean target remove the object files from the source directory.
Greg King [Wed, 17 Dec 2014 20:59:29 +0000 (15:59 -0500)]
Made the makefiles' clean target remove the object files from the source directory.

9 years agoAdded make code to build the optimized versions.
Greg King [Wed, 17 Dec 2014 16:57:45 +0000 (11:57 -0500)]
Added make code to build the optimized versions.

9 years agoUsed an easier-to-remember way of creating a program that uses graphics RAM for other...
Greg King [Sat, 13 Dec 2014 14:52:39 +0000 (09:52 -0500)]
Used an easier-to-remember way of creating a program that uses graphics RAM for other purposes.

9 years agoMade some descriptions less ambiguous.
Greg King [Wed, 3 Dec 2014 17:02:48 +0000 (12:02 -0500)]
Made some descriptions less ambiguous.

9 years agoMerge pull request #142 from greg-king5/disassemble-segment
Oliver Schmidt [Wed, 3 Dec 2014 13:07:12 +0000 (14:07 +0100)]
Merge pull request #142 from greg-king5/disassemble-segment

da65's segments feature

9 years agoMerge branch 'master' of https://github.com/cc65/cc65 into c1p
Stephan Mühlstrasser [Tue, 2 Dec 2014 19:42:54 +0000 (20:42 +0100)]
Merge branch 'master' of https://github.com/cc65/cc65 into c1p

9 years agoRemoved unused constants
Stephan Mühlstrasser [Tue, 2 Dec 2014 17:20:54 +0000 (18:20 +0100)]
Removed unused constants
They were left-overs from early attempts to implement character output.

9 years agoDummy implementation for osmapperrno
Stephan Mühlstrasser [Sun, 30 Nov 2014 20:05:36 +0000 (21:05 +0100)]
Dummy implementation for osmapperrno
Copied from atmos implementation

9 years agoAdded scrsize() function.
Stephan Mühlstrasser [Sun, 30 Nov 2014 15:01:43 +0000 (16:01 +0100)]
Added scrsize() function.

9 years agoUndo accidental rename of wrong scrsize.s file.
Stephan Mühlstrasser [Sun, 30 Nov 2014 15:00:55 +0000 (16:00 +0100)]
Undo accidental rename of wrong scrsize.s file.

9 years agoAdded scrsize() function.
Stephan Mühlstrasser [Sun, 30 Nov 2014 14:58:59 +0000 (15:58 +0100)]
Added scrsize() function.

9 years agoAdded cclear() and cclearxy() implementations.
Stephan Mühlstrasser [Sun, 30 Nov 2014 13:25:16 +0000 (14:25 +0100)]
Added cclear() and cclearxy() implementations.

9 years agoClarified a segment error message. 142/head
Greg King [Sun, 30 Nov 2014 05:51:09 +0000 (00:51 -0500)]
Clarified a segment error message.

9 years agoFixed the detection of where to start and stop segments.
Greg King [Sun, 30 Nov 2014 05:40:45 +0000 (00:40 -0500)]
Fixed the detection of where to start and stop segments.

9 years agoAdded chline and cvline implementation from CBM implementation.
Stephan Mühlstrasser [Sat, 29 Nov 2014 21:13:07 +0000 (22:13 +0100)]
Added chline and cvline implementation from CBM implementation.

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