]> git.sur5r.net Git - cc65/log
cc65
10 years agoMerge remote-tracking branch 'upstream/master' into cassette
Christian Groessler [Tue, 11 Feb 2014 11:35:28 +0000 (12:35 +0100)]
Merge remote-tracking branch 'upstream/master' into cassette

10 years agoDeduct temporary library path name from library path name.
Oliver Schmidt [Mon, 10 Feb 2014 20:28:03 +0000 (21:28 +0100)]
Deduct temporary library path name from library path name.

Actually there's no need to fiddle with any automatic temp file name generation as we can just modify the library path name to generate a perfect temporary library path name.

10 years agoSome minor fine tuning.
Oliver Schmidt [Sun, 9 Feb 2014 21:57:38 +0000 (22:57 +0100)]
Some minor fine tuning.

10 years agoAdjusted linuxdoc parameters.
Oliver Schmidt [Sun, 9 Feb 2014 21:50:01 +0000 (22:50 +0100)]
Adjusted linuxdoc parameters.

10 years agoMade html doc look a little less boring.
Oliver Schmidt [Sun, 9 Feb 2014 21:43:55 +0000 (22:43 +0100)]
Made html doc look a little less boring.

10 years agoFixed URL.
Oliver Schmidt [Sun, 9 Feb 2014 20:33:59 +0000 (21:33 +0100)]
Fixed URL.

10 years agoSwitched to Markdown in order to allow to add links.
Oliver Schmidt [Sun, 9 Feb 2014 20:31:00 +0000 (21:31 +0100)]
Switched to Markdown in order to allow to add links.

10 years agoUse -Werror only on Travis CI builds.
Oliver Schmidt [Sun, 9 Feb 2014 18:48:30 +0000 (19:48 +0100)]
Use -Werror only on Travis CI builds.

There's no need to intentionally break things for people trying to build cc65 with some obscure compiler. It's enough to make sure that no new warnings sneak into the code base by having Travis CI builds fail.

10 years agoDefine _SVID_SOURCE to get tempnam().
Oliver Schmidt [Sun, 9 Feb 2014 00:19:40 +0000 (01:19 +0100)]
Define _SVID_SOURCE to get tempnam().

10 years agoAvoid tmpfile().
Oliver Schmidt [Sun, 9 Feb 2014 00:11:11 +0000 (01:11 +0100)]
Avoid tmpfile().

- tmpfile() tries to create files in the C: root dir on Windows where users usually don't have access.
- tmpnam() uses the curent dir which doesn't seem to be a good idea either.
- tempnam(NULL,NULL) is supposed to be cleverer.

10 years agoFixed typo.
Oliver Schmidt [Sat, 8 Feb 2014 22:01:15 +0000 (23:01 +0100)]
Fixed typo.

10 years agoRemoved references to SunPlus.
Oliver Schmidt [Sat, 8 Feb 2014 21:48:49 +0000 (22:48 +0100)]
Removed references to SunPlus.

10 years agoKeep git push happy.
Oliver Schmidt [Sat, 8 Feb 2014 21:47:24 +0000 (22:47 +0100)]
Keep git push happy.

10 years agoAvoid writing (temporarily) into source directory.
Oliver Schmidt [Sat, 8 Feb 2014 20:52:23 +0000 (21:52 +0100)]
Avoid writing (temporarily) into source directory.

10 years agoFixed typo.
Oliver Schmidt [Fri, 7 Feb 2014 13:30:52 +0000 (14:30 +0100)]
Fixed typo.

10 years agoActually the '-R' flag isn't necessary.
Oliver Schmidt [Thu, 6 Feb 2014 11:54:53 +0000 (12:54 +0100)]
Actually the '-R' flag isn't necessary.

10 years agoLimit 'git add' to doc directory just to be sure.
Oliver Schmidt [Thu, 6 Feb 2014 11:44:46 +0000 (12:44 +0100)]
Limit 'git add' to doc directory just to be sure.

