]> git.sur5r.net Git - cc65/log
cc65
7 years agoAdded ProDOS file type definitions
Bill Chatfield [Wed, 26 Jul 2017 15:15:49 +0000 (11:15 -0400)]
Added ProDOS file type definitions

7 years agoMerge pull request #468 from pmjdebruijn/samples
Oliver Schmidt [Sun, 23 Jul 2017 00:09:20 +0000 (02:09 +0200)]
Merge pull request #468 from pmjdebruijn/samples

make changes

7 years agoMerge pull request #462 from pmjdebruijn/pragma-message
Oliver Schmidt [Sat, 22 Jul 2017 14:54:23 +0000 (16:54 +0200)]
Merge pull request #462 from pmjdebruijn/pragma-message

pragma: add minimalist message pragma implementation

7 years agomake: change uppercase prefix var 468/head
Pascal de Bruijn [Sat, 22 Jul 2017 14:38:50 +0000 (16:38 +0200)]
make: change uppercase prefix var

7 years agosamples: install to subdirectory
Pascal de Bruijn [Sat, 22 Jul 2017 14:33:42 +0000 (16:33 +0200)]
samples: install to subdirectory

7 years agopragma: add minimalist message pragma documentation 462/head
Pascal de Bruijn [Thu, 20 Jul 2017 16:13:39 +0000 (18:13 +0200)]
pragma: add minimalist message pragma documentation

documents 6e93c1ba7332c55eb2067d7be6d20050912ef27d

7 years agoMerge pull request #464 from pmjdebruijn/joy
Oliver Schmidt [Fri, 21 Jul 2017 14:18:26 +0000 (16:18 +0200)]
Merge pull request #464 from pmjdebruijn/joy

expand nes/pce joystick defines

7 years agopce: add system specific joy_masks array indices and macros 464/head
Pascal de Bruijn [Wed, 19 Jul 2017 16:29:35 +0000 (18:29 +0200)]
pce: add system specific joy_masks array indices and macros

7 years agones: add system specific joy_masks array indices and macros
Pascal de Bruijn [Wed, 19 Jul 2017 16:14:44 +0000 (18:14 +0200)]
nes: add system specific joy_masks array indices and macros

7 years agones: remove semiredundant KEY_ defines
Pascal de Bruijn [Wed, 19 Jul 2017 16:02:13 +0000 (18:02 +0200)]
nes: remove semiredundant KEY_ defines

There are already JOY_ defines for most of these, and this should
be expanded upon instead.

7 years agopragma: add minimalist message pragma implementation
Pascal de Bruijn [Tue, 18 Jul 2017 16:12:19 +0000 (18:12 +0200)]
pragma: add minimalist message pragma implementation

for example:

#pragma message ("in a bottle")

results in:

hello.c(207): Note: in a bottle

7 years agoMerge pull request #453 from mrdudz/waitvsync 460/head
Oliver Schmidt [Tue, 18 Jul 2017 13:38:27 +0000 (15:38 +0200)]
Merge pull request #453 from mrdudz/waitvsync

waitvblank for cbm targets

7 years agowait for line 0 instead of last line 453/head
mrdudz [Mon, 17 Jul 2017 23:06:20 +0000 (01:06 +0200)]
wait for line 0 instead of last line

7 years agoadd headers/fix formatting
mrdudz [Mon, 17 Jul 2017 23:04:53 +0000 (01:04 +0200)]
add headers/fix formatting

7 years agodo banking
mrdudz [Mon, 17 Jul 2017 22:41:54 +0000 (00:41 +0200)]
do banking

7 years agooops
mrdudz [Mon, 17 Jul 2017 22:01:15 +0000 (00:01 +0200)]
oops

7 years agoimplement waitvsync for plus4/c16
mrdudz [Mon, 17 Jul 2017 21:55:18 +0000 (23:55 +0200)]
implement waitvsync for plus4/c16

7 years agoadded prototype to cbm.h
mrdudz [Mon, 17 Jul 2017 21:43:08 +0000 (23:43 +0200)]
added prototype to cbm.h

7 years agofix sgml
mrdudz [Mon, 17 Jul 2017 21:31:01 +0000 (23:31 +0200)]
fix sgml

7 years agorename all waitvblank() to waitvsync()
mrdudz [Mon, 17 Jul 2017 21:15:05 +0000 (23:15 +0200)]
rename all waitvblank() to waitvsync()

7 years agoMerged pull request #459 from "pmjdebruijn/pragma".
greg-king5 [Mon, 17 Jul 2017 19:52:16 +0000 (15:52 -0400)]
Merged pull request #459 from "pmjdebruijn/pragma".

