]> git.sur5r.net Git - cc65/log
cc65
6 years agoMerge pull request #1 from cc65/master 528/head
Stefan [Tue, 14 Nov 2017 02:36:03 +0000 (03:36 +0100)]
Merge pull request #1 from cc65/master

Update

6 years agoMade cbm_k_untlk() available.
Oliver Schmidt [Mon, 13 Nov 2017 19:38:22 +0000 (20:38 +0100)]
Made cbm_k_untlk() available.

6 years agoMerge pull request #521 from jedeoric/master
Oliver Schmidt [Sun, 12 Nov 2017 10:02:56 +0000 (10:02 +0000)]
Merge pull request #521 from jedeoric/master

Fix cc65 doc for Telestrat target

6 years agoFix cc65 doc for telestrat target 521/head
jede [Sun, 12 Nov 2017 09:42:09 +0000 (10:42 +0100)]
Fix cc65 doc for telestrat target

6 years agoMerge pull request #519 from jedeoric/master
Oliver Schmidt [Sat, 11 Nov 2017 21:09:59 +0000 (21:09 +0000)]
Merge pull request #519 from jedeoric/master

[Telestrat] mkdir is now available

6 years agoDoc modified 519/head
jede [Fri, 10 Nov 2017 09:58:01 +0000 (10:58 +0100)]
Doc modified

6 years agoMerge pull request #518 from polluks/patch-1
Oliver Schmidt [Thu, 9 Nov 2017 16:44:32 +0000 (16:44 +0000)]
Merge pull request #518 from polluks/patch-1

Missing declaration

6 years agoMissing declaration 518/head
Stefan [Thu, 9 Nov 2017 16:36:21 +0000 (17:36 +0100)]
Missing declaration

6 years agoMerge pull request #517 from Fabrizio-Caruso/gamate_joy2
Oliver Schmidt [Thu, 9 Nov 2017 15:43:41 +0000 (15:43 +0000)]
Merge pull request #517 from Fabrizio-Caruso/gamate_joy2

Correct bits in gamate joystick detection

6 years agoUpdate gamate-stdjoy.s 517/head
Fabrizio Caruso [Thu, 9 Nov 2017 15:42:52 +0000 (16:42 +0100)]
Update gamate-stdjoy.s

6 years agoUpdate gamate-stdjoy.s
Fabrizio Caruso [Thu, 9 Nov 2017 15:36:06 +0000 (16:36 +0100)]
Update gamate-stdjoy.s

6 years agoCorrect bits in gamate joystick detection
U-AMAIISDOM\fcaruso [Thu, 9 Nov 2017 12:51:04 +0000 (13:51 +0100)]
Correct bits in gamate joystick detection

6 years agoMerge pull request #514 from pfusik/zlib-fix2
Oliver Schmidt [Wed, 8 Nov 2017 10:45:12 +0000 (10:45 +0000)]
Merge pull request #514 from pfusik/zlib-fix2

Fix another zlib bug

6 years agoFix more than 256 codes of same length. 514/head
Piotr Fusik [Tue, 7 Nov 2017 19:10:19 +0000 (20:10 +0100)]
Fix more than 256 codes of same length.
Fix all 256 literal codes of same length.

6 years agoUse macro actually defined in cbm_filetype.h.
Oliver Schmidt [Mon, 6 Nov 2017 20:02:14 +0000 (21:02 +0100)]
Use macro actually defined in cbm_filetype.h.

6 years agoMerge pull request #513 from pfusik/zlib-fix1
Oliver Schmidt [Mon, 6 Nov 2017 19:47:56 +0000 (19:47 +0000)]
Merge pull request #513 from pfusik/zlib-fix1

Fix zlib bug

6 years agoFix 256 codes of same length 513/head
Piotr Fusik [Mon, 6 Nov 2017 18:46:26 +0000 (19:46 +0100)]
Fix 256 codes of same length

6 years agoMerge pull request #510 from polluks/master
Oliver Schmidt [Sun, 5 Nov 2017 12:38:32 +0000 (12:38 +0000)]
Merge pull request #510 from polluks/master

Alternative joystick interface for Atmos

6 years agoUpdate atmos.sgml 510/head
Stefan [Fri, 3 Nov 2017 19:49:49 +0000 (20:49 +0100)]
Update atmos.sgml

6 years agoAdd files via upload
Stefan [Thu, 2 Nov 2017 20:11:08 +0000 (21:11 +0100)]
Add files via upload

Alternative joystick interface

6 years agoFixed the way that the disassembler looks for the end of a segment.
Greg King [Tue, 31 Oct 2017 04:45:17 +0000 (00:45 -0400)]
Fixed the way that the disassembler looks for the end of a segment.