10 years agoAdjusted doc to commit 9aa17b4c537f77fc01d49ab7167b1b3c179c7b9
Oliver Schmidt [Wed, 5 Feb 2014 22:41:52 +0000 (23:41 +0100)]
Adjusted doc to commit 9aa17b4c537f77fc01d49ab7167b1b3c179c7b9

10 years agoThe gh-pages push seems ready for prime time.
Oliver Schmidt [Wed, 5 Feb 2014 22:20:03 +0000 (23:20 +0100)]
The gh-pages push seems ready for prime time.

10 years agoThe content in internal.txt is now fully present in the Wiki.
Oliver Schmidt [Wed, 5 Feb 2014 22:02:01 +0000 (23:02 +0100)]
The content in internal.txt is now fully present in the Wiki.

10 years agoRoute standard goals to doc Makefile.
Oliver Schmidt [Wed, 5 Feb 2014 21:36:43 +0000 (22:36 +0100)]
Route standard goals to doc Makefile.

- mostlyclean is empty as there are no intermedite files.
- all is empty as I don't want to have if depend on linuxdoc.

10 years agoGoals from top level Makefile should be known even if empty.
Oliver Schmidt [Wed, 5 Feb 2014 21:31:46 +0000 (22:31 +0100)]
Goals from top level Makefile should be known even if empty.

10 years agoRe-introduced toc removal for coding.html and index.html.
Oliver Schmidt [Wed, 5 Feb 2014 21:30:28 +0000 (22:30 +0100)]
Re-introduced toc removal for coding.html and index.html.

10 years agoSome polishing.
Oliver Schmidt [Wed, 5 Feb 2014 19:55:17 +0000 (20:55 +0100)]
Some polishing.

10 years agoMaybe rather ignore the git commit status (?)
Oliver Schmidt [Wed, 5 Feb 2014 17:49:22 +0000 (18:49 +0100)]
Maybe rather ignore the git commit status (?)

10 years agoTest --allow-empty flag.
Oliver Schmidt [Wed, 5 Feb 2014 17:40:03 +0000 (18:40 +0100)]
Test --allow-empty flag.

10 years agoAdded doc goal to top level Makefile.
Oliver Schmidt [Wed, 5 Feb 2014 16:55:10 +0000 (17:55 +0100)]
Added doc goal to top level Makefile.

10 years agoFixed missing target directory.
Oliver Schmidt [Tue, 4 Feb 2014 23:29:27 +0000 (00:29 +0100)]
Fixed missing target directory.

10 years agoFirst test of actual html page push.
Oliver Schmidt [Tue, 4 Feb 2014 23:20:43 +0000 (00:20 +0100)]
First test of actual html page push.

10 years agoUpdated linuxdoc sources from https://github.com/groessler/cc65/tree/gh-pages-sgml.
Oliver Schmidt [Tue, 4 Feb 2014 21:51:39 +0000 (22:51 +0100)]
Updated linuxdoc sources from https://github.com/groessler/cc65/tree/gh-pages-sgml.

10 years agoRevert "No linuxdoc here. Documenation is to be maintained as HTML in branch 'gh...
Oliver Schmidt [Tue, 4 Feb 2014 21:18:58 +0000 (22:18 +0100)]
Revert "No linuxdoc here. Documenation is to be maintained as HTML in branch 'gh-pages'."

This reverts commit fcea8951f1dc51cce28cabfc9cfec760a341118a.

Conflicts:
doc/Makefile

10 years agoAvoid 'cd' in Makefile.
Oliver Schmidt [Tue, 4 Feb 2014 20:31:35 +0000 (21:31 +0100)]
Avoid 'cd' in Makefile.

10 years agoFirst test of gh-pages push.
Oliver Schmidt [Tue, 4 Feb 2014 17:33:37 +0000 (18:33 +0100)]
First test of gh-pages push.

10 years agoMoved ca65html out of the src directory.
Oliver Schmidt [Fri, 31 Jan 2014 21:27:07 +0000 (22:27 +0100)]
Moved ca65html out of the src directory.

- A HTML generator isn't really the core of a C/asm toolchain.
- A Perl script isn't actually as portable as one might think.

