]> git.sur5r.net Git - cc65/log
cc65
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 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 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 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).

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 agoMerge remote-tracking branch 'upstream/master' into something_to_pull
Christian Groessler [Tue, 14 Jan 2014 13:01:49 +0000 (14:01 +0100)]
Merge remote-tracking branch 'upstream/master' into something_to_pull

10 years agoFixed recent "Minor comment harmonization".
Oliver Schmidt [Sun, 12 Jan 2014 20:52:18 +0000 (21:52 +0100)]
Fixed recent "Minor comment harmonization".

10 years agoMinor comment harmonization.
Oliver Schmidt [Sat, 11 Jan 2014 22:35:21 +0000 (23:35 +0100)]
Minor comment harmonization.

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 #67 from greg-king5/echo
Oliver Schmidt [Thu, 26 Dec 2013 14:54:42 +0000 (06:54 -0800)]
Merge pull request #67 from greg-king5/echo

CBM stdin Console RETURN-key Echo

10 years agoMerge pull request #68 from greg-king5/line
Oliver Schmidt [Thu, 26 Dec 2013 14:53:52 +0000 (06:53 -0800)]
Merge pull request #68 from greg-king5/line

Add a stdin console to the Atmos target.

10 years agoReset the stdin console when a program starts. 68/head
Greg King [Tue, 24 Dec 2013 20:26:05 +0000 (15:26 -0500)]
Reset the stdin console when a program starts.

10 years agoMoved the command-line arguments out of BASIC's input buffer.
Greg King [Tue, 24 Dec 2013 18:56:19 +0000 (13:56 -0500)]
Moved the command-line arguments out of BASIC's input buffer.

The stdin console re-uses that buffer.

10 years agoAdded a simplistic read() that gives a stdin console on the Atmos.
Greg King [Tue, 24 Dec 2013 10:18:04 +0000 (05:18 -0500)]
Added a simplistic read() that gives a stdin console on the Atmos.

10 years agoAvoided a reload by using a second register. 67/head
Greg King [Mon, 23 Dec 2013 17:20:28 +0000 (12:20 -0500)]
Avoided a reload by using a second register.

10 years agoMade the CBM stdin consoles echo '\n' to the screen.
Greg King [Mon, 23 Dec 2013 16:48:58 +0000 (11:48 -0500)]
Made the CBM stdin consoles echo '\n' to the screen.

That fix makes Commodore platforms be consistent with other platforms' consoles.

10 years agoMoved USER_CFLAGS to the other flags.
Oliver Schmidt [Thu, 19 Dec 2013 08:17:41 +0000 (09:17 +0100)]
Moved USER_CFLAGS to the other flags.

10 years agoMerge pull request #66 from groessler/something_to_pull
Oliver Schmidt [Thu, 19 Dec 2013 08:15:12 +0000 (00:15 -0800)]
Merge pull request #66 from groessler/something_to_pull

New src/Makefile variables: USER_CFLAGS and PROGEXT

10 years ago- Add a way to give additional compiler flags with USER_CFLAGS. 66/head
Christian Groessler [Wed, 18 Dec 2013 20:54:14 +0000 (21:54 +0100)]
- Add a way to give additional compiler flags with USER_CFLAGS.
- Add possibility to specify an file name extension for generated executables (PROGEXT).

10 years agoHave %I yield values [1..12] instead of [0..11].
Oliver Schmidt [Mon, 9 Dec 2013 18:53:27 +0000 (19:53 +0100)]
Have %I yield values [1..12] instead of [0..11].

10 years agoMerge pull request #64 from groessler/something_to_pull
Oliver Schmidt [Sat, 7 Dec 2013 15:36:22 +0000 (07:36 -0800)]
Merge pull request #64 from groessler/something_to_pull

Serial driver for Atari

10 years agosmall optimzation (found by Greg King) 64/head
Christian Groessler [Sat, 7 Dec 2013 00:24:05 +0000 (01:24 +0100)]
small optimzation (found by Greg King)

10 years agoremove old (static) serial driver boilerplate
Christian Groessler [Fri, 6 Dec 2013 20:16:10 +0000 (21:16 +0100)]
remove old (static) serial driver boilerplate

10 years agoremove debug code
Christian Groessler [Fri, 6 Dec 2013 19:49:57 +0000 (20:49 +0100)]
remove debug code