It checks only the bytes that actually were printed.  It won't show a bad error message when disassembling address $0000.  Fixes #506 on cc65's Github project.

6 years agoEmpty item removed
jede [Fri, 27 Oct 2017 22:40:56 +0000 (00:40 +0200)]
Empty item removed

6 years agoNow mkdir is working
jede [Fri, 27 Oct 2017 22:37:47 +0000 (00:37 +0200)]
Now mkdir is working

6 years agoFix doc/telestrat.sgml
jede [Thu, 26 Oct 2017 20:00:12 +0000 (22:00 +0200)]
Fix doc/telestrat.sgml

6 years agoMerge pull request #507 from jedeoric/master
Oliver Schmidt [Wed, 25 Oct 2017 14:49:14 +0000 (14:49 +0000)]
Merge pull request #507 from jedeoric/master

[telestrat] tgi_line & tgi_outtext are available, toascii.s added, doc updated

6 years agoFIX label for setpixelmode 507/head
jede [Mon, 23 Oct 2017 21:25:08 +0000 (23:25 +0200)]
FIX label for setpixelmode

6 years agoMerge branch 'master' of https://github.com/jedeoric/cc65
jede [Mon, 23 Oct 2017 21:04:22 +0000 (23:04 +0200)]
Merge branch 'master' of https://github.com/jedeoric/cc65

6 years agoComment correction
jede [Mon, 23 Oct 2017 21:02:54 +0000 (23:02 +0200)]
Comment correction

6 years agoComment correction
jede [Mon, 23 Oct 2017 21:00:43 +0000 (23:00 +0200)]
Comment correction

6 years agoRemove toascii.s
jede [Mon, 23 Oct 2017 18:52:22 +0000 (20:52 +0200)]
Remove toascii.s

6 years agoSave/restore jmpvec as it is used by generated code - see g_callind().
Oliver Schmidt [Mon, 23 Oct 2017 16:57:28 +0000 (18:57 +0200)]
Save/restore jmpvec as it is used by generated code - see g_callind().

6 years agoReplaced three (logically) identical files with a single file.
Oliver Schmidt [Mon, 23 Oct 2017 16:35:06 +0000 (18:35 +0200)]
Replaced three (logically) identical files with a single file.

6 years agoMinor style fix.
Oliver Schmidt [Mon, 23 Oct 2017 16:22:51 +0000 (18:22 +0200)]
Minor style fix.

6 years agoremoving extra spaces
jede [Sun, 22 Oct 2017 21:12:12 +0000 (23:12 +0200)]
removing extra spaces

6 years agoMerge branch 'master' into master
jedeoric [Sun, 22 Oct 2017 21:11:18 +0000 (23:11 +0200)]
Merge branch 'master' into master

6 years agotoascii.s added, doc updated, tgi_line & tgi_outtext are available
jede [Sun, 22 Oct 2017 21:06:56 +0000 (23:06 +0200)]
toascii.s added, doc updated, tgi_line & tgi_outtext are available

6 years agoMerge pull request #504 from jedeoric/master
Oliver Schmidt [Sun, 22 Oct 2017 11:14:55 +0000 (11:14 +0000)]
Merge pull request #504 from jedeoric/master

[Telestrat] TGI initialization,  some bugs (clrscr) correction, cgetc optimization, irq management

6 years agocomment correction 504/head
jede [Fri, 20 Oct 2017 19:29:16 +0000 (21:29 +0200)]
comment correction

6 years agoNow setPixel works in TGI.
jede [Fri, 20 Oct 2017 19:03:30 +0000 (21:03 +0200)]
Now setPixel works in TGI.

6 years agoCorrection : authors
jede [Mon, 16 Oct 2017 16:18:36 +0000 (18:18 +0200)]
Correction :  authors

6 years agoOptimizing (from Polluks tip)
jede [Mon, 16 Oct 2017 16:15:53 +0000 (18:15 +0200)]
Optimizing (from Polluks tip)

6 years agotgi_clear, tgi_init, tgi_done, tgi_getmaxx, tgi_getmaxy are working
jede [Mon, 16 Oct 2017 16:08:48 +0000 (18:08 +0200)]
tgi_clear, tgi_init, tgi_done, tgi_getmaxx, tgi_getmaxy are working

6 years agoirq.s added
jede [Mon, 16 Oct 2017 15:34:32 +0000 (17:34 +0200)]
irq.s added

6 years agoAdding IRQVec
jede [Mon, 16 Oct 2017 15:33:10 +0000 (17:33 +0200)]
Adding IRQVec