10 years agoAdded secured GH_TOKEN env var.
Oliver Schmidt [Fri, 31 Jan 2014 15:37:01 +0000 (16:37 +0100)]
Added secured GH_TOKEN env var.

10 years agoFirst test with LinuxDoc.
Oliver Schmidt [Fri, 31 Jan 2014 13:22:47 +0000 (14:22 +0100)]
First test with LinuxDoc.

10 years agoAvoid include subdirs on install cmdline.
Oliver Schmidt [Thu, 30 Jan 2014 12:02:01 +0000 (13:02 +0100)]
Avoid include subdirs on install cmdline.

10 years agoMerge remote-tracking branch 'upstream/master' into cassette
Christian Groessler [Thu, 30 Jan 2014 09:48:13 +0000 (10:48 +0100)]
Merge remote-tracking branch 'upstream/master' into cassette

Conflicts:
asminc/atari.inc
libsrc/atari/mou/atrst.s

10 years agoMerge pull request #78 from groessler/something_to_pull
Oliver Schmidt [Thu, 30 Jan 2014 08:20:53 +0000 (00:20 -0800)]
Merge pull request #78 from groessler/something_to_pull

change mouse drivers to be more "floppy access" friendly

10 years agoDisable the high frequency mouse polling IRQ while the system does 78/head
Christian Groessler [Wed, 29 Jan 2014 22:38:31 +0000 (23:38 +0100)]
Disable the high frequency mouse polling IRQ while the system does
time critical things (CRITICAL flag set).

10 years agosmall comment change
Christian Groessler [Wed, 29 Jan 2014 22:38:00 +0000 (23:38 +0100)]
small comment change

10 years agoAdded 'install' target.
Oliver Schmidt [Wed, 29 Jan 2014 20:42:26 +0000 (21:42 +0100)]
Added 'install' target.

The 'install' target primarily aims to support pacaking tools. Therefore...
- It just presumes a "capable" install program to be present.
- There's intentionally no 'uninstall' target.

10 years agoAvoid indirect jmp with unknown vector address.
Oliver Schmidt [Sun, 26 Jan 2014 17:10:01 +0000 (18:10 +0100)]
Avoid indirect jmp with unknown vector address.

10 years agoMerge pull request #76 from groessler/something_to_pull
Oliver Schmidt [Wed, 22 Jan 2014 19:51:22 +0000 (11:51 -0800)]
Merge pull request #76 from groessler/something_to_pull

add some missing segments to *-asm.cfg files

10 years agoadd EXTZP segment to atari-asm.cfg 76/head
Christian Groessler [Wed, 22 Jan 2014 17:15:13 +0000 (18:15 +0100)]
add EXTZP segment to atari-asm.cfg

10 years agoadd ZEROPAGE segment to apple2-asm.cfg and c64-asm.cfg
Christian Groessler [Wed, 22 Jan 2014 17:13:04 +0000 (18:13 +0100)]
add ZEROPAGE segment to apple2-asm.cfg and c64-asm.cfg

10 years agoMerge pull request #75 from groessler/something_to_pull
Oliver Schmidt [Wed, 22 Jan 2014 12:45:40 +0000 (04:45 -0800)]
Merge pull request #75 from groessler/something_to_pull

make "ZEROPAGE" segment optional

10 years agomake "ZEROPAGE" segment optional 75/head
Christian Groessler [Wed, 22 Jan 2014 12:25:36 +0000 (13:25 +0100)]
make "ZEROPAGE" segment optional

10 years agoMerge pull request #74 from groessler/something_to_pull
Oliver Schmidt [Wed, 22 Jan 2014 09:50:10 +0000 (01:50 -0800)]
Merge pull request #74 from groessler/something_to_pull

Atari: add addresses of static drivers of the runtime

10 years agoadd missing stddrv defines for atarixl 74/head
Christian Groessler [Tue, 21 Jan 2014 22:08:32 +0000 (23:08 +0100)]
add missing stddrv defines for atarixl