10 years agoadd serial driver for Atari, still contains much debug code
Christian Groessler [Fri, 6 Dec 2013 19:15:12 +0000 (20:15 +0100)]
add serial driver for Atari, still contains much debug code

10 years agoadd SER_BAUD_56_875
Christian Groessler [Fri, 6 Dec 2013 19:13:55 +0000 (20:13 +0100)]
add SER_BAUD_56_875

10 years agoadd SER_ERR_NOT_OPEN status code
Christian Groessler [Fri, 6 Dec 2013 19:10:27 +0000 (20:10 +0100)]
add SER_ERR_NOT_OPEN status code

10 years agoRevert "Added basic frame for new target 'creativision'."
Oliver Schmidt [Thu, 5 Dec 2013 20:45:20 +0000 (21:45 +0100)]
Revert "Added basic frame for new target 'creativision'."

This reverts commit 8e6b8dd0afed52c1963ea29c4921157693463cbe.

10 years agoMerge pull request #61 from greg-king5/make
Oliver Schmidt [Sat, 30 Nov 2013 21:02:36 +0000 (13:02 -0800)]
Merge pull request #61 from greg-king5/make

Consistent makefile progress report

10 years agoMerge pull request #62 from greg-king5/ubiquitous
Oliver Schmidt [Sat, 30 Nov 2013 20:53:51 +0000 (12:53 -0800)]
Merge pull request #62 from greg-king5/ubiquitous

Ubiquitous

10 years agoMerged branch "master" into make. 61/head
Greg King [Sat, 30 Nov 2013 17:44:47 +0000 (12:44 -0500)]
Merged branch "master" into make.

10 years agoMerged branch "master" into ubiquitous. 62/head
Greg King [Sat, 30 Nov 2013 17:38:47 +0000 (12:38 -0500)]
Merged branch "master" into ubiquitous.

10 years agoAdded a top border to a file's header comment.
Greg King [Sat, 30 Nov 2013 13:30:42 +0000 (08:30 -0500)]
Added a top border to a file's header comment.

10 years agoRemoved a now-redundant line.
Greg King [Sat, 30 Nov 2013 13:24:58 +0000 (08:24 -0500)]
Removed a now-redundant line.

10 years agoFixed ca65's "ubiquitous_idents" feature.
Greg King [Sat, 30 Nov 2013 13:20:36 +0000 (08:20 -0500)]
Fixed ca65's "ubiquitous_idents" feature.

Before the fix, that feature couldn't recognize a standard op-code mnemonic, that wasn't replaced by a macro, if it was on a line without a label.

This patch was written by Jeremy Turner.

10 years agoAdded basic frame for new target 'creativision'.
Oliver Schmidt [Mon, 25 Nov 2013 21:52:04 +0000 (22:52 +0100)]
Added basic frame for new target 'creativision'.

Kym Greenshields <kym.greenshields@gmail.com> has expressed interest
in contributing and maintaining support for the VTech CreatiVision system.

10 years agoMade a makefile show its progress consistently, by listing only the source file names.
Greg King [Mon, 25 Nov 2013 00:12:27 +0000 (19:12 -0500)]
Made a makefile show its progress consistently, by listing only the source file names.

That change avoids the confusion of seeing some names shown twice.

10 years agoMerge pull request #58 from groessler/something_to_pull
Oliver Schmidt [Fri, 18 Oct 2013 21:26:23 +0000 (14:26 -0700)]
Merge pull request #58 from groessler/something_to_pull

another small atarixl change

10 years agoForce inclusion of 'shadow RAM preparation' load chunk in crt0.s and 58/head
Christian Groessler [Fri, 18 Oct 2013 20:07:05 +0000 (22:07 +0200)]
Force inclusion of 'shadow RAM preparation' load chunk in crt0.s and
not in the linker config file.

10 years agoMerge pull request #56 from groessler/something_to_pull
Oliver Schmidt [Fri, 18 Oct 2013 13:51:53 +0000 (06:51 -0700)]
Merge pull request #56 from groessler/something_to_pull

atari-asm.cfg

10 years agoPut EXE header and main chunk load header into a single file -- 56/head
Christian Groessler [Fri, 18 Oct 2013 12:53:06 +0000 (14:53 +0200)]
Put EXE header and main chunk load header into a single file --
it makes no sense to be able to include/exclude them separately.