6 years agoclrscr.s switch to text mode
jede [Mon, 16 Oct 2017 15:28:00 +0000 (17:28 +0200)]
clrscr.s switch to text mode

6 years agoI/O identifiers added
jede [Mon, 16 Oct 2017 14:11:37 +0000 (16:11 +0200)]
I/O identifiers added

6 years agoAdding XSOUT : Send A register to RS232
jede [Mon, 16 Oct 2017 14:06:18 +0000 (16:06 +0200)]
Adding XSOUT : Send A register to RS232

6 years agoAdded commit ca4ed290d5964dbe833224d967d3707e20972278's command-line option to the...
Greg King [Mon, 16 Oct 2017 13:39:33 +0000 (09:39 -0400)]
Added commit ca4ed290d5964dbe833224d967d3707e20972278's command-line option to the cl65 document.

6 years agoMerge pull request #503 from jedeoric/master
Oliver Schmidt [Sun, 8 Oct 2017 17:56:04 +0000 (17:56 +0000)]
Merge pull request #503 from jedeoric/master

[telestrat] cgetc is now available

6 years agoCorrecting comments 503/head
jede [Sun, 8 Oct 2017 16:14:26 +0000 (18:14 +0200)]
Correcting comments

6 years agoAdding cgetc
jede [Sun, 8 Oct 2017 16:11:09 +0000 (18:11 +0200)]
Adding cgetc

6 years agoMerge pull request #501 from clbr/master
Oliver Schmidt [Tue, 3 Oct 2017 21:07:09 +0000 (23:07 +0200)]
Merge pull request #501 from clbr/master

cl65: Add support for --all-cdecl

6 years agoAtari: split "setcursor" function out of cgetc.s source file into setcursor.s.
Christian Groessler [Tue, 3 Oct 2017 19:58:52 +0000 (21:58 +0200)]
Atari: split "setcursor" function out of cgetc.s source file into setcursor.s.

This function is used by many other CONIO functions, and the user program not
necessarily uses 'cgetc'. Having "setcursor" in a different object file saves
space in this case and also allows the user program to override it (e.g. when
not using GRAPHICS 0 mode).

6 years agocl65: Add support for --all-cdecl 501/head
Lauri Kasanen [Tue, 3 Oct 2017 15:46:39 +0000 (18:46 +0300)]
cl65: Add support for --all-cdecl

6 years agooptimize
jede [Mon, 2 Oct 2017 10:20:52 +0000 (12:20 +0200)]
optimize

6 years agotelestrat : cgetc add for conio
jede [Sun, 1 Oct 2017 21:23:03 +0000 (23:23 +0200)]
telestrat : cgetc add for conio

6 years agoMerge pull request #494 from jedeoric/master
Oliver Schmidt [Wed, 27 Sep 2017 07:52:19 +0000 (09:52 +0200)]
Merge pull request #494 from jedeoric/master

[telestrat] Adding some vars, adding getcwd management, changing ZP address and ZP length

6 years agoremove FILENAME_MAX 494/head
jede [Mon, 25 Sep 2017 19:47:05 +0000 (21:47 +0200)]
remove FILENAME_MAX

6 years agoFixing buffer overflow with cwd command (FILENAME_MAX must be at 50 +1 bytes)
jede [Mon, 25 Sep 2017 19:39:57 +0000 (21:39 +0200)]
Fixing buffer overflow with cwd command (FILENAME_MAX must be at 50 +1 bytes)

6 years agocorrecting missing _
jede [Sun, 24 Sep 2017 18:07:02 +0000 (20:07 +0200)]
correcting missing _

6 years agoFixing bug for cwd
jede [Sun, 24 Sep 2017 18:04:50 +0000 (20:04 +0200)]
Fixing bug for cwd

6 years agoInitcwd is now working for telestrat
jede [Sun, 24 Sep 2017 17:23:44 +0000 (19:23 +0200)]
Initcwd is now working for telestrat

6 years agoAdding XVARS primitive
jede [Sun, 24 Sep 2017 17:22:43 +0000 (19:22 +0200)]
Adding XVARS primitive

6 years agoCorrecting missing return line :/
jede [Sun, 24 Sep 2017 09:57:52 +0000 (11:57 +0200)]
Correcting missing return line :/

6 years agocorrecting some return lines
jede [Sun, 24 Sep 2017 09:56:55 +0000 (11:56 +0200)]
correcting some return lines

6 years agoAdd some bytes in ZP block in order to able to link with o65 files
jede [Sun, 24 Sep 2017 09:55:37 +0000 (11:55 +0200)]
Add some bytes in ZP block in order to able to link with o65 files