10 years agoadd addresses of static drivers of the runtime
Christian Groessler [Tue, 21 Jan 2014 21:58:50 +0000 (22:58 +0100)]
add addresses of static drivers of the runtime

10 years agoAdapt to new mouse driver interface ('prep' and 'draw')
Christian Groessler [Fri, 17 Jan 2014 23:02:40 +0000 (00:02 +0100)]
Adapt to new mouse driver interface ('prep' and 'draw')

10 years agoAlways print the mouse cursor, even if coordinates haven't changed.
Christian Groessler [Tue, 14 Jan 2014 12:59:42 +0000 (13:59 +0100)]
Always print the mouse cursor, even if coordinates haven't changed.
This makes sure that the cursor is always visible, even if the program
has written text to the screen (only valid for non-P/M mouse callbacks).

10 years agofix bug where the high byte of X and Y positions were destroyed of
Christian Groessler [Sat, 11 Jan 2014 00:49:21 +0000 (01:49 +0100)]
fix bug where the high byte of X and Y positions were destroyed of
the user had lifted the pen

10 years agosome comment fixes
Christian Groessler [Wed, 8 Jan 2014 01:28:39 +0000 (02:28 +0100)]
some comment fixes

10 years agoDetect pen button. If we read 228 for X or Y position, don't change cursor
Christian Groessler [Mon, 6 Jan 2014 12:36:09 +0000 (13:36 +0100)]
Detect pen button. If we read 228 for X or Y position, don't change cursor
position, since the pen was probably lifted from the pad.

10 years agoTrakball mouse driver
Christian Groessler [Sun, 5 Jan 2014 15:43:17 +0000 (16:43 +0100)]
Trakball mouse driver

10 years agoAdapt to new mouse driver interface ('prep' and 'draw')
Christian Groessler [Fri, 17 Jan 2014 23:02:29 +0000 (00:02 +0100)]
Adapt to new mouse driver interface ('prep' and 'draw')

10 years agoChange display logic of mouse cursor (hide and show functions).
Christian Groessler [Tue, 14 Jan 2014 13:00:17 +0000 (14:00 +0100)]
Change display logic of mouse cursor (hide and show functions).

10 years agoAlways print the mouse cursor, even if coordinates haven't changed.
Christian Groessler [Tue, 14 Jan 2014 12:57:47 +0000 (13:57 +0100)]
Always print the mouse cursor, even if coordinates haven't changed.
This makes sure that the cursor is always visible, even if the program
has written text to the screen (only valid for non-P/M mouse callbacks).

10 years agoFix timer IRQ hooking for atarixl target.
Christian Groessler [Tue, 14 Jan 2014 10:43:34 +0000 (11:43 +0100)]
Fix timer IRQ hooking for atarixl target.

10 years agofix some typos
Christian Groessler [Sun, 12 Jan 2014 23:45:35 +0000 (00:45 +0100)]
fix some typos

10 years agoadd comment
Christian Groessler [Sat, 11 Jan 2014 00:35:32 +0000 (01:35 +0100)]
add comment

10 years agouse ST mouse as static standard driver, too
Christian Groessler [Sat, 11 Jan 2014 00:33:59 +0000 (01:33 +0100)]
use ST mouse as static standard driver, too

10 years agoalign comment to the same column
Christian Groessler [Sat, 11 Jan 2014 00:05:13 +0000 (01:05 +0100)]
align comment to the same column

10 years agoanother small cleanup
Christian Groessler [Sun, 5 Jan 2014 10:18:34 +0000 (11:18 +0100)]
another small cleanup

10 years agosmall cleanup
Christian Groessler [Sun, 5 Jan 2014 10:09:01 +0000 (11:09 +0100)]
small cleanup

10 years agoWhen disabling interrupts, restore original interrupt flag afterwards.
Christian Groessler [Sat, 4 Jan 2014 19:05:57 +0000 (20:05 +0100)]
When disabling interrupts, restore original interrupt flag afterwards.

