1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-04 02:05:13 +00:00
Commit Graph

7511 Commits

Author SHA1 Message Date
Pascal de Bruijn
8ad72fc9ca pce: add system specific joy_masks array indices and macros 2017-07-19 18:29:35 +02:00
Pascal de Bruijn
d277055b5a nes: add system specific joy_masks array indices and macros 2017-07-19 18:14:44 +02:00
Pascal de Bruijn
2d9922a46e nes: remove semiredundant KEY_ defines
There are already JOY_ defines for most of these, and this should
be expanded upon instead.
2017-07-19 18:02:13 +02:00
Pascal de Bruijn
6e93c1ba73 pragma: add minimalist message pragma implementation
for example:

#pragma message ("in a bottle")

results in:

hello.c(207): Note: in a bottle
2017-07-19 17:58:13 +02:00
Oliver Schmidt
6002e59c28 Merge pull request #453 from mrdudz/waitvsync
waitvblank for cbm targets
2017-07-18 15:38:27 +02:00
mrdudz
b6d3d32e88 wait for line 0 instead of last line 2017-07-18 01:06:20 +02:00
mrdudz
8eee51913a add headers/fix formatting 2017-07-18 01:04:53 +02:00
mrdudz
c24080f289 do banking 2017-07-18 00:41:54 +02:00
mrdudz
cbdad764f0 oops 2017-07-18 00:01:15 +02:00
mrdudz
fe850fece8 implement waitvsync for plus4/c16 2017-07-17 23:55:18 +02:00
mrdudz
33791c6efd added prototype to cbm.h 2017-07-17 23:43:08 +02:00
mrdudz
d965601a5e fix sgml 2017-07-17 23:31:01 +02:00
mrdudz
1abce3a2a1 rename all waitvblank() to waitvsync() 2017-07-17 23:15:05 +02:00
greg-king5
f5615c6ed4 Merged pull request #459 from "pmjdebruijn/pragma".
pragma: bring pragma_t enum in line with Pragmas struct
2017-07-17 15:52:16 -04:00
Pascal de Bruijn
ea7f4d7489 pragma: bring pragma_t enum in line with Pragmas struct
fixes an inconsequential inconsistency, might prevent some
confusion in the future.
2017-07-17 19:43:11 +02:00
Oliver Schmidt
6de78c536f 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.
2017-06-30 09:50:28 +02:00
Oliver Schmidt
26a2d8a5c6 Merge pull request #457 from pfusik/const-arrays
Make some arrays const.
2017-06-30 09:28:40 +02:00
Oliver Schmidt
7c560bef87 Merge pull request #456 from greg-king5/make-dep
Add a makefile dependency for the libraries' "extra" files.
2017-06-30 09:25:10 +02:00
Piotr Fusik
c0812670c1 Fix coding style. 2017-06-30 07:35:21 +02:00
Greg King
141c25b42b 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.
2017-06-29 13:56:29 -04:00
Piotr Fusik
b31ae57be1 Make some arrays const. 2017-06-28 20:43:31 +02:00
Greg King
d1501731e4 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
2017-06-28 05:51:46 -04:00
Oliver Schmidt
4cf7ee1dba Merge pull request #455 from greg-king5/osic1p-code
Add functions that make it easier to write portable programs for OSI computers.
2017-06-26 14:28:55 +02:00
Greg King
bd883327ac Added two functions that make it easier to write portable programs for Ohio Scientific computers. 2017-06-26 02:34:23 -04:00
mrdudz
3ff4a1333c use BIT so akku wont get trashed at least in 40 cols mode 2017-06-22 00:19:39 +02:00
mrdudz
e985e0beb4 fixed zp locations provided by polluks :) 2017-06-22 00:04:42 +02:00
mrdudz
49aad01bf1 dont trash akku if possible, use VDC register when in 80column mode 2017-06-21 23:18:00 +02:00
Oliver Schmidt
8fcb5139da Merge pull request #454 from greg-king5/dup-segment
Stop cc65 from putting redundant .segment directives into its output file.
2017-06-17 11:25:10 +02:00
Greg King
d3ccc289c1 Stopped cc65 from putting redundant .segment directives into its Assembly output. 2017-06-16 21:53:50 -04:00
mrdudz
a42feca228 fixed some stuff, compiles again :) 2017-06-17 02:37:34 +02:00
mrdudz
035621aa95 fixed code a bit so it compiles again :) 2017-06-17 02:26:54 +02:00
Oliver Schmidt
98a2c324f8 Merge pull request #450 from greg-king5/gotoxy-label
Add a missing label to some conio cursor movement functions.
2017-06-16 09:20:29 +02:00
Greg King
30f941ba39 Added a missing label to some conio cursor movement functions.
It had prevented other functions, e.g. cputs(), from being linked into a program.
2017-06-15 16:44:46 -04:00
Oliver Schmidt
f44406c46f Merge pull request #446 from clbr/lz4
Add LZ4 decompression support
2017-06-10 23:23:12 +02:00
Lauri Kasanen
4235e569d2 Small lz4 optimizations 2017-06-09 16:57:47 +03:00
Lauri Kasanen
135041ac3c Add lz4 doc 2017-06-09 10:54:50 +03:00
Lauri Kasanen
c444ed5e4f Mention the optimizations in a comment 2017-06-09 10:42:24 +03:00
Lauri Kasanen
bba961e54d Use hex immediates 2017-06-09 10:40:17 +03:00
Lauri Kasanen
cd460a8160 Remove _ from internal vars 2017-06-09 10:37:50 +03:00
Lauri Kasanen
e85796e028 Edit comment style, add second const 2017-06-09 10:35:16 +03:00
Oliver Schmidt
4156538546 Merge pull request #447 from greg-king5/regression-optimate
Add a missing -O configuration to some regression-test make-files.
2017-06-07 16:52:37 +02:00
greg-king5
06c3cd8307 Added a missing -O configuration. 2017-06-07 10:31:09 -04:00
greg-king5
e24bb372d0 Added a missing -O configuration. 2017-06-07 10:26:34 -04:00
greg-king5
a397a8c1a1 Added missing -O configuration. 2017-06-07 10:20:20 -04:00
Lauri Kasanen
ee49ecdf43 Expand tabs to spaces in lz4.s 2017-06-06 19:31:16 +03:00
Lauri Kasanen
e75a59d7a8 Add LZ4 decompression support 2017-06-06 18:48:25 +03:00
Oliver Schmidt
b8f30ba0de Merge pull request #436 from bbbradsmith/ca65_define_macro_doc
Small improvement to ca65 macro documentation
2017-06-05 15:03:37 +02:00
Oliver Schmidt
682fd226ae Merge pull request #442 from polluks/patch-6
Use verbosity
2017-06-03 22:06:27 +02:00
Oliver Schmidt
6549457929 Merge pull request #443 from polluks/patch-7
More POSIX.2, staying compatible
2017-06-03 22:05:10 +02:00
Oliver Schmidt
1a20630d2a Merge pull request #444 from polluks/patch-8
Verbosity was missing; POSIX operations
2017-06-03 22:04:52 +02:00