6 years agoadding some vars
jede [Sun, 24 Sep 2017 09:46:52 +0000 (11:46 +0200)]
adding some vars

6 years agoMerge pull request #487 from polluks/patch-1
greg-king5 [Thu, 14 Sep 2017 16:08:10 +0000 (12:08 -0400)]
Merge pull request #487 from polluks/patch-1

Fixed address in CBM 510 document.

6 years agoFixed address 487/head
Stefan [Wed, 13 Sep 2017 21:51:07 +0000 (23:51 +0200)]
Fixed address

See cbm510.cfg

6 years agoconio.h: include 'creativision.h' when compiling for this target.
Christian Groessler [Tue, 12 Sep 2017 19:57:16 +0000 (21:57 +0200)]
conio.h: include 'creativision.h' when compiling for this target.

6 years agoMade <conio.h> include <atari5200.h> when we compile for the Atari 5200 console.
Greg King [Sun, 10 Sep 2017 16:27:57 +0000 (12:27 -0400)]
Made <conio.h> include <atari5200.h> when we compile for the Atari 5200 console.

atari5200.lib has some conio functions.

6 years agoMerge pull request #482 from greg-king5/pet-kbrepeat
Oliver Schmidt [Wed, 6 Sep 2017 07:19:04 +0000 (09:19 +0200)]
Merge pull request #482 from greg-king5/pet-kbrepeat

Make the CBM Pet kbrepeat() work on both 40-/80-column machines.

6 years agoRemoved an unwanted button mask table from a VIC-20 joystick driver.
Greg King [Tue, 5 Sep 2017 20:56:20 +0000 (16:56 -0400)]
Removed an unwanted button mask table from a VIC-20 joystick driver.

It had put the jump table at the wrong place.  Programs crashed as soon as they tried to initiate the driver.

6 years agoMade the CBM Pet kbrepeat() work on both 40-column and 80-column machines. 482/head
Greg King [Tue, 5 Sep 2017 07:40:34 +0000 (03:40 -0400)]
Made the CBM Pet kbrepeat() work on both 40-column and 80-column machines.

Put the kbrepeat() description in an alphabetical position in the function document.

6 years agoAdded JOY_FIRE.
Oliver Schmidt [Mon, 4 Sep 2017 07:41:19 +0000 (09:41 +0200)]
Added JOY_FIRE.

According to https://en.wikipedia.org/wiki/Atari_8-bit_computer_peripherals it seems appropriate to add a JOY_FIRE definition for the ATARI.

6 years agoMerge pull request #480 from phs/phs/docs-typo
Oliver Schmidt [Mon, 4 Sep 2017 07:15:36 +0000 (09:15 +0200)]
Merge pull request #480 from phs/phs/docs-typo

At most 256 bytes will be reserved

6 years agoReserve space in examples with .res 480/head
Phil Smith [Sun, 3 Sep 2017 02:25:49 +0000 (19:25 -0700)]
Reserve space in examples with .res

6 years agoAt most 256 bytes will be reserved
Phil Smith [Sat, 2 Sep 2017 06:11:54 +0000 (23:11 -0700)]
At most 256 bytes will be reserved

6 years agoRemoved dysfunctional kbrepeatdelay() and kbrepeatrate().
Oliver Schmidt [Wed, 30 Aug 2017 14:37:31 +0000 (16:37 +0200)]
Removed dysfunctional kbrepeatdelay() and kbrepeatrate().

As discussed in https://github.com/cc65/cc65/pull/452 after my premature merge the two functions in question don't work as expected.

Additionally I adjusted several style deviations in the pull request in question.

6 years agoFixed missing name and semicolon in two device structs.
Greg King [Wed, 23 Aug 2017 05:46:57 +0000 (01:46 -0400)]
Fixed missing name and semicolon in two device structs.

6 years agoAdjusted to recent driver interface change.
Oliver Schmidt [Sun, 20 Aug 2017 14:39:07 +0000 (16:39 +0200)]
Adjusted to recent driver interface change.

Please note that this change is absolutely untested!

Apart from the recent driver interface change:
- vic20-stdjoy.s was "slightly broken" because it didn't clear x on return from joy_read.
- vic20-ptvjoy.s was "heavily broken" because it returned a totally different set of bits of the first joystick.

6 years agoMinor style adjustment.
Oliver Schmidt [Sun, 20 Aug 2017 12:53:40 +0000 (14:53 +0200)]
Minor style adjustment.

6 years agoAdjusted to recent driver interface change.
Oliver Schmidt [Sun, 20 Aug 2017 12:25:02 +0000 (14:25 +0200)]
Adjusted to recent driver interface change.