10 years agoAdd drivers for ST mouse, Amiga mouse, and Atari trakball. Access
Christian Groessler [Sat, 4 Jan 2014 17:28:24 +0000 (18:28 +0100)]
Add drivers for ST mouse, Amiga mouse, and Atari trakball. Access
routines taken from old mouse.s.

10 years agofix typo
Christian Groessler [Sat, 4 Jan 2014 15:37:59 +0000 (16:37 +0100)]
fix typo

10 years agoAdd "joystick mouse" driver and default mouse callback routine (not
Christian Groessler [Fri, 3 Jan 2014 22:40:22 +0000 (23:40 +0100)]
Add "joystick mouse" driver and default mouse callback routine (not
using P/M graphics).

10 years agoUse deferred VBI instead of immediate VBI. A deferred VBI won't be
Christian Groessler [Thu, 2 Jan 2014 20:45:12 +0000 (21:45 +0100)]
Use deferred VBI instead of immediate VBI. A deferred VBI won't be
called if the user program has interrupts disabled which makes it
easier to avoid race conditions.

10 years agoMerge pull request #73 from groessler/something_to_pull
Oliver Schmidt [Mon, 20 Jan 2014 21:41:05 +0000 (13:41 -0800)]
Merge pull request #73 from groessler/something_to_pull

Atari driver for the Atari Touch Tablet

10 years agoAdapt to new mouse driver interface ('prep' and 'draw') 73/head
Christian Groessler [Fri, 17 Jan 2014 23:02:40 +0000 (00:02 +0100)]
Adapt to new mouse driver interface ('prep' and 'draw')

10 years agoAlways print the mouse cursor, even if coordinates haven't changed.
Christian Groessler [Tue, 14 Jan 2014 12:59:42 +0000 (13:59 +0100)]
Always print the mouse cursor, even if coordinates haven't changed.
This makes sure that the cursor is always visible, even if the program
has written text to the screen (only valid for non-P/M mouse callbacks).

10 years agofix bug where the high byte of X and Y positions were destroyed of
Christian Groessler [Sat, 11 Jan 2014 00:49:21 +0000 (01:49 +0100)]
fix bug where the high byte of X and Y positions were destroyed of
the user had lifted the pen

10 years agosome comment fixes
Christian Groessler [Wed, 8 Jan 2014 01:28:39 +0000 (02:28 +0100)]
some comment fixes

10 years agoDetect pen button. If we read 228 for X or Y position, don't change cursor
Christian Groessler [Mon, 6 Jan 2014 12:36:09 +0000 (13:36 +0100)]
Detect pen button. If we read 228 for X or Y position, don't change cursor
position, since the pen was probably lifted from the pad.

10 years agoTrakball mouse driver
Christian Groessler [Sun, 5 Jan 2014 15:43:17 +0000 (16:43 +0100)]
Trakball mouse driver

10 years agoMerge pull request #69 from groessler/something_to_pull
Oliver Schmidt [Mon, 20 Jan 2014 08:39:43 +0000 (00:39 -0800)]
Merge pull request #69 from groessler/something_to_pull

Mouse drivers for Atari

10 years agoAdapt to new mouse driver interface ('prep' and 'draw') 69/head
Christian Groessler [Fri, 17 Jan 2014 23:02:29 +0000 (00:02 +0100)]
Adapt to new mouse driver interface ('prep' and 'draw')

10 years agoMerge branch 'master' of https://github.com/oliverschmidt/cc65 into cassette
Christian Groessler [Fri, 17 Jan 2014 22:06:29 +0000 (23:06 +0100)]
Merge branch 'master' of https://github.com/oliverschmidt/cc65 into cassette

10 years agoMerge remote-tracking branch 'upstream/master' into something_to_pull
Christian Groessler [Fri, 17 Jan 2014 21:33:29 +0000 (22:33 +0100)]
Merge remote-tracking branch 'upstream/master' into something_to_pull

10 years agoMinor cleanup.
Oliver Schmidt [Fri, 17 Jan 2014 20:20:53 +0000 (21:20 +0100)]
Minor cleanup.

10 years agoMerge pull request #71 from groessler/something_to_pull2
Oliver Schmidt [Fri, 17 Jan 2014 20:14:18 +0000 (12:14 -0800)]
Merge pull request #71 from groessler/something_to_pull2

Support to create cartridges for the Atari.

10 years agoSome fine tuning of the mouse driver interface harmonization.
Oliver Schmidt [Fri, 17 Jan 2014 20:09:15 +0000 (21:09 +0100)]
Some fine tuning of the mouse driver interface harmonization.

10 years agoadd support for 16K cartridges 71/head
Christian Groessler [Fri, 17 Jan 2014 19:08:41 +0000 (20:08 +0100)]
add support for 16K cartridges

10 years agoremove segment directive since CODE is the default segment
Christian Groessler [Fri, 17 Jan 2014 10:47:23 +0000 (11:47 +0100)]
remove segment directive since CODE is the default segment

10 years agoput code in CODE segment
Christian Groessler [Fri, 17 Jan 2014 10:46:55 +0000 (11:46 +0100)]
put code in CODE segment

10 years agouse copydata instead of own routine
Christian Groessler [Thu, 16 Jan 2014 22:53:53 +0000 (23:53 +0100)]
use copydata instead of own routine

10 years agoput this module's code into CODE segment
Christian Groessler [Thu, 16 Jan 2014 22:49:51 +0000 (23:49 +0100)]
put this module's code into CODE segment

10 years agofix last change
Christian Groessler [Thu, 16 Jan 2014 22:49:04 +0000 (23:49 +0100)]
fix last change

10 years agofix indentation
Christian Groessler [Thu, 16 Jan 2014 22:45:48 +0000 (23:45 +0100)]
fix indentation

10 years agomade more segments optional so that the config file can be used for assembler program...
Christian Groessler [Thu, 16 Jan 2014 22:45:21 +0000 (23:45 +0100)]
made more segments optional so that the config file can be used for assembler programs, too

10 years agoMerge remote-tracking branch 'upstream/master' into something_to_pull
Christian Groessler [Thu, 16 Jan 2014 22:34:56 +0000 (23:34 +0100)]
Merge remote-tracking branch 'upstream/master' into something_to_pull

10 years agoHarmonized interface between mouse drivers and callbacks.
Oliver Schmidt [Wed, 15 Jan 2014 21:47:59 +0000 (22:47 +0100)]
Harmonized interface between mouse drivers and callbacks.

The Apple2 doesn't have sprites so the Apple2 mouse callbacks place a special character on the text screen to indicate the mouse position. In order to support the necessary character removing and redrawing the Apple2 mouse driver called the Apple2 mouse callbacks in an "unusual way". So far so (sort of) good.

However the upcoming Atari mouse driver aims to support both "sprite-type" mouse callbacks as well as "text-char-type" mouse callbacks. Therefore the interface between mouse drivers and callbacks needs to be extended to allow the mouse callbacks to hide their different types from the mouse driver.

The nature of this change can be seen best by looking at the Apple2 file modifications. The CBM drivers and callbacks (at least the current ones) don't benefit from this change.

10 years agoremove TABs
Christian Groessler [Tue, 14 Jan 2014 22:12:35 +0000 (23:12 +0100)]
remove TABs

10 years agoAdd support to create cartridges.
Christian Groessler [Mon, 6 Jan 2014 19:24:29 +0000 (20:24 +0100)]
Add support to create cartridges.

10 years agoChange display logic of mouse cursor (hide and show functions).
Christian Groessler [Tue, 14 Jan 2014 13:00:17 +0000 (14:00 +0100)]
Change display logic of mouse cursor (hide and show functions).

10 years agoAlways print the mouse cursor, even if coordinates haven't changed.
Christian Groessler [Tue, 14 Jan 2014 12:57:47 +0000 (13:57 +0100)]
Always print the mouse cursor, even if coordinates haven't changed.
This makes sure that the cursor is always visible, even if the program
has written text to the screen (only valid for non-P/M mouse callbacks).