]> git.sur5r.net Git - cc65/log
cc65
5 years agoOnly write full ATARI XEX header in the first chunk.
Daniel Serpell [Tue, 25 Sep 2018 23:21:49 +0000 (20:21 -0300)]
Only write full ATARI XEX header in the first chunk.

5 years agoRemove unused function.
Daniel Serpell [Tue, 25 Sep 2018 23:21:35 +0000 (20:21 -0300)]
Remove unused function.

5 years agoAdd support for Atari XEX file format to LD65
Daniel Serpell [Tue, 25 Sep 2018 02:58:06 +0000 (23:58 -0300)]
Add support for Atari XEX file format to LD65

5 years agoFixed a note in "ca65.sgml".
Greg King [Wed, 30 Jan 2019 17:18:32 +0000 (12:18 -0500)]
Fixed a note in "ca65.sgml".

String escapes are converted to a target platform's encoding.

5 years agoadd more clearly what rom stratoric contains
jede [Wed, 30 Jan 2019 12:28:50 +0000 (13:28 +0100)]
add more clearly what rom stratoric contains

5 years agoUse Timer2 for mouse polling.
Christian Groessler [Tue, 29 Jan 2019 21:00:55 +0000 (22:00 +0100)]
Use Timer2 for mouse polling.

This follows a suggestion by Sijmen Schouten in issue #818.
Platoterm64 now works with mouse at 1200 baud.

Bump MOUSE_API_VERSION in asminc/mouse-kernel.inc.

Fix typo in testcode/lib/mouse-test.c.

5 years agofix uppercase
jede [Tue, 29 Jan 2019 19:46:16 +0000 (20:46 +0100)]
fix uppercase

5 years agofix comma in telestrat.sgml
jede [Sat, 26 Jan 2019 11:01:48 +0000 (12:01 +0100)]
fix comma in telestrat.sgml

5 years agofix doc/telestrat.sgml
jede [Sat, 26 Jan 2019 11:00:13 +0000 (12:00 +0100)]
fix doc/telestrat.sgml

5 years agofix uppercase command
jede [Sat, 26 Jan 2019 10:39:24 +0000 (11:39 +0100)]
fix uppercase command

5 years agoMerge branch 'master' into master
jedeoric [Fri, 25 Jan 2019 09:15:21 +0000 (10:15 +0100)]
Merge branch 'master' into master

5 years agoTelemon variables added
jede [Thu, 24 Jan 2019 22:07:49 +0000 (23:07 +0100)]
Telemon variables added

5 years agoComment the ATASCII to screen code conversion. 832/head
Piotr Fusik [Wed, 23 Jan 2019 18:02:26 +0000 (19:02 +0100)]
Comment the ATASCII to screen code conversion.

5 years agoOptimize the conversions from Atari ASCII to screen codes.
Piotr Fusik [Tue, 22 Jan 2019 23:05:31 +0000 (00:05 +0100)]
Optimize the conversions from Atari ASCII to screen codes.

5 years agoMerge pull request #829 from inexorabletash/string-escapes
Oliver Schmidt [Sun, 20 Jan 2019 20:58:06 +0000 (21:58 +0100)]
Merge pull request #829 from inexorabletash/string-escapes

ca65: Add string_escapes feature. Resolves #535

5 years agoCleaned up _pia.h register stuff a bit 831/head
Bill Kendrick [Fri, 18 Jan 2019 07:53:53 +0000 (23:53 -0800)]
Cleaned up _pia.h register stuff a bit

Most documentation say that most of the bits are normally set to 1 or 0,
so just mentioning that in the comments.

A.N.A.L.O.G. issue 59 (April 1988) "Bits & Pieces" column, "Atari Zucchini"
(https://www.atarimagazines.com/analog/issue59/bits_pieces.php) implies
that they are used for specific things, but it's not clear enough to be
useful (or specifically states "Too complex and not pertinent").

This is probably sufficient for most purposes; if any PIA / PACTL/PBCTL
experts pop up, they can tell us exactly how those 4 bits can be utilized.

5 years agoAtari colors into _gtia.h; NMIRES/NMIST as union
Bill Kendrick [Fri, 18 Jan 2019 06:44:25 +0000 (22:44 -0800)]
Atari colors into _gtia.h; NMIRES/NMIST as union

Use a C "union" to give both read (NMIST) and write (NMIRES) labels
to their shared register in ANTIC. (h/t @groessler).

Consolodate duplicated color definitions (HUE_..., COLOR_... and TGI_COLOR_...;
and the "_gtia_mkcolor()" macro), found in both "atari.h" and "atari5200.h",
moving it to "_gtia.h", which they both share (and which makes the most sense).

5 years agoatari.h: Shadow registers for hardware registers
Bill Kendrick [Thu, 17 Jan 2019 08:23:04 +0000 (00:23 -0800)]
atari.h: Shadow registers for hardware registers

5 years agoComment adjustments; removed surperfluous keycodes
Bill Kendrick [Thu, 17 Jan 2019 07:29:41 +0000 (23:29 -0800)]
Comment adjustments; removed surperfluous keycodes

Cleaned up comments in Atari 8-bit headers.
Internal keycodes (POKEY's KBCODE) were already #defined in atari.h,
so didn't need a whole new set in _pokey.h.

5 years agoRelocate register values outside structs, + more
Bill Kendrick [Tue, 15 Jan 2019 09:24:12 +0000 (01:24 -0800)]
Relocate register values outside structs, + more

Relocated register #define'd values outside of the structs,
improved comment format, expanded & corrected some things.

h/t Trevin Beattie (https://user.xmission.com/~trevin/) for the PIA
register descriptions.

5 years agoAdjustments per most feedback on cc65 PR 831
Bill Kendrick [Tue, 15 Jan 2019 04:47:05 +0000 (20:47 -0800)]
Adjustments per most feedback on cc65 PR 831

(I appreciate the feedback!)

5 years agoSome PIA register #defines
Bill Kendrick [Mon, 14 Jan 2019 05:31:18 +0000 (21:31 -0800)]
Some PIA register #defines

Some register #defines for PIA.

(Some may be too Atari-centric -- I know PIA chip was used by PET &
perhaps other platforms supported by cc65.  If so, perhaps we can
define them elsewhere.  Not sure whether they'd be the same for 5200;
I admit I know zilch about that system except that it's _more or less_
an Atari 400)

5 years agoPOKEY: Add register #defines & internal kybd codes
Bill Kendrick [Mon, 14 Jan 2019 04:32:55 +0000 (20:32 -0800)]
POKEY: Add register #defines & internal kybd codes

Add #defines for certain registers' values.
Also add #defines for internal keyboard codes (unrelated to ATASCII;
e.g. [Q] = 47, [W] = 46, [Shift] adds 64, etc), as seen in KBCODE.

5 years agoNote about hues varying depending on environment
Bill Kendrick [Sun, 13 Jan 2019 09:59:41 +0000 (01:59 -0800)]
Note about hues varying depending on environment

There aren't really standard color names (e.g., Compute!'s Mapping the Atari and First Book of Atari Graphics have different names), and exact colors shown depend on the system & device, anyway. Added a note.

5 years agoTweaks to description of ANTIC chip in _antic.h
Bill Kendrick [Sun, 13 Jan 2019 09:58:10 +0000 (01:58 -0800)]
Tweaks to description of ANTIC chip in _antic.h

Tweak to comments at the top

5 years agoAdded #defines for GTIA register values
Bill Kendrick [Sun, 13 Jan 2019 09:57:21 +0000 (01:57 -0800)]
Added #defines for GTIA register values

5 years agoAdd more register #defines to ANTIC header file
Bill Kendrick [Sun, 13 Jan 2019 08:31:31 +0000 (00:31 -0800)]
Add more register #defines to ANTIC header file

 * DMACTL - playfield size, DMA access, PMG resolution
 * CHACTL - inverted text, inverse effects
 * NMIEN

Also, added #define equivalents for Display List mode line instructions
based on Atari 8-bit OS (aka Atari BASIC "GRAPHICS" command) values
(e.g., "DL_GRAPHICS0" == "DL_CHR40x8x1").

Added some more documentation in the comments.

Added macros with assembly language for the start/end of Display List
Interrupt (DLI) functions.

5 years agoChanged most "backticks" (grave accents) into apostrophes.
Greg King [Sat, 5 Jan 2019 19:57:12 +0000 (14:57 -0500)]
Changed most "backticks" (grave accents) into apostrophes.

Quotations that are embraced by tick marks now look better, in most fonts.

5 years agoca65: Add string_escapes feature. Resolves #535 829/head
Joshua Bell [Sat, 5 Jan 2019 19:29:54 +0000 (11:29 -0800)]
ca65: Add string_escapes feature. Resolves #535

5 years agoAdded an error message, in case there's a typo in the definitions of long command...
Greg King [Fri, 4 Jan 2019 08:35:49 +0000 (03:35 -0500)]
Added an error message, in case there's a typo in the definitions of long command-line options.

5 years agoFixed a duplicate-label test.
Greg King [Fri, 4 Jan 2019 07:29:17 +0000 (02:29 -0500)]
Fixed a duplicate-label test.

Don't call strcmp() if either argument is NULL.

5 years agoAdded, to Plus4 and GEOS linker configure files, the ability to set the start and...
Greg King [Thu, 3 Jan 2019 15:49:56 +0000 (10:49 -0500)]
Added, to Plus4 and GEOS linker configure files, the ability to set the start and end addresses of the program region.

5 years agoMerge pull request #828 from Marrin/marrin-docfix
Oliver Schmidt [Wed, 2 Jan 2019 20:17:55 +0000 (21:17 +0100)]
Merge pull request #828 from Marrin/marrin-docfix

Fixed documented return type.

5 years agoFixed documented return type. 828/head
Marrin [Wed, 2 Jan 2019 11:06:01 +0000 (12:06 +0100)]
Fixed documented return type.

5 years agofix for err blank line removal
Scott Hutter [Sun, 30 Dec 2018 17:48:16 +0000 (11:48 -0600)]
fix for err blank line removal

5 years agoMoved contents of SetNewMode doc
Scott Hutter [Sun, 30 Dec 2018 17:39:40 +0000 (11:39 -0600)]
Moved contents of SetNewMode doc

5 years agoremoved fastcall from SetNewMode
Scott Hutter [Sun, 30 Dec 2018 17:33:45 +0000 (11:33 -0600)]
removed fastcall from SetNewMode

5 years agocorrected text formatting
Scott Hutter [Sun, 30 Dec 2018 11:30:46 +0000 (05:30 -0600)]
corrected text formatting

5 years agomoved to better folder location
Scott Hutter [Sun, 30 Dec 2018 11:23:17 +0000 (05:23 -0600)]
moved to better folder location

5 years agoIssue 814
Scott Hutter [Tue, 18 Dec 2018 22:16:22 +0000 (16:16 -0600)]
Issue 814

5 years agoSetNewMode() documentation = issue #814
Scott Hutter [Tue, 18 Dec 2018 17:15:45 +0000 (11:15 -0600)]
SetNewMode() documentation = issue #814

5 years agoAdded SetNewMode() to geoslib - #814
Scott Hutter [Tue, 18 Dec 2018 17:09:06 +0000 (11:09 -0600)]
Added SetNewMode() to geoslib  - #814

5 years agochange reference to $0200FF to $0200xx
Paul Gardner-Stephen [Sat, 29 Dec 2018 11:49:51 +0000 (22:19 +1030)]
change reference to $0200FF to $0200xx

5 years agoremove redundant line
Paul Gardner-Stephen [Fri, 28 Dec 2018 13:38:54 +0000 (00:08 +1030)]
remove redundant line

5 years agouse pre-existing ZP storage. Make 32-bit pointer value loading more self-evident
Paul Gardner-Stephen [Fri, 28 Dec 2018 13:37:29 +0000 (00:07 +1030)]
use pre-existing ZP storage. Make 32-bit pointer value loading more self-evident

5 years agoadd support for detecting 45GS02
Paul Gardner-Stephen [Thu, 27 Dec 2018 00:20:25 +0000 (10:50 +1030)]
add support for detecting 45GS02

5 years agoAdded missing external declaration of c64_65816_emd.
Marc Rintsch [Thu, 20 Dec 2018 12:07:25 +0000 (13:07 +0100)]
Added missing external declaration of c64_65816_emd.

5 years agoNow tgi_clear() works
jede [Mon, 10 Dec 2018 20:48:09 +0000 (21:48 +0100)]
Now tgi_clear() works

5 years agoFixed typo.
Oliver Schmidt [Mon, 3 Dec 2018 11:52:00 +0000 (12:52 +0100)]
Fixed typo.

5 years agoAdded SER_ prefix. Whitespace cleanup
Olli Savia [Mon, 26 Nov 2018 20:36:22 +0000 (22:36 +0200)]
Added SER_ prefix. Whitespace cleanup

5 years agoAdded SER_ prefix. Whitespace cleanup
Olli Savia [Mon, 26 Nov 2018 20:32:49 +0000 (22:32 +0200)]
Added SER_ prefix. Whitespace cleanup

5 years agoAdded SER_ prefix. Whitespace cleanup
Olli Savia [Mon, 26 Nov 2018 20:28:40 +0000 (22:28 +0200)]
Added SER_ prefix. Whitespace cleanup

5 years agoAdded SER_ prefix. Whitespace cleanup
Olli Savia [Mon, 26 Nov 2018 20:23:11 +0000 (22:23 +0200)]
Added SER_ prefix. Whitespace cleanup

5 years agoAdded SER_ prefix. Whitespace cleanup
Olli Savia [Mon, 26 Nov 2018 20:18:26 +0000 (22:18 +0200)]
Added SER_ prefix. Whitespace cleanup

5 years agoAdded SER_ prefix. Whitespace cleanup
Olli Savia [Mon, 26 Nov 2018 20:12:28 +0000 (22:12 +0200)]
Added SER_ prefix. Whitespace cleanup

5 years agoAdded SER_ prefix. Whitespace cleanup
Olli Savia [Mon, 26 Nov 2018 20:01:04 +0000 (22:01 +0200)]
Added SER_ prefix. Whitespace cleanup

5 years agoAdded SER_ prefix
Olli Savia [Mon, 26 Nov 2018 19:41:44 +0000 (21:41 +0200)]
Added SER_ prefix

5 years agoChanged prefix SWL_ to SER_
Olli Savia [Mon, 26 Nov 2018 19:31:12 +0000 (21:31 +0200)]
Changed prefix SWL_ to SER_

5 years agoUpdated to use cbm_kernal.inc. Whitespace cleanups
Olli Savia [Sun, 25 Nov 2018 08:46:05 +0000 (10:46 +0200)]
Updated to use cbm_kernal.inc. Whitespace cleanups

5 years agoMoved kernal entries to cbm_kernal.inc
Olli Savia [Sun, 25 Nov 2018 08:28:37 +0000 (10:28 +0200)]
Moved kernal entries to cbm_kernal.inc

5 years agoUpdated Visual Studio solution files to VS 2017.
Oliver Schmidt [Sat, 24 Nov 2018 13:10:58 +0000 (14:10 +0100)]
Updated Visual Studio solution files to VS 2017.

6 years agoatari.sgml: use consistent naming for realtime clock.
Christian Groessler [Fri, 16 Nov 2018 14:22:02 +0000 (15:22 +0100)]
atari.sgml: use consistent naming for realtime clock.

6 years agoSome documentation fixes
Christian Groessler [Thu, 15 Nov 2018 22:06:47 +0000 (23:06 +0100)]
Some documentation fixes

- gamate.sgml: remove empty section "Hardware access"
- telestrat.sgml: remove wrong "<descrip>" tags

6 years agoatari.sgml: fix typo
Christian Groessler [Thu, 15 Nov 2018 21:47:48 +0000 (22:47 +0100)]
atari.sgml: fix typo

6 years agoatari.sgml: Add documentation for Atari clock_... functions implementation.
Christian Groessler [Thu, 15 Nov 2018 21:25:38 +0000 (22:25 +0100)]
atari.sgml: Add documentation for Atari clock_... functions implementation.

6 years agoReplaced systime() with clock_gettime().
Oliver Schmidt [Fri, 16 Nov 2018 11:54:26 +0000 (12:54 +0100)]
Replaced systime() with clock_gettime().

6 years agoFixed reference to clock_settime().
Oliver Schmidt [Fri, 16 Nov 2018 11:45:45 +0000 (12:45 +0100)]
Fixed reference to clock_settime().

6 years agoFixed typo.
Oliver Schmidt [Wed, 14 Nov 2018 17:02:56 +0000 (18:02 +0100)]
Fixed typo.

6 years agoAdded target docs on the clock_... functions.
Oliver Schmidt [Tue, 13 Nov 2018 17:31:53 +0000 (18:31 +0100)]
Added target docs on the clock_... functions.

6 years agoFixed two typos.
Oliver Schmidt [Tue, 13 Nov 2018 15:47:53 +0000 (16:47 +0100)]
Fixed two typos.

6 years agoCode review aftermath 2: Put defines into parentheses
IrgendwerA8 [Sun, 11 Nov 2018 18:25:06 +0000 (19:25 +0100)]
Code review aftermath 2: Put defines into parentheses

6 years agoAdaptations due to code review.
IrgendwerA8 [Thu, 8 Nov 2018 07:29:56 +0000 (08:29 +0100)]
Adaptations due to code review.

6 years agoSupport for self explanatory KBCODE values
IrgendwerA8 [Wed, 7 Nov 2018 22:05:05 +0000 (23:05 +0100)]
Support for self explanatory KBCODE values

6 years agoAdded VIC control register names
Olli Savia [Sat, 10 Nov 2018 14:55:55 +0000 (16:55 +0200)]
Added VIC control register names

6 years agoUpdate doc (how telestrat works), tgi_outtext doc added
jede [Sat, 10 Nov 2018 13:54:43 +0000 (14:54 +0100)]
Update doc (how telestrat works), tgi_outtext doc added

6 years agoFix duplicated variables
jede [Fri, 9 Nov 2018 23:54:58 +0000 (00:54 +0100)]
Fix duplicated variables

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 agoFix duplicated variables 794/head
jede [Fri, 9 Nov 2018 23:54:58 +0000 (00:54 +0100)]
Fix duplicated variables

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'