pragma: bring pragma_t enum in line with Pragmas struct

7 years agopragma: bring pragma_t enum in line with Pragmas struct 459/head
Pascal de Bruijn [Mon, 17 Jul 2017 17:43:11 +0000 (19:43 +0200)]
pragma: bring pragma_t enum in line with Pragmas struct

fixes an inconsequential inconsistency, might prevent some
confusion in the future.

7 years agoMade DOS 3.3 IRQ statement more general.
Oliver Schmidt [Fri, 30 Jun 2017 07:50:28 +0000 (09:50 +0200)]
Made DOS 3.3 IRQ statement more general.

I recently came across that the question if a driver is compatible with DOS 3.3 isn't about the fact if it actually uses IRQs but if it potentially could use IRQs as the driver kernel pulls in the IRQ handler anyway. This is especially suboptimal in the scenario of statically linked drivers where it is concpetually totally clear at link time they use IRQs or not. Apart from that it might make sense to be able to define on a per-target basis if _any_ of the drivers of a certain class uses IRQs. If that isn't the cases the driver kernel for that driver class for that target could omit IRQ handling too. I'm aware that Uz imagined drivers being loaded which weren't known when the program was linked - but I don't see this.

7 years agoMerge pull request #457 from pfusik/const-arrays
Oliver Schmidt [Fri, 30 Jun 2017 07:28:40 +0000 (09:28 +0200)]
Merge pull request #457 from pfusik/const-arrays

Make some arrays const.

7 years agoMerge pull request #456 from greg-king5/make-dep
Oliver Schmidt [Fri, 30 Jun 2017 07:25:10 +0000 (09:25 +0200)]
Merge pull request #456 from greg-king5/make-dep

Add a makefile dependency for the libraries' "extra" files.

7 years agoFix coding style. 457/head
Piotr Fusik [Fri, 30 Jun 2017 05:35:21 +0000 (07:35 +0200)]
Fix coding style.

7 years agoAdded the extra dependency file's directory as an order-only prerequisite. 456/head
Greg King [Thu, 29 Jun 2017 17:34:10 +0000 (13:34 -0400)]
Added the extra dependency file's directory as an order-only prerequisite.

The extra dependency files are put into different places than the extra object files' location.  Therefore, the rule must pre-make two directories.

7 years agoMake some arrays const.
Piotr Fusik [Wed, 28 Jun 2017 18:43:31 +0000 (20:43 +0200)]
Make some arrays const.

7 years agoAdded a makefile dependency for the libraries' "extra" files.
Greg King [Wed, 28 Jun 2017 09:51:46 +0000 (05:51 -0400)]
Added a makefile dependency for the libraries' "extra" files.

Some of the files in "libsrc/*/extra/" include other library files.  But, the "lib/*.o" files weren't rebuilt when those other files changed.

The new dependency rules must be "bootstrapped".  You must force a rebuild of all of the extra library object files (it will create the dependency files).  Use these commands:

rm lib/*.o
make lib

7 years agoMerge pull request #455 from greg-king5/osic1p-code
Oliver Schmidt [Mon, 26 Jun 2017 12:28:55 +0000 (14:28 +0200)]
Merge pull request #455 from greg-king5/osic1p-code

Add functions that make it easier to write portable programs for OSI computers.

7 years agoAdded two functions that make it easier to write portable programs for Ohio Scientifi... 455/head
Greg King [Mon, 26 Jun 2017 06:34:23 +0000 (02:34 -0400)]
Added two functions that make it easier to write portable programs for Ohio Scientific computers.

7 years agouse BIT so akku wont get trashed at least in 40 cols mode
mrdudz [Wed, 21 Jun 2017 22:19:39 +0000 (00:19 +0200)]
use BIT so akku wont get trashed at least in 40 cols mode

7 years agodont trash akku if possible, use VDC register when in 80column mode
mrdudz [Wed, 21 Jun 2017 21:18:00 +0000 (23:18 +0200)]
dont trash akku if possible, use VDC register when in 80column mode

7 years agoMerge pull request #454 from greg-king5/dup-segment
Oliver Schmidt [Sat, 17 Jun 2017 09:25:10 +0000 (11:25 +0200)]
Merge pull request #454 from greg-king5/dup-segment

Stop cc65 from putting redundant .segment directives into its output file.

7 years agoStopped cc65 from putting redundant .segment directives into its Assembly output. 454/head
Greg King [Sat, 17 Jun 2017 01:53:50 +0000 (21:53 -0400)]
Stopped cc65 from putting redundant .segment directives into its Assembly output.

7 years agofixed code a bit so it compiles again :)
mrdudz [Sat, 17 Jun 2017 00:26:54 +0000 (02:26 +0200)]
fixed code a bit so it compiles again :)

7 years agoMerge pull request #450 from greg-king5/gotoxy-label
Oliver Schmidt [Fri, 16 Jun 2017 07:20:29 +0000 (09:20 +0200)]
Merge pull request #450 from greg-king5/gotoxy-label

Add a missing label to some conio cursor movement functions.

7 years agoAdded a missing label to some conio cursor movement functions. 450/head
Greg King [Thu, 15 Jun 2017 20:44:46 +0000 (16:44 -0400)]
Added a missing label to some conio cursor movement functions.

It had prevented other functions, e.g. cputs(), from being linked into a program.

7 years agoMerge pull request #446 from clbr/lz4
Oliver Schmidt [Sat, 10 Jun 2017 21:23:12 +0000 (23:23 +0200)]
Merge pull request #446 from clbr/lz4

Add LZ4 decompression support

7 years agoSmall lz4 optimizations 446/head
Lauri Kasanen [Fri, 9 Jun 2017 13:57:47 +0000 (16:57 +0300)]
Small lz4 optimizations

7 years agoAdd lz4 doc
Lauri Kasanen [Fri, 9 Jun 2017 07:54:50 +0000 (10:54 +0300)]
Add lz4 doc

7 years agoMention the optimizations in a comment
Lauri Kasanen [Fri, 9 Jun 2017 07:42:24 +0000 (10:42 +0300)]
Mention the optimizations in a comment

7 years agoUse hex immediates
Lauri Kasanen [Fri, 9 Jun 2017 07:40:17 +0000 (10:40 +0300)]
Use hex immediates

7 years agoRemove _ from internal vars
Lauri Kasanen [Fri, 9 Jun 2017 07:37:50 +0000 (10:37 +0300)]
Remove _ from internal vars

7 years agoEdit comment style, add second const
Lauri Kasanen [Fri, 9 Jun 2017 07:35:16 +0000 (10:35 +0300)]
Edit comment style, add second const

7 years agoMerge pull request #447 from greg-king5/regression-optimate
Oliver Schmidt [Wed, 7 Jun 2017 14:52:37 +0000 (16:52 +0200)]
Merge pull request #447 from greg-king5/regression-optimate

Add a missing -O configuration to some regression-test make-files.

7 years agoAdded a missing -O configuration. 447/head
greg-king5 [Wed, 7 Jun 2017 14:31:09 +0000 (10:31 -0400)]
Added a missing -O configuration.

7 years agoAdded a missing -O configuration.
greg-king5 [Wed, 7 Jun 2017 14:26:34 +0000 (10:26 -0400)]
Added a missing -O configuration.

7 years agoAdded missing -O configuration.
greg-king5 [Wed, 7 Jun 2017 14:20:20 +0000 (10:20 -0400)]
Added missing -O configuration.

7 years agoExpand tabs to spaces in lz4.s
Lauri Kasanen [Tue, 6 Jun 2017 16:31:16 +0000 (19:31 +0300)]
Expand tabs to spaces in lz4.s

7 years agoAdd LZ4 decompression support
Lauri Kasanen [Tue, 6 Jun 2017 15:48:25 +0000 (18:48 +0300)]
Add LZ4 decompression support

7 years agoMerge pull request #436 from bbbradsmith/ca65_define_macro_doc
Oliver Schmidt [Mon, 5 Jun 2017 13:03:37 +0000 (15:03 +0200)]
Merge pull request #436 from bbbradsmith/ca65_define_macro_doc

Small improvement to ca65 macro documentation

7 years agoMerge pull request #442 from polluks/patch-6
Oliver Schmidt [Sat, 3 Jun 2017 20:06:27 +0000 (22:06 +0200)]
Merge pull request #442 from polluks/patch-6

Use verbosity

7 years agoMerge pull request #443 from polluks/patch-7
Oliver Schmidt [Sat, 3 Jun 2017 20:05:10 +0000 (22:05 +0200)]
Merge pull request #443 from polluks/patch-7

More POSIX.2, staying compatible

7 years agoMerge pull request #444 from polluks/patch-8
Oliver Schmidt [Sat, 3 Jun 2017 20:04:52 +0000 (22:04 +0200)]
Merge pull request #444 from polluks/patch-8

Verbosity was missing; POSIX operations

7 years agoDeprecated commands mentioned 444/head
Stefan [Tue, 30 May 2017 00:05:35 +0000 (02:05 +0200)]
Deprecated commands mentioned

7 years agoUpdate ar65.sgml
Stefan [Sun, 28 May 2017 14:22:34 +0000 (16:22 +0200)]
Update ar65.sgml

7 years agoUpdate main.c 443/head
Stefan [Sun, 28 May 2017 14:17:34 +0000 (16:17 +0200)]
Update main.c

7 years agoVerbosity was missing; POSIX operations
Stefan [Sun, 28 May 2017 14:12:02 +0000 (16:12 +0200)]
Verbosity was missing; POSIX operations

7 years agoUpdate main.c
Stefan [Sun, 28 May 2017 13:29:49 +0000 (15:29 +0200)]
Update main.c

7 years agoUpdate list.c 442/head
Stefan [Sun, 28 May 2017 13:22:33 +0000 (15:22 +0200)]
Update list.c

7 years agoUpdate list.c
Stefan [Sun, 28 May 2017 13:13:43 +0000 (15:13 +0200)]
Update list.c

7 years agoUpdate list.c
Stefan [Sun, 28 May 2017 11:13:53 +0000 (13:13 +0200)]
Update list.c

7 years agoMore POSIX.2, staying compatible
Stefan [Sat, 27 May 2017 22:35:38 +0000 (00:35 +0200)]
More POSIX.2, staying compatible

7 years agoUse verbosity
Stefan [Sat, 27 May 2017 22:29:53 +0000 (00:29 +0200)]
Use verbosity

7 years agoMerge pull request #438 from bbbradsmith/ca65_rand_comment
Oliver Schmidt [Fri, 26 May 2017 13:16:42 +0000 (15:16 +0200)]
Merge pull request #438 from bbbradsmith/ca65_rand_comment

rand.s comment update

7 years agoMerge pull request #441 from polluks/patch-3
Oliver Schmidt [Fri, 26 May 2017 09:03:57 +0000 (11:03 +0200)]
Merge pull request #441 from polluks/patch-3

Small typo

7 years agoMerge pull request #440 from polluks/patch-5
Oliver Schmidt [Fri, 26 May 2017 09:03:06 +0000 (11:03 +0200)]
Merge pull request #440 from polluks/patch-5

Also Oricutron mentioned

7 years agoMerge pull request #439 from polluks/patch-4
Oliver Schmidt [Fri, 26 May 2017 09:02:02 +0000 (11:02 +0200)]
Merge pull request #439 from polluks/patch-4

Some clean-up

7 years agoOricutron mentioned 440/head
Stefan [Thu, 25 May 2017 23:44:33 +0000 (01:44 +0200)]
Oricutron mentioned

7 years agodetectabl > detectable 438/head
Brad Smith [Thu, 25 May 2017 07:20:11 +0000 (03:20 -0400)]
detectabl > detectable

7 years agoforgot to update comments from earlier #323 rand.s change
Brad Smith [Thu, 25 May 2017 07:01:25 +0000 (03:01 -0400)]
forgot to update comments from earlier #323 rand.s change

7 years agoAdded "html" and "info" goals to the top-level Makefile.
Greg King [Wed, 24 May 2017 22:49:02 +0000 (18:49 -0400)]
Added "html" and "info" goals to the top-level Makefile.

They are for people who don't want to build both types of documents at the same time.

7 years agoMerge pull request #437 from greg-king5/cl65-E
Oliver Schmidt [Wed, 24 May 2017 21:41:16 +0000 (23:41 +0200)]
Merge pull request #437 from greg-king5/cl65-E

Add a "-E" description to cl65's document.

7 years agoAdded a description of the "-E" command-line option to cl65's document. 437/head
Greg King [Wed, 24 May 2017 20:47:12 +0000 (16:47 -0400)]
Added a description of the "-E" command-line option to cl65's document.

Improved other descriptions, to make them more consistent and accurate.

7 years agoMerge pull request #426 from MonteCarlos/master
Oliver Schmidt [Wed, 24 May 2017 07:44:24 +0000 (09:44 +0200)]
Merge pull request #426 from MonteCarlos/master

added -E switch to cl65 for >>stop after the preprocessing stage<<.

7 years agoclean-up 439/head
Stefan [Tue, 23 May 2017 22:04:52 +0000 (00:04 +0200)]
clean-up

7 years agoexpanding macro examples, trying to adhere to style guidelines 436/head
Brad Smith [Tue, 23 May 2017 21:07:45 +0000 (17:07 -0400)]
expanding macro examples, trying to adhere to style guidelines

7 years agoadded missing spaces before braces. added unknown option msg if not given -Wc|l|a... 426/head
mc78 [Tue, 23 May 2017 20:57:27 +0000 (22:57 +0200)]
added missing spaces before braces. added unknown option msg if not given -Wc|l|a when passing options to subprocess

7 years agoca65 documentation of .define macros, making note that parentheses in ca65 macros...
Brad Smith [Tue, 23 May 2017 01:33:02 +0000 (21:33 -0400)]
ca65 documentation of .define macros, making note that parentheses in ca65 macros are problematic especially when thinking of them as "C style", replacing unclear example with an example showing how accidental parentheses can cause a problem.

7 years agotypo 441/head
Stefan [Mon, 22 May 2017 21:53:51 +0000 (23:53 +0200)]
typo

7 years agoadded four escaped tabs to -E Stop after .... description
mc78 [Mon, 22 May 2017 21:21:55 +0000 (23:21 +0200)]
added four escaped tabs to -E Stop after .... description

7 years agoadded empty lines and spaces according to olivers comments. Made local functions...
mc78 [Mon, 22 May 2017 21:07:31 +0000 (23:07 +0200)]
added empty lines and spaces according to olivers comments. Made local functions static.

7 years agoMerge pull request #433 from clbr/trampoline-fixes
Oliver Schmidt [Sat, 20 May 2017 10:29:10 +0000 (12:29 +0200)]
Merge pull request #433 from clbr/trampoline-fixes

Trampoline fixes

7 years agoMerge pull request #435 from greg-king5/wrapped-call
Oliver Schmidt [Sat, 20 May 2017 10:28:24 +0000 (12:28 +0200)]
Merge pull request #435 from greg-king5/wrapped-call

Add more info to the docs about "#pragma wrapped-call".

7 years agoUpdate test description 433/head
Lauri Kasanen [Sat, 20 May 2017 06:53:30 +0000 (09:53 +0300)]
Update test description

7 years agoAdded more info to the documentation of "#pragma wrapped-call". 435/head
Greg King [Sat, 20 May 2017 05:41:49 +0000 (01:41 -0400)]
Added more info to the documentation of "#pragma wrapped-call".

7 years agoCorrect comment style
Lauri Kasanen [Fri, 19 May 2017 12:38:50 +0000 (15:38 +0300)]
Correct comment style

7 years agoWrapper functions use all registers
Lauri Kasanen [Fri, 19 May 2017 12:20:36 +0000 (15:20 +0300)]
Wrapper functions use all registers

7 years agoAdd two new trampoline test cases
Lauri Kasanen [Fri, 19 May 2017 11:20:04 +0000 (14:20 +0300)]
Add two new trampoline test cases

7 years agoMerge pull request #431 from polluks/patch-2
Oliver Schmidt [Thu, 18 May 2017 22:23:50 +0000 (00:23 +0200)]
Merge pull request #431 from polluks/patch-2

shorter code

7 years agoshorter code 431/head
Stefan [Thu, 18 May 2017 21:58:10 +0000 (23:58 +0200)]
shorter code

7 years agoMerge pull request #430 from polluks/patch-1
Oliver Schmidt [Thu, 18 May 2017 20:45:50 +0000 (22:45 +0200)]
Merge pull request #430 from polluks/patch-1

VIC's kernal does not support CTRL+[

7 years agoAdjusted VS project files to commit https://github.com/cc65/cc65/commit/11b01b908d321...
Oliver Schmidt [Thu, 18 May 2017 20:40:18 +0000 (22:40 +0200)]
Adjusted VS project files to commit https://github.com/cc65/cc65/commit/11b01b908d321c39d86de1dd12102eaa6f4053e9

7 years agoChanged section 430/head
Stefan [Thu, 18 May 2017 19:21:02 +0000 (21:21 +0200)]
Changed section

7 years agoMerge pull request #424 from clbr/trampoline
Oliver Schmidt [Thu, 18 May 2017 14:29:34 +0000 (16:29 +0200)]
Merge pull request #424 from clbr/trampoline

Trampoline support

7 years agoAdjustments in response to latest comments 424/head
Lauri Kasanen [Thu, 18 May 2017 14:14:26 +0000 (17:14 +0300)]
Adjustments in response to latest comments

7 years agoRemove RAM-trampoline array support
Lauri Kasanen [Thu, 18 May 2017 13:11:39 +0000 (16:11 +0300)]
Remove RAM-trampoline array support

7 years agoRename trampoline to wrappedcall everywhere
Lauri Kasanen [Thu, 18 May 2017 13:00:04 +0000 (16:00 +0300)]
Rename trampoline to wrappedcall everywhere

7 years agoMore tabs to spaces
Lauri Kasanen [Thu, 18 May 2017 12:54:47 +0000 (15:54 +0300)]
More tabs to spaces