Please note that this change is absolutely untested!

6 years agoMerge pull request #452 from mrdudz/kbrepeat
Oliver Schmidt [Sun, 20 Aug 2017 12:15:37 +0000 (14:15 +0200)]
Merge pull request #452 from mrdudz/kbrepeat

kbrepeatdelay and kbrepeatrate for cbm targets

6 years agoAdjusted to recent driver interface change.
Oliver Schmidt [Sun, 20 Aug 2017 09:49:02 +0000 (11:49 +0200)]
Adjusted to recent driver interface change.

The change is inspired by the code of the standard joystick driver. It is however absolutely untested.

Note: Sites like http://raster.atariportal.cz/english.htm state that there needs to be a delay when reading joysticks via the MultiJoy adapter. There's no such delay in the driver. But I don't dare to decide to add it.

6 years agoadd note on fastcall 452/head
mrdudz [Sat, 19 Aug 2017 17:16:31 +0000 (19:16 +0200)]
add note on fastcall

6 years agouse fastcall
mrdudz [Sat, 19 Aug 2017 17:14:24 +0000 (19:14 +0200)]
use fastcall

6 years agoRemoved joy_masks array.
Oliver Schmidt [Sat, 19 Aug 2017 17:11:28 +0000 (19:11 +0200)]
Removed joy_masks array.

So far the joy_masks array allowed several joystick drivers for a single target to each have different joy_read return values. However this meant that every call to joy_read implied an additional joy_masks lookup to post-process the return value.

Given that almost all targets only come with a single joystick driver this seems an inappropriate overhead. Therefore now the target header files contain constants matching the return value of the joy_read of the joystick driver(s) on that target.

If there indeed are several joystick drivers for a single target they must agree on a common return value for joy_read. In some cases this was alredy the case as there's a "natural" return value for joy_read. However a few joystick drivers need to be adjusted. This may cause some overhead inside the driver. But that is for sure smaller than the overhead introduced by the joy_masks lookup before.

!!! ToDo !!!

The following three joystick drivers become broken with this commit and need to be adjusted:
- atrmj8.s
- c64-numpad.s
- vic20-stdjoy.s

6 years agoMerge branch 'master' into kbrepeat
Bob Andrews [Sun, 6 Aug 2017 18:22:52 +0000 (20:22 +0200)]
Merge branch 'master' into kbrepeat

6 years agoresolve conflict
mrdudz [Sun, 6 Aug 2017 18:20:22 +0000 (20:20 +0200)]
resolve conflict

6 years agoadded documentation for the kbrepeat... functions
mrdudz [Sun, 6 Aug 2017 18:15:35 +0000 (20:15 +0200)]
added documentation for the kbrepeat... functions

6 years agoadded prototypes and proposed constants
mrdudz [Sun, 6 Aug 2017 16:09:40 +0000 (18:09 +0200)]
added prototypes and proposed constants

6 years agoMerge pull request #473 from groessler/something_to_pull
Oliver Schmidt [Wed, 2 Aug 2017 22:46:22 +0000 (00:46 +0200)]
Merge pull request #473 from groessler/something_to_pull

atari5200.inc: fix formatting

6 years agoatari5200.inc: fix formatting 473/head
Christian Groessler [Wed, 2 Aug 2017 21:56:52 +0000 (23:56 +0200)]
atari5200.inc: fix formatting

6 years agoRemoved undesirable empty lines.
Oliver Schmidt [Mon, 31 Jul 2017 11:50:27 +0000 (13:50 +0200)]
Removed undesirable empty lines.

6 years agoMerge pull request #472 from gungwald/master
Oliver Schmidt [Mon, 31 Jul 2017 11:46:20 +0000 (13:46 +0200)]
Merge pull request #472 from gungwald/master

Added doc for file types and aux types

6 years agoMade corrections according to review comments 472/head
Bill Chatfield [Sun, 30 Jul 2017 23:51:23 +0000 (19:51 -0400)]
Made corrections according to review comments

6 years agoMade corrections according to review comments
Bill Chatfield [Sun, 30 Jul 2017 23:49:20 +0000 (19:49 -0400)]
Made corrections according to review comments

6 years agoAdded documentation for setting the file type for fopen.
Bill Chatfield [Sat, 29 Jul 2017 05:25:07 +0000 (01:25 -0400)]
Added documentation for setting the file type for fopen.

6 years agoDocumented _filetype and _auxtype
Bill Chatfield [Fri, 28 Jul 2017 21:44:13 +0000 (17:44 -0400)]
Documented _filetype and _auxtype