10 years agoatari-asm.cfg linker config file
Christian Groessler [Fri, 18 Oct 2013 01:07:01 +0000 (03:07 +0200)]
atari-asm.cfg linker config file

10 years agoRename 'syschk' symbol in the linker config file, which forces inclusion
Christian Groessler [Thu, 17 Oct 2013 23:36:44 +0000 (01:36 +0200)]
Rename 'syschk' symbol in the linker config file, which forces inclusion
of the 'system check' load chunki, to '__SYSTEM_CHECK__'.

10 years agoMerge pull request #54 from groessler/something_to_pull
Oliver Schmidt [Wed, 16 Oct 2013 19:56:46 +0000 (12:56 -0700)]
Merge pull request #54 from groessler/something_to_pull

some cleanups for 'atarixl'

10 years agorename LOWDATA segment to LOWBSS 54/head
Christian Groessler [Wed, 16 Oct 2013 16:15:17 +0000 (18:15 +0200)]
rename LOWDATA segment to LOWBSS

10 years agocomment and formatting fixes
Christian Groessler [Wed, 16 Oct 2013 15:55:45 +0000 (17:55 +0200)]
comment and formatting fixes

10 years agoAdded optimizer fix originating from Ullrich von Bassewitz prepared by Greg King.
Oliver Schmidt [Wed, 9 Oct 2013 19:55:44 +0000 (21:55 +0200)]
Added optimizer fix originating from Ullrich von Bassewitz prepared by Greg King.

10 years agoRemoved option from usage.
Oliver Schmidt [Wed, 9 Oct 2013 09:33:53 +0000 (11:33 +0200)]
Removed option from usage.

The option in question was removed with https://github.com/oliverschmidt/cc65/commit/37c492b544dec2460fc2c16a3d66275cc0d4edc0

10 years agoApplied fix contributed by Greg King.
Oliver Schmidt [Tue, 8 Oct 2013 21:03:53 +0000 (23:03 +0200)]
Applied fix contributed by Greg King.

The code
  void foo(void)
  {
    int i;
    long l = 1L * i;
  }
triggered an
  Internal compiler error:
  Code generation messed up: StackPtr is -4, should be -2

Greg King: "We are lucky that the bug is simple -- a missing "else".  The result is that the compiler thinks that it does the opposite of what it actually does:  It thinks that it pushes the non-constant expression onto the stack. It doesn't; so, cc65's stack pointer is wrong."

10 years agoMerge pull request #51 from groessler/something_to_pull
Oliver Schmidt [Fri, 4 Oct 2013 11:15:56 +0000 (04:15 -0700)]
Merge pull request #51 from groessler/something_to_pull

small optimization

10 years agosmall optimization 51/head
Christian Groessler [Fri, 4 Oct 2013 10:40:35 +0000 (12:40 +0200)]
small optimization

10 years agoMerge pull request #50 from groessler/something_to_pull
Oliver Schmidt [Fri, 4 Oct 2013 09:43:48 +0000 (02:43 -0700)]
Merge pull request #50 from groessler/something_to_pull

Add "system check" load chunk to regular (non-XL) Atari target.

10 years agoLower the default Atari start adress from $2E00 to $2000. With 50/head
Christian Groessler [Thu, 3 Oct 2013 23:02:35 +0000 (01:02 +0200)]
Lower the default Atari start adress from $2E00 to $2000. With
the startup memory check of the "system check" load chunk this
should be fine

10 years agoEnable "system check" load chunk for non-XL Atari target.
Christian Groessler [Thu, 3 Oct 2013 22:53:34 +0000 (00:53 +0200)]
Enable "system check" load chunk for non-XL Atari target.

10 years agoMerge pull request #49 from groessler/something_to_pull
Oliver Schmidt [Thu, 3 Oct 2013 12:35:55 +0000 (05:35 -0700)]
Merge pull request #49 from groessler/something_to_pull

Atari XL: use all available memory below the ROM

10 years agoFix typo in last change. 49/head
Christian Groessler [Thu, 3 Oct 2013 12:15:39 +0000 (14:15 +0200)]
Fix typo in last change.

10 years agoUse all available memory below the ROM.
Christian Groessler [Thu, 3 Oct 2013 12:11:35 +0000 (14:11 +0200)]
Use all available memory below the ROM.