]> git.sur5r.net Git - cc65/log
cc65
10 years agofix last change 125/head
Christian Groessler [Mon, 2 Jun 2014 06:41:35 +0000 (08:41 +0200)]
fix last change

10 years agouse DYN_DRV and MOUSE_DRIVER defines to decide which driver to use
Christian Groessler [Sun, 1 Jun 2014 17:17:02 +0000 (19:17 +0200)]
use DYN_DRV and MOUSE_DRIVER defines to decide which driver to use

10 years agoset DYN_DRV to 0; define atr5200std_joy
Christian Groessler [Sat, 31 May 2014 17:44:10 +0000 (19:44 +0200)]
set DYN_DRV to 0; define atr5200std_joy

10 years agoAdapt joy-test.c for Atari 5200 (only has 20x24 display)
Christian Groessler [Fri, 30 May 2014 21:38:27 +0000 (23:38 +0200)]
Adapt joy-test.c for Atari 5200 (only has 20x24 display)
Fix static driver name.

10 years agoMerge pull request #122 from groessler/a5200
Oliver Schmidt [Fri, 30 May 2014 20:52:51 +0000 (22:52 +0200)]
Merge pull request #122 from groessler/a5200

new target: Atari 5200 console

10 years agorename _antic.inc, _pokey.inc, _gtia.inc to atari_antic.inc, atari_pokey.inc, atari_g... 122/head
Christian Groessler [Fri, 30 May 2014 20:00:18 +0000 (22:00 +0200)]
rename _antic.inc, _pokey.inc, _gtia.inc to atari_antic.inc, atari_pokey.inc, atari_gtia.inc

10 years agomove atari5200 behind atari and atarixl in TARGETS list
Christian Groessler [Fri, 30 May 2014 11:39:09 +0000 (13:39 +0200)]
move atari5200 behind atari and atarixl in TARGETS list

10 years agoremove atari5200.mac
Christian Groessler [Fri, 30 May 2014 11:38:29 +0000 (13:38 +0200)]
remove atari5200.mac

10 years agoMerge pull request #123 from greg-king5/cbm-errors
Oliver Schmidt [Fri, 30 May 2014 08:22:01 +0000 (10:22 +0200)]
Merge pull request #123 from greg-king5/cbm-errors

Lengthen some CBM error messages.

10 years agoprovide CLK_TCK and CLOCKS_PER_SEC values for atari5200
Christian Groessler [Thu, 29 May 2014 11:23:45 +0000 (13:23 +0200)]
provide CLK_TCK and CLOCKS_PER_SEC values for atari5200

10 years agoUsed longer error text. 123/head
Greg King [Thu, 29 May 2014 03:01:48 +0000 (23:01 -0400)]
Used longer error text.

Added more codes and messages.

10 years agofix build error
Christian Groessler [Wed, 28 May 2014 23:50:41 +0000 (01:50 +0200)]
fix build error

10 years agoadd atari5200.h
Christian Groessler [Wed, 28 May 2014 22:42:54 +0000 (00:42 +0200)]
add atari5200.h

10 years agoremove unneeded ATASCII defs; add header
Christian Groessler [Wed, 28 May 2014 22:42:30 +0000 (00:42 +0200)]
remove unneeded ATASCII defs; add header

10 years agofix warning when generating info file
Christian Groessler [Wed, 28 May 2014 22:41:39 +0000 (00:41 +0200)]
fix warning when generating info file

10 years agouse atari target scrcode macro for atari5200 target, too
Christian Groessler [Wed, 28 May 2014 22:18:55 +0000 (00:18 +0200)]
use atari target scrcode macro for atari5200 target, too

10 years agodon't use scrcode for numbers
Christian Groessler [Wed, 28 May 2014 22:18:22 +0000 (00:18 +0200)]
don't use scrcode for numbers

10 years agoremove TABs
Christian Groessler [Wed, 28 May 2014 21:39:31 +0000 (23:39 +0200)]
remove TABs

10 years agocleanups and add comments
Christian Groessler [Wed, 28 May 2014 21:38:22 +0000 (23:38 +0200)]
cleanups and add comments

10 years agocheck trigger button (TRIGx); correctly report joystick count depending
Christian Groessler [Tue, 27 May 2014 22:35:49 +0000 (00:35 +0200)]
check trigger button (TRIGx); correctly report joystick count depending
on 5200 console version

