]> git.sur5r.net Git - cc65/log
cc65
6 years agoStratsed vectors added
jede [Fri, 9 Nov 2018 23:47:09 +0000 (00:47 +0100)]
Stratsed vectors added

6 years agoSome variables from TELEMON 2.4 added
jede [Fri, 9 Nov 2018 23:10:37 +0000 (00:10 +0100)]
Some variables from TELEMON 2.4 added

6 years agoSaved 2 bytes and fixed error in case of negative result.
IrgendwerA8 [Fri, 9 Nov 2018 14:56:16 +0000 (15:56 +0100)]
Saved 2 bytes and fixed error in case of negative result.

6 years agoMade div-test.c use doesclrscrafterexit().
Greg King [Fri, 9 Nov 2018 22:11:03 +0000 (17:11 -0500)]
Made div-test.c use doesclrscrafterexit().

It no longer waits for a key tap if it doesn't need to do that.

Also, normalized the source code formatting.

6 years agoAdded basic docs on the clock_... functions.
Oliver Schmidt [Thu, 8 Nov 2018 19:43:46 +0000 (20:43 +0100)]
Added basic docs on the clock_... functions.

6 years agoUpdated URLs.
Oliver Schmidt [Tue, 6 Nov 2018 10:57:57 +0000 (11:57 +0100)]
Updated URLs.

6 years agoAdjusted comments to match actual prototypes.
Oliver Schmidt [Tue, 6 Nov 2018 10:13:23 +0000 (11:13 +0100)]
Adjusted comments to match actual prototypes.

6 years agoAdd definitions in telestrat.inc (TELEMON 2.4)
jede [Thu, 1 Nov 2018 16:45:51 +0000 (17:45 +0100)]
Add definitions in telestrat.inc (TELEMON 2.4)

6 years agoFixed the Plus4's serial driver's ACIA address.
Greg King [Tue, 23 Oct 2018 23:52:23 +0000 (19:52 -0400)]
Fixed the Plus4's serial driver's ACIA address.

6 years ago.byt "" emits no data; avoid a ca65 crash.
Greg King [Sat, 20 Oct 2018 17:40:16 +0000 (13:40 -0400)]
.byt "" emits no data; avoid a ca65 crash.

Fixes #775 on GitHub.

6 years agoFix comments and TELEMON uppercase
jede [Fri, 19 Oct 2018 21:21:16 +0000 (23:21 +0200)]
Fix comments and TELEMON uppercase

6 years agoCorrect grab default value
jede [Thu, 18 Oct 2018 21:57:21 +0000 (23:57 +0200)]
Correct grab default value

6 years agoupdate ld65.sgml with telestrat target
jede [Thu, 18 Oct 2018 21:48:20 +0000 (23:48 +0200)]
update ld65.sgml with telestrat target

6 years agoBy default, we get the memory reserved for hires mode
jede [Wed, 17 Oct 2018 20:36:00 +0000 (22:36 +0200)]
By default, we get the memory reserved for hires mode

6 years agoClean wherey.s
jede [Wed, 17 Oct 2018 20:13:24 +0000 (22:13 +0200)]
Clean wherey.s

6 years agoCleaning telestrat.cfg (no need to have bashead segment). Some primitives added
jede [Wed, 17 Oct 2018 19:12:05 +0000 (21:12 +0200)]
Cleaning telestrat.cfg (no need to have bashead segment). Some primitives added

6 years agoRemove BASHEAD segment which is not useful
jede [Tue, 18 Sep 2018 19:52:37 +0000 (21:52 +0200)]
Remove BASHEAD segment which is not useful

6 years ago'--no-std-lib' was renamed to '--no-target-lib'
Evgeny Vrublevsky [Fri, 19 Oct 2018 08:46:48 +0000 (11:46 +0300)]
'--no-std-lib' was renamed to '--no-target-lib'

6 years agoDon't output a warning about alignment when section address is defined by START or...
Evgeny Vrublevsky [Wed, 17 Oct 2018 19:05:21 +0000 (22:05 +0300)]
Don't output a warning about alignment when section address is defined by START or OFFSET and fits required alignment requirements

6 years agoAdjusted library name.
Oliver Schmidt [Thu, 18 Oct 2018 11:22:26 +0000 (13:22 +0200)]
Adjusted library name.

6 years agoRenamed to '--no-std-lib'
Evgeny Vrublevsky [Thu, 18 Oct 2018 10:16:48 +0000 (13:16 +0300)]
Renamed to '--no-std-lib'

6 years agoRenamed to '--no-crt-lib'
Evgeny Vrublevsky [Thu, 18 Oct 2018 09:54:15 +0000 (12:54 +0300)]
Renamed to '--no-crt-lib'

6 years agoCL65: --no-rtl option for disabling default runtime library
Evgeny Vrublevsky [Wed, 17 Oct 2018 21:07:37 +0000 (00:07 +0300)]
CL65: --no-rtl option for disabling default runtime library

6 years agoca65.sgml fails to document z: a: f: address size override prefixes.
Brad Smith [Thu, 18 Oct 2018 01:27:21 +0000 (21:27 -0400)]
ca65.sgml fails to document z: a: f: address size override prefixes.

6 years agoPost-review tweaks.
laubzega [Tue, 16 Oct 2018 06:08:44 +0000 (23:08 -0700)]
Post-review tweaks.

6 years agoTypo
laubzega [Sun, 14 Oct 2018 08:21:34 +0000 (01:21 -0700)]
Typo

6 years agoEven more optimization, cleanup, bugfix, comments.
laubzega [Sun, 14 Oct 2018 08:07:59 +0000 (01:07 -0700)]
Even more optimization, cleanup, bugfix, comments.

6 years agoStack adjustment code optimizations.
laubzega [Sat, 13 Oct 2018 07:05:33 +0000 (00:05 -0700)]
Stack adjustment code optimizations.

6 years agoFormatting tweaks.
laubzega [Tue, 16 Oct 2018 05:20:12 +0000 (22:20 -0700)]
Formatting tweaks.

6 years agoTestcase added.
laubzega [Sun, 14 Oct 2018 21:10:59 +0000 (14:10 -0700)]
Testcase added.

6 years agoFix for issue #735
laubzega [Sun, 14 Oct 2018 20:53:14 +0000 (13:53 -0700)]
Fix for issue #735

6 years agoChanged a comment and an error message into more specific text.
Greg King [Tue, 9 Oct 2018 00:39:46 +0000 (20:39 -0400)]
Changed a comment and an error message into more specific text.

6 years agoFix crash due to mistaken symbol identity.
laubzega [Thu, 4 Oct 2018 04:59:19 +0000 (21:59 -0700)]
Fix crash due to mistaken symbol identity.

6 years agoMerged pull request #771 from DankRank/master.
greg-king5 [Mon, 8 Oct 2018 05:24:04 +0000 (01:24 -0400)]
Merged pull request #771 from DankRank/master.

da65: properly scan empty strings in info file.

6 years agoda65: properly scan empty strings 771/head
Egor [Sat, 6 Oct 2018 15:30:35 +0000 (18:30 +0300)]
da65: properly scan empty strings

Previously, doing something like `LABEL { NAME ""; ADDR $1000; };` would
result in $1000 being labeled as NAME: instead of being unnamed.

6 years agoAlways put goto stack-adjustments in the RODATA segment.
Greg King [Wed, 3 Oct 2018 03:19:38 +0000 (23:19 -0400)]
Always put goto stack-adjustments in the RODATA segment.

6 years agoMinor style adjustment.
Oliver Schmidt [Tue, 2 Oct 2018 16:53:01 +0000 (18:53 +0200)]
Minor style adjustment.

6 years agoTestcase .ref updated for new warning style.
laubzega [Sun, 30 Sep 2018 21:30:48 +0000 (14:30 -0700)]
Testcase .ref updated for new warning style.

6 years agoFormatting fixes.
laubzega [Sun, 30 Sep 2018 21:22:23 +0000 (14:22 -0700)]
Formatting fixes.

6 years agoFix non-goto jumps (i.e. inline assembly).
laubzega [Sat, 29 Sep 2018 19:06:33 +0000 (12:06 -0700)]
Fix non-goto jumps (i.e. inline assembly).

6 years agoAnother warning.
laubzega [Sat, 29 Sep 2018 05:25:22 +0000 (22:25 -0700)]
Another warning.

6 years agoFix a warning.
laubzega [Sat, 29 Sep 2018 05:17:49 +0000 (22:17 -0700)]
Fix a warning.

6 years agoProper warnings for "risky" gotos.
laubzega [Sat, 29 Sep 2018 05:11:09 +0000 (22:11 -0700)]
Proper warnings for "risky" gotos.

6 years agoClean-up
laubzega [Wed, 26 Sep 2018 07:11:40 +0000 (00:11 -0700)]
Clean-up

6 years agoAdded testcase for between-blocks gotos.
laubzega [Wed, 26 Sep 2018 06:54:45 +0000 (23:54 -0700)]
Added testcase for between-blocks gotos.
Deleted old testcase.

6 years agoAdjust SP on gotos between blocks with local variables.
laubzega [Tue, 25 Sep 2018 07:56:08 +0000 (00:56 -0700)]
Adjust SP on gotos between blocks with local variables.

6 years agoSwitched from warning to error. Tightened the testcase.
laubzega [Sun, 23 Sep 2018 23:22:59 +0000 (16:22 -0700)]
Switched from warning to error. Tightened the testcase.

6 years agoMissed the comment.
Laubzega [Sat, 22 Sep 2018 05:25:05 +0000 (22:25 -0700)]
Missed the comment.

6 years agoAdd a testcase for https://github.com/cc65/cc65/pull/757
Laubzega [Sat, 22 Sep 2018 05:23:21 +0000 (22:23 -0700)]
Add a testcase for https://github.com/cc65/cc65/pull/757

6 years agoMinor changes after review.
Laubzega [Sat, 22 Sep 2018 04:10:58 +0000 (21:10 -0700)]
Minor changes after review.

6 years agoFix for variableless main().
Laubzega [Fri, 21 Sep 2018 08:17:29 +0000 (01:17 -0700)]
Fix for variableless main().

6 years agoAdd checks for risky goto statements.
Laubzega [Fri, 21 Sep 2018 07:40:05 +0000 (00:40 -0700)]
Add checks for risky goto statements.

6 years agoAtari: implement clock_getres()
Christian Groessler [Thu, 27 Sep 2018 18:22:21 +0000 (20:22 +0200)]
Atari: implement clock_getres()

6 years agoAtari: add support for BW-DOS. Initially contributed by Daniel Serpell.
Christian Groessler [Thu, 27 Sep 2018 15:37:59 +0000 (17:37 +0200)]
Atari: add support for BW-DOS. Initially contributed by Daniel Serpell.

6 years agoclock-test.c: remove "static" optimization
Christian Groessler [Tue, 25 Sep 2018 18:26:25 +0000 (20:26 +0200)]
clock-test.c: remove "static" optimization

6 years agoclock-test.c: do doesclrscrafterexit() handling the canonical way.
Christian Groessler [Tue, 25 Sep 2018 12:35:52 +0000 (14:35 +0200)]
clock-test.c: do doesclrscrafterexit() handling the canonical way.

6 years agoasminc/atari.inc: remove TABs which slipped in
Christian Groessler [Tue, 25 Sep 2018 01:05:30 +0000 (03:05 +0200)]
asminc/atari.inc: remove TABs which slipped in

6 years agoAdd testcode/lib/clock-test.c.
Christian Groessler [Tue, 25 Sep 2018 00:47:45 +0000 (02:47 +0200)]
Add testcode/lib/clock-test.c.

A test program for the "clock" functions.

6 years agoAtari: clock_gettime() and clock_settime() implementations
Christian Groessler [Tue, 25 Sep 2018 00:42:45 +0000 (02:42 +0200)]
Atari: clock_gettime() and clock_settime() implementations

They are using SpartaDOS-X interfaces and are therefore only working
in this environment.

6 years agoasminc/atari.inc: add some SpartaDOS-X defines
Christian Groessler [Tue, 25 Sep 2018 00:31:49 +0000 (02:31 +0200)]
asminc/atari.inc: add some SpartaDOS-X defines

6 years agolibsrc/atari/getdefdev.s: small comment change
Christian Groessler [Thu, 20 Sep 2018 21:58:23 +0000 (23:58 +0200)]
libsrc/atari/getdefdev.s: small comment change

6 years agoAdjusted URL to use https (and removed obsolete dates).
Oliver Schmidt [Thu, 20 Sep 2018 10:42:15 +0000 (12:42 +0200)]
Adjusted URL to use https (and removed obsolete dates).

6 years agoSwitch to https links.
Oliver Schmidt [Thu, 20 Sep 2018 10:21:58 +0000 (12:21 +0200)]
Switch to https links.

Most targets redirected to https anyway.

6 years agoThe doc now lives in the 'master' branch of the 'doc' project.
Oliver Schmidt [Tue, 18 Sep 2018 21:37:25 +0000 (23:37 +0200)]
The doc now lives in the 'master' branch of the 'doc' project.

6 years agolibsrc/atari/getdefdev.s: small optimization and fix a typo
Christian Groessler [Fri, 14 Sep 2018 14:54:20 +0000 (16:54 +0200)]
libsrc/atari/getdefdev.s: small optimization and fix a typo

6 years agoMerge pull request #740 from laubzega/master
greg-king5 [Fri, 14 Sep 2018 04:59:47 +0000 (00:59 -0400)]
Merge pull request #740 from laubzega/master

Add segment type "overwrite".

6 years agoAtari: Make a good "default device" on AtariDOS (2.0 and 2.5) and MyDOS.
Christian Groessler [Thu, 13 Sep 2018 20:33:54 +0000 (22:33 +0200)]
Atari: Make a good "default device" on AtariDOS (2.0 and 2.5) and MyDOS.

The default device will be the one the program was loaded from instead of
always D1:.

6 years agoFixed reference link. 740/head
Laubzega [Thu, 13 Sep 2018 06:51:38 +0000 (23:51 -0700)]
Fixed reference link.

6 years agoSlight fixes to the documentation.
Laubzega [Wed, 12 Sep 2018 05:14:45 +0000 (22:14 -0700)]
Slight fixes to the documentation.

6 years agofix comment in last change
Christian Groessler [Tue, 11 Sep 2018 23:20:12 +0000 (01:20 +0200)]
fix comment in last change

6 years agoatarixl: check at startup whether RAM beneath the ROM is in use
Christian Groessler [Tue, 11 Sep 2018 23:05:52 +0000 (01:05 +0200)]
atarixl: check at startup whether RAM beneath the ROM is in use

If detected, the program refuses to run, preventing a crash.
The check only works with SpartaDOS. I don't have an overview which
DOSes potentially use the RAM under the ROM. Or which other installed
programs might use it.

No additional runtime memory space is consumed, since the change
is in the "system check" load chunk which gets replaced by the
user program during loading.

6 years agoFirst cut of "overwrite" segment docs.
Laubzega [Sun, 9 Sep 2018 02:20:01 +0000 (19:20 -0700)]
First cut of "overwrite" segment docs.

6 years agoNew segment type renamed to "overwrite".
Laubzega [Sun, 9 Sep 2018 02:18:41 +0000 (19:18 -0700)]
New segment type renamed to "overwrite".

6 years agoAdded hint random number generator hint.
Oliver Schmidt [Sat, 8 Sep 2018 21:59:39 +0000 (23:59 +0200)]
Added hint random number generator hint.

6 years agoProtect random counter against ProDOS.
Oliver Schmidt [Sat, 8 Sep 2018 21:29:59 +0000 (23:29 +0200)]
Protect random counter against ProDOS.

Although documented nowhere (!!!) ProDOS trashes the random counter locations $4E/$4F. Is discovered this because my TCP connections didn't have random local ports.

It's a really funny coincidence that David Finnigan discovered only 3 years ago the very same issue because of the very same reason: https://groups.google.com/forum/#!topic/comp.sys.apple2.programmer/1ciep_Oetvo

6 years agoJust removed some trailing spaces.
Oliver Schmidt [Sat, 8 Sep 2018 21:14:54 +0000 (23:14 +0200)]
Just removed some trailing spaces.

6 years agoSupport randomize().
Oliver Schmidt [Sat, 8 Sep 2018 16:44:30 +0000 (18:44 +0200)]
Support randomize().

In order to have randomize() work as expected (and the Apple II random number generation in general) it is necessary to update the random counter during keypress wait just like the ROM function does.

6 years agoAtari: RealDOS adaptations
Christian Groessler [Thu, 6 Sep 2018 13:55:07 +0000 (15:55 +0200)]
Atari: RealDOS adaptations

RealDOS is a SpartaDOS clone. Handle it the same way as SpartaDOS.

6 years agoAtari: Add detection of RealDOS (http://www.realdos.net/realdos.html).
Christian Groessler [Wed, 5 Sep 2018 23:10:47 +0000 (01:10 +0200)]
Atari: Add detection of RealDOS (http://www.realdos.net/realdos.html).

6 years agoRename more stuff from "overlay" to "replace".
Laubzega [Thu, 6 Sep 2018 07:18:39 +0000 (00:18 -0700)]
Rename more stuff from "overlay" to "replace".

6 years agoAtari: atarixl config files already had a LOWBSS segment.
Christian Groessler [Tue, 4 Sep 2018 09:44:04 +0000 (11:44 +0200)]
Atari: atarixl config files already had a LOWBSS segment.

6 years agoAtari: atari-cart.cfg: There's a simpler way to discard the contents of the LOWBSS...
Christian Groessler [Tue, 4 Sep 2018 09:32:40 +0000 (11:32 +0200)]
Atari: atari-cart.cfg: There's a simpler way to discard the contents of the LOWBSS segment.

Thanks to Greg King for the hint.

6 years agoAtari: fix interrupt handling if extended memory is banked in
Christian Groessler [Sun, 2 Sep 2018 21:07:03 +0000 (23:07 +0200)]
Atari: fix interrupt handling if extended memory is banked in

Extendend memory is mapped over the main memory in the 0x4000..0x7FFF
area. Many DOSes disable interrupts while extended memory is banked in,
but not all (e.g. SpartaDOS-X).
This change modifies the initial interrupt handler to map in main memory
before chaining to the "worker" handlers.
Since the initial interrupt handler uses a data segment to store the
trampoline to chain to the original handler, introduce a new "LOWBSS"
segment to hold this trampoline. Otherwise the trampoline may end up
inside the 0x4000..0x7FFF area.

Add a link time warning if "LOWCODE" segment lays within the extended
memory window.

6 years agoAtari, Atari5200: disable "attract mode" on mouse or joystick input
Christian Groessler [Tue, 4 Sep 2018 21:08:38 +0000 (23:08 +0200)]
Atari, Atari5200: disable "attract mode" on mouse or joystick input

Fixes #736.

6 years agoSegment OVERLAY renamed to REPLACE. Bugfix for read-only segments. Formatting.
Laubzega [Tue, 4 Sep 2018 07:34:28 +0000 (00:34 -0700)]
Segment OVERLAY renamed to REPLACE. Bugfix for read-only segments. Formatting.

6 years agoJust a minor comment improvement.
Oliver Schmidt [Sun, 2 Sep 2018 21:06:27 +0000 (23:06 +0200)]
Just a minor comment improvement.

6 years agoFixed bugs; and, improved the efficiency of some pce library functions.
Greg King [Thu, 26 Nov 2015 20:06:20 +0000 (15:06 -0500)]
Fixed bugs; and, improved the efficiency of some pce library functions.

6 years agoFixed and improved some pce comments.
Greg King [Tue, 17 Nov 2015 14:14:15 +0000 (09:14 -0500)]
Fixed and improved some pce comments.

6 years agoFixed some mistakes (mostly in the documentation).
Greg King [Fri, 2 Oct 2015 17:28:17 +0000 (13:28 -0400)]
Fixed some mistakes (mostly in the documentation).

6 years agoStyle changes.
Greg King [Fri, 2 Oct 2015 14:50:22 +0000 (10:50 -0400)]
Style changes.

6 years agoUsed I/O mirror locations that avoid (redirected) zero-page accesses.
Greg King [Tue, 29 Sep 2015 16:39:58 +0000 (12:39 -0400)]
Used I/O mirror locations that avoid (redirected) zero-page accesses.

6 years agoDocument style clean-up.
Greg King [Wed, 29 Aug 2018 19:43:20 +0000 (15:43 -0400)]
Document style clean-up.

6 years agoMoved the NES font into its own object module.
Greg King [Wed, 29 Aug 2018 16:13:58 +0000 (12:13 -0400)]
Moved the NES font into its own object module.

It can be replaced by a custom font when a program is built.

6 years agoMerge pull request #706 from xlar54/master
greg-king5 [Wed, 29 Aug 2018 14:34:05 +0000 (10:34 -0400)]
Merge pull request #706 from xlar54/master

* tgi driver for c128 VIC-II

* Made the VIC-IIe TGI driver put its bitmap behind the ROMs.

* c128-hi.tgi doc

6 years agoFix for multiple overlay segments.
Laubzega [Sun, 26 Aug 2018 03:21:12 +0000 (20:21 -0700)]
Fix for multiple overlay segments.

6 years agoAdd segment type "overlay". 739/head
Laubzega [Sat, 25 Aug 2018 17:18:23 +0000 (10:18 -0700)]
Add segment type "overlay".

6 years agoAtari5200 joystick driver: enable POT input.
Christian Groessler [Fri, 24 Aug 2018 15:04:31 +0000 (17:04 +0200)]
Atari5200 joystick driver: enable POT input.

The "Atari800" emulator doesn't emulate this aspect, therefore the problem
wasn't noticed before.

6 years agoMade cc65's "Illegal escaped character" diagnostic show which code was escaped.
Greg King [Tue, 21 Aug 2018 12:55:49 +0000 (08:55 -0400)]
Made cc65's "Illegal escaped character" diagnostic show which code was escaped.

6 years agoUpdate crt0.s
Stefan [Tue, 21 Aug 2018 07:06:59 +0000 (09:06 +0200)]
Update crt0.s

6 years agoCMOS optimisation 3rd
Stefan [Mon, 20 Aug 2018 21:56:16 +0000 (21:56 +0000)]
CMOS optimisation 3rd

"The decimal flag D is cleared" [...]
http://shu.emuunlim.com/download/pcedocs/pce_cpu.html