10 years agosmall doc update
Christian Groessler [Tue, 27 May 2014 22:34:34 +0000 (00:34 +0200)]
small doc update

10 years agoMerge pull request #121 from groessler/something_to_pull
Oliver Schmidt [Tue, 27 May 2014 06:50:56 +0000 (08:50 +0200)]
Merge pull request #121 from groessler/something_to_pull

small optimization

10 years agomore doc updates for atari5200
Christian Groessler [Tue, 27 May 2014 00:44:59 +0000 (02:44 +0200)]
more doc updates for atari5200

10 years agoDon't reserve space for display list in __RESERVED_MEMORY__ since the
Christian Groessler [Tue, 27 May 2014 00:43:17 +0000 (02:43 +0200)]
Don't reserve space for display list in __RESERVED_MEMORY__ since the
default display list is in ROM.

10 years agosmall optimization 121/head
Christian Groessler [Mon, 26 May 2014 23:49:35 +0000 (01:49 +0200)]
small optimization

10 years agonot a dummy implementation anymore...
Christian Groessler [Mon, 26 May 2014 23:47:37 +0000 (01:47 +0200)]
not a dummy implementation anymore...

10 years agoMerge pull request #120 from greg-king5/cbm-errors
Oliver Schmidt [Mon, 26 May 2014 13:29:22 +0000 (15:29 +0200)]
Merge pull request #120 from greg-king5/cbm-errors

Update the CBM error tables.

10 years agoUpdated the CBM error tables. 120/head
Greg King [Mon, 26 May 2014 13:03:43 +0000 (09:03 -0400)]
Updated the CBM error tables.

* Added more mappings between DOS and C codes.
* Changed generic error messages into specific ones.

10 years agoMerge pull request #119 from greg-king5/strncpy-doc
Oliver Schmidt [Mon, 26 May 2014 11:19:08 +0000 (13:19 +0200)]
Merge pull request #119 from greg-king5/strncpy-doc

Update the function reference document.

10 years agoUpdated the function reference document. 119/head
Greg King [Mon, 26 May 2014 09:59:49 +0000 (05:59 -0400)]
Updated the function reference document.

* Fixed the description of strncpy().
* Added some [commented out] function names to the lists for some headers.

10 years agoMerge pull request #118 from greg-king5/quoted-token
Oliver Schmidt [Sun, 25 May 2014 21:22:12 +0000 (23:22 +0200)]
Merge pull request #118 from greg-king5/quoted-token

Add a quoted-token version of strtok().

10 years agoMore conforming to the cc65 project's apparent writing style. 118/head
Greg King [Fri, 23 May 2014 20:52:02 +0000 (16:52 -0400)]
More conforming to the cc65 project's apparent writing style.

10 years agoConformed to the cc65 project's coding style.
Greg King [Fri, 23 May 2014 04:35:19 +0000 (00:35 -0400)]
Conformed to the cc65 project's coding style.

10 years agoSlightly refined the strqtok() documentation.
Greg King [Thu, 22 May 2014 17:58:51 +0000 (13:58 -0400)]
Slightly refined the strqtok() documentation.

10 years agoAdded an attribution.
Greg King [Thu, 22 May 2014 17:42:15 +0000 (13:42 -0400)]
Added an attribution.

10 years agoDocumented strqtok().
Greg King [Thu, 22 May 2014 15:18:30 +0000 (11:18 -0400)]
Documented strqtok().

10 years agoMerge pull request #117 from groessler/something_to_pull
Oliver Schmidt [Thu, 22 May 2014 07:36:10 +0000 (09:36 +0200)]
Merge pull request #117 from groessler/something_to_pull

Set the "simple" bit in the .o65 mode word only if text, data, and bss are adjacent.

10 years agoSet the "simple" bit in the .o65 mode word only if text, data, and bss 117/head
Christian Groessler [Wed, 21 May 2014 21:43:56 +0000 (23:43 +0200)]
Set the "simple" bit in the .o65 mode word only if text, data, and bss
are adjacent.

10 years agoAdded a quoted-token parsing function.
Greg King [Tue, 20 May 2014 20:33:16 +0000 (16:33 -0400)]
Added a quoted-token parsing function.

10 years agomore documentation updates for Atari 5200
Christian Groessler [Fri, 16 May 2014 00:27:20 +0000 (02:27 +0200)]
more documentation updates for Atari 5200

10 years agodocumentation updates for Atari 5200
Christian Groessler [Fri, 16 May 2014 00:26:20 +0000 (02:26 +0200)]
documentation updates for Atari 5200

10 years agochanged version, startup screen now not fine anymore
Christian Groessler [Fri, 16 May 2014 00:12:01 +0000 (02:12 +0200)]
changed version, startup screen now not fine anymore

10 years agosome CONIO fixes
Christian Groessler [Fri, 16 May 2014 00:10:19 +0000 (02:10 +0200)]
some CONIO fixes

10 years agoMerge pull request #116 from greg-king5/symbol-table
Oliver Schmidt [Tue, 13 May 2014 06:49:13 +0000 (08:49 +0200)]
Merge pull request #116 from greg-king5/symbol-table

Fix a ca65 internal error.

10 years agoMerge pull request #115 from greg-king5/cc65-mul
Oliver Schmidt [Mon, 12 May 2014 13:34:32 +0000 (15:34 +0200)]
Merge pull request #115 from greg-king5/cc65-mul

Add a signed 8-bit times 8-bit multiply function.

10 years agoFixed a ca65 internal error that would show a message when a name is exported both... 116/head
Greg King [Mon, 12 May 2014 06:08:04 +0000 (02:08 -0400)]
Fixed a ca65 internal error that would show a message when a name is exported both outside and inside a scope.

Jeremy Turner described the bug, on the original cc65 mailing list.  It was fixed by Ullrich von Bassewitz.

10 years agoclrscr for Atari 5200 default conio screen
Christian Groessler [Mon, 12 May 2014 01:05:21 +0000 (03:05 +0200)]
clrscr for Atari 5200 default conio screen

10 years agoadd joystick driver -- trigger buttons are not queried yet
Christian Groessler [Mon, 12 May 2014 01:03:44 +0000 (03:03 +0200)]
add joystick driver -- trigger buttons are not queried yet

10 years agoadd dummy irq.s
Christian Groessler [Mon, 12 May 2014 01:02:17 +0000 (03:02 +0200)]
add dummy irq.s

10 years agoFixed the comments to say where the actual Left-Hand Side and Right-Hand Side are... 115/head
Greg King [Sun, 11 May 2014 14:43:06 +0000 (10:43 -0400)]
Fixed the comments to say where the actual Left-Hand Side and Right-Hand Side are put.

A description of positions [left, right] is appropriate more for C code than for Assembly code.  (A description of timing [first argument, second argument] is more appropriate for the way that Assembly code is written.)

10 years agoAdded a fast subroutine to multiply two signed 8-bit numbers.
Greg King [Sun, 11 May 2014 05:08:27 +0000 (01:08 -0400)]
Added a fast subroutine to multiply two signed 8-bit numbers.

10 years agoMerge pull request #114 from greg-king5/phantom
Oliver Schmidt [Fri, 9 May 2014 17:30:51 +0000 (19:30 +0200)]
Merge pull request #114 from greg-king5/phantom

Added the phantom-key exorcism code to the other C128 mouse drivers.

10 years agoAdded comments that explain why some instructions are implied. 114/head
Greg King [Mon, 5 May 2014 17:45:34 +0000 (13:45 -0400)]
Added comments that explain why some instructions are implied.

10 years agoBack-migrated some phantom-key rejection optimizations.
Greg King [Mon, 5 May 2014 10:28:19 +0000 (06:28 -0400)]
Back-migrated some phantom-key rejection optimizations.

10 years agoMigrated the phantom-key exorcism code to the other C128 mouse drivers.
Greg King [Mon, 5 May 2014 09:30:31 +0000 (05:30 -0400)]
Migrated the phantom-key exorcism code to the other C128 mouse drivers.

10 years agoAdded the long-missing driver-flags byte to the potentiometer (mouse) drivers.
Greg King [Mon, 5 May 2014 08:16:04 +0000 (04:16 -0400)]
Added the long-missing driver-flags byte to the potentiometer (mouse) drivers.

10 years agoReintroduced optional INIT segment for (weird) NES TGI driver.
Oliver Schmidt [Thu, 1 May 2014 20:12:05 +0000 (22:12 +0200)]
Reintroduced optional INIT segment for (weird) NES TGI driver.

10 years agoRenamed JUMPTABLE and cleaned up module.cfg.
Oliver Schmidt [Thu, 1 May 2014 19:43:34 +0000 (21:43 +0200)]
Renamed JUMPTABLE and cleaned up module.cfg.

This change was suppsed to fix the issue that the former JUMPTABLE is merked as 'ro' while it is actually written to in several scenarios. When drivers are converted using co65 and then compiled into ROMs the JUMPTABLE isn't copied to RAM and therefore the write operations in question fail.

However unfortunately I didn't succeed in changing that :-( Just setting the former JUMPTABLE to 'rw' broke the drivers. So I placed the DATA segment directly after the former JUMPTABLE segment. This made the drivers converted with co65 work again - obviously after changing libsrc/Makefile:235 from '--code-label' to '--data-label'. But the actual dynamic drivers still didn't work as the former JUMPTABLE wasn't placed as the beginning of the loaded file anymore. That effect could be changed by exchanging src/ld65/o65.c:1391 with src/ld65/o65.c:1394 but doing so broke the drivers again :-((

10 years agoMerge pull request #109 from groessler/something_to_pull2
Oliver Schmidt [Mon, 28 Apr 2014 20:18:11 +0000 (22:18 +0200)]
Merge pull request #109 from groessler/something_to_pull2

Proposal: workaround for "phantom" key presses in the C128 "joystick" mouse driver...

10 years agoAdded sample descriptions.
Oliver Schmidt [Mon, 28 Apr 2014 19:49:38 +0000 (21:49 +0200)]
Added sample descriptions.

10 years agoMade LOWCODE and INIT optional (like the other targets).
Oliver Schmidt [Mon, 28 Apr 2014 19:46:42 +0000 (21:46 +0200)]
Made LOWCODE and INIT optional (like the other targets).

10 years agoMerge pull request #112 from greg-king5/warnings
Oliver Schmidt [Sun, 27 Apr 2014 12:40:29 +0000 (14:40 +0200)]
Merge pull request #112 from greg-king5/warnings

Fixed text that caused warnings when building info documents.

10 years agoCorrectly map out ROM when needed in the "phantom keys" workaround. 109/head
Christian Groessler [Sat, 26 Apr 2014 09:55:24 +0000 (11:55 +0200)]
Correctly map out ROM when needed in the "phantom keys" workaround.

10 years agoMerge pull request #113 from groessler/something_to_pull
Oliver Schmidt [Fri, 25 Apr 2014 11:41:01 +0000 (13:41 +0200)]
Merge pull request #113 from groessler/something_to_pull

remove build warning

10 years agoremove build warning 113/head
Christian Groessler [Fri, 25 Apr 2014 11:21:21 +0000 (13:21 +0200)]
remove build warning

10 years agoAvoided makeinfo warnings when Travis CI runs LinuxDoc Tools. 112/head
Greg King [Thu, 24 Apr 2014 17:03:52 +0000 (13:03 -0400)]
Avoided makeinfo warnings when Travis CI runs LinuxDoc Tools.

10 years agoAvoided some makeinfo warnings when Cygwin runs LinuxDoc Tools.
Greg King [Fri, 25 Apr 2014 07:33:53 +0000 (03:33 -0400)]
Avoided some makeinfo warnings when Cygwin runs LinuxDoc Tools.

10 years agoatari5200 update: simple conio "hello world" works now
Christian Groessler [Fri, 25 Apr 2014 01:02:44 +0000 (03:02 +0200)]
atari5200 update: simple conio "hello world" works now

10 years agoMerge remote-tracking branch 'upstream/master' into a5200
Christian Groessler [Fri, 25 Apr 2014 00:07:44 +0000 (02:07 +0200)]
Merge remote-tracking branch 'upstream/master' into a5200

10 years agoWorkaround for "phantom" key presses in the C128 "1351" mouse driver.
Christian Groessler [Thu, 24 Apr 2014 22:21:41 +0000 (00:21 +0200)]
Workaround for "phantom" key presses in the C128 "1351" mouse driver.

10 years agoAvoided makeinfo warnings when Travis CI runs LinuxDoc Tools.
Greg King [Thu, 24 Apr 2014 17:03:52 +0000 (13:03 -0400)]
Avoided makeinfo warnings when Travis CI runs LinuxDoc Tools.

10 years agoMerge pull request #111 from groessler/something_to_pull
Oliver Schmidt [Thu, 24 Apr 2014 09:29:40 +0000 (11:29 +0200)]
Merge pull request #111 from groessler/something_to_pull

Document Atari mouse callbacks

10 years agoDocument mouse callbacks and some other small changes. 111/head
Christian Groessler [Thu, 24 Apr 2014 00:02:02 +0000 (02:02 +0200)]
Document mouse callbacks and some other small changes.

10 years agoPut mouse cursor shape definition into .rodata.
Christian Groessler [Thu, 24 Apr 2014 00:01:30 +0000 (02:01 +0200)]
Put mouse cursor shape definition into .rodata.

10 years agoMake the hooking and unhooking of the interrupt interrupt safe.
Christian Groessler [Wed, 23 Apr 2014 22:27:06 +0000 (00:27 +0200)]
Make the hooking and unhooking of the interrupt interrupt safe.

10 years agoMerge pull request #110 from greg-king5/typo
Oliver Schmidt [Wed, 23 Apr 2014 20:13:25 +0000 (22:13 +0200)]
Merge pull request #110 from greg-king5/typo

Fixed typos; and, fixed descriptions of where ld65 looks for files.

10 years agoMerge pull request #106 from groessler/something_to_pull
Oliver Schmidt [Tue, 22 Apr 2014 18:01:43 +0000 (20:01 +0200)]
Merge pull request #106 from groessler/something_to_pull

add P/M (aka 'Sprite') mouse callback for Atari

10 years agoWorkaround for "phantom" key presses in the C128 "joystick" mouse driver.
Christian Groessler [Tue, 22 Apr 2014 13:48:49 +0000 (15:48 +0200)]
Workaround for "phantom" key presses in the C128 "joystick" mouse driver.

10 years agoMerge pull request #108 from groessler/something_to_pull2
Oliver Schmidt [Tue, 22 Apr 2014 11:50:55 +0000 (13:50 +0200)]
Merge pull request #108 from groessler/something_to_pull2

Split libref.s into multiple files to prevent inclusion of unnecessary code

10 years agorename ser_libref.s to serref.s in order to be consistent with other targets 108/head
Christian Groessler [Tue, 22 Apr 2014 11:41:57 +0000 (13:41 +0200)]
rename ser_libref.s to serref.s in order to be consistent with other targets

10 years agoSplit libref.s into multiple files to prevent inclusion of unnecessary code.
Christian Groessler [Tue, 22 Apr 2014 10:48:36 +0000 (12:48 +0200)]
Split libref.s into multiple files to prevent inclusion of unnecessary code.

10 years agoSelection whether to use page 6 for mouse P/M data is not done in 106/head
Christian Groessler [Mon, 21 Apr 2014 09:39:46 +0000 (11:39 +0200)]
Selection whether to use page 6 for mouse P/M data is not done in
Makefile.inc, like the other compile-time options. Small fix in the
P/M mouse "show" routine: adapt mouse cursor colors to current
screen colors.

10 years agoFixed typos. And, fixed descriptions of where ld65 looks for files. 110/head
Greg King [Sun, 20 Apr 2014 15:30:47 +0000 (11:30 -0400)]
Fixed typos.  And, fixed descriptions of where ld65 looks for files.

10 years agoaddress issue raised in the pull request; add support to not use page 6
Christian Groessler [Tue, 15 Apr 2014 09:36:27 +0000 (11:36 +0200)]
address issue raised in the pull request; add support to not use page 6
again

10 years agoMerge pull request #107 from greg-king5/url
Oliver Schmidt [Mon, 14 Apr 2014 10:53:19 +0000 (12:53 +0200)]
Merge pull request #107 from greg-king5/url

Fixed the <htmlurl> and <url> tags in the document sources.

10 years agoFixed the SGML <htmlurl> and <url> tags. 107/head
Greg King [Mon, 14 Apr 2014 09:54:13 +0000 (05:54 -0400)]
Fixed the SGML <htmlurl> and <url> tags.

Those tags have two attributes: "url=" and "name=".  In the non-HTML output formats, <url> shows both fields, while <htmlurl> shows only the name field (as the HTML format always does.)  Thus, the general rules are
1. If the two attributes are different, then use <url>.
2. If they are similar, then use <htmlurl>.
3. If they are the same, then consider using <url> without the "name=" attribute.
(The reason for rules 2 and 3 is that the same text shouldn't be shown twice.)

There can be exceptions.  Example: "od65.sgml" has <htmlurl> because the URL
would disturb the flow of a sentence.

10 years ago- always use page 6 for P/M mouse cursor
Christian Groessler [Fri, 11 Apr 2014 21:46:53 +0000 (23:46 +0200)]
- always use page 6 for P/M mouse cursor
- make cursor character of text mode callback configurable
- change default cursor character of text mode callback from 'plus' to 'diamond'
- set P/M callback as default

10 years agoinitial version of a P/M mouse callback
Christian Groessler [Thu, 10 Apr 2014 00:31:28 +0000 (02:31 +0200)]
initial version of a P/M mouse callback

10 years agoMerge pull request #105 from greg-king5/author
Oliver Schmidt [Wed, 9 Apr 2014 07:54:07 +0000 (09:54 +0200)]
Merge pull request #105 from greg-king5/author

Streamlined the document author credits.

10 years agoStreamlined the document author credits. 105/head
Greg King [Tue, 8 Apr 2014 19:36:39 +0000 (15:36 -0400)]
Streamlined the document author credits.

10 years agoMerge pull request #103 from greg-king5/typo
Oliver Schmidt [Fri, 4 Apr 2014 06:56:04 +0000 (09:56 +0300)]
Merge pull request #103 from greg-king5/typo

Fixed typo (Ilegal).

10 years agoMerge pull request #102 from greg-king5/main-args
Oliver Schmidt [Fri, 4 Apr 2014 06:55:31 +0000 (09:55 +0300)]
Merge pull request #102 from greg-king5/main-args

Added command-line argument parsing to the CBM510 and CBM610 targets.

10 years agoFixed typo (Ilegal). 103/head
Greg King [Thu, 3 Apr 2014 21:28:36 +0000 (17:28 -0400)]
Fixed typo (Ilegal).

10 years agoAdded command-line argument parsing to the CBM510 and CBM610 targets. 102/head
Greg King [Thu, 3 Apr 2014 12:23:28 +0000 (08:23 -0400)]
Added command-line argument parsing to the CBM510 and CBM610 targets.

10 years agoHarmonized usage of "KB" and "cc65".
Oliver Schmidt [Sun, 30 Mar 2014 20:10:37 +0000 (22:10 +0200)]
Harmonized usage of "KB" and "cc65".

10 years agoAdded doc install target.
Oliver Schmidt [Sat, 29 Mar 2014 22:23:33 +0000 (23:23 +0100)]
Added doc install target.

10 years agoMerge pull request #100 from greg-king5/default-drivers
Oliver Schmidt [Sat, 29 Mar 2014 14:11:44 +0000 (16:11 +0200)]
Merge pull request #100 from greg-king5/default-drivers

Added document lines that name the default device drivers.

10 years agoMerge pull request #101 from groessler/something_to_pull
Oliver Schmidt [Sat, 29 Mar 2014 14:08:09 +0000 (16:08 +0200)]
Merge pull request #101 from groessler/something_to_pull

Fix error which slipped in in '-L' command line parameter handling.

10 years agoFix error which slipped in in '-L' command line parameter handling. 101/head
Christian Groessler [Fri, 28 Mar 2014 21:40:32 +0000 (22:40 +0100)]
Fix error which slipped in in '-L' command line parameter handling.

10 years agoAdded document lines that name the default device drivers. 100/head
Greg King [Thu, 27 Mar 2014 16:47:00 +0000 (12:47 -0400)]
Added document lines that name the default device drivers.

Also:
- Changed some <htmlurl> tags to <url>.  Now, those links will show their URL addresses (in addition to their names) in info and text pages.
- Added some Atmos-specific function names to its document.
- Fixed some punctuation syntax.