]> git.sur5r.net Git - cc65/log
cc65
9 years agoinverted result for checkchar, saving some bytes and cycles
mrdudz [Mon, 12 Oct 2015 17:03:50 +0000 (19:03 +0200)]
inverted result for checkchar, saving some bytes and cycles

9 years agooptimize charcode conversion, shorter and faster now :)
mrdudz [Mon, 12 Oct 2015 16:53:55 +0000 (18:53 +0200)]
optimize charcode conversion, shorter and faster now :)

9 years agoremove some commented out code
mrdudz [Mon, 12 Oct 2015 16:09:50 +0000 (18:09 +0200)]
remove some commented out code

9 years agosome code shuffling to get rid of long branches
mrdudz [Mon, 12 Oct 2015 16:01:48 +0000 (18:01 +0200)]
some code shuffling to get rid of long branches

9 years agosize optimization
mrdudz [Mon, 12 Oct 2015 15:12:44 +0000 (17:12 +0200)]
size optimization

9 years agocheck for space bottom up, which is faster for the average case
mrdudz [Mon, 12 Oct 2015 14:15:40 +0000 (16:15 +0200)]
check for space bottom up, which is faster for the average case

9 years agofix some style issues
mrdudz [Mon, 12 Oct 2015 13:54:08 +0000 (15:54 +0200)]
fix some style issues

9 years agomaintain lsb of cursor x position internally, saves some bytes and some cycles too :)
mrdudz [Mon, 12 Oct 2015 13:44:41 +0000 (15:44 +0200)]
maintain lsb of cursor x position internally, saves some bytes and some cycles too :)

9 years agomoved bordercolor function into a seperate file
mrdudz [Mon, 12 Oct 2015 13:18:36 +0000 (15:18 +0200)]
moved bordercolor function into a seperate file

9 years agomove internal text/bgcolor variables into the file that also contains the init code...
mrdudz [Mon, 12 Oct 2015 13:04:55 +0000 (15:04 +0200)]
move internal text/bgcolor variables into the file that also contains the init code for them. also rename them to avoid namespace pollution

9 years agoadded some more comments and -headers
mrdudz [Mon, 12 Oct 2015 12:40:12 +0000 (14:40 +0200)]
added some more comments and -headers

9 years agomove charset to seperate file again, added comments on charset layout
mrdudz [Sun, 11 Oct 2015 15:13:28 +0000 (17:13 +0200)]
move charset to seperate file again, added comments on charset layout

9 years agoprint a space for 0x0a and 0x0d in the char matrix
mrdudz [Sun, 11 Oct 2015 15:07:48 +0000 (17:07 +0200)]
print a space for 0x0a and 0x0d in the char matrix

9 years agoupdated conio test
mrdudz [Fri, 9 Oct 2015 21:39:55 +0000 (23:39 +0200)]
updated conio test

9 years agorewrote color voodoo
mrdudz [Fri, 9 Oct 2015 21:39:37 +0000 (23:39 +0200)]
rewrote color voodoo

9 years agouse default prio for the constructor
mrdudz [Fri, 9 Oct 2015 11:40:10 +0000 (13:40 +0200)]
use default prio for the constructor

9 years agosome cleanup/rework
mrdudz [Fri, 9 Oct 2015 11:34:23 +0000 (13:34 +0200)]
some cleanup/rework

9 years agosome more rework, second attempt on fixing the color issues. added ifdefs to disable...
mrdudz [Thu, 8 Oct 2015 18:43:25 +0000 (20:43 +0200)]
some more rework, second attempt on fixing the color issues. added ifdefs to disable the color voodoo alltogether for debugging purposes.

9 years agoattempted fix for the color problem noticed by oliver
mrdudz [Tue, 6 Oct 2015 18:18:40 +0000 (20:18 +0200)]
attempted fix for the color problem noticed by oliver

9 years agooptimized clrscr for size
mrdudz [Tue, 6 Oct 2015 17:33:43 +0000 (19:33 +0200)]
optimized clrscr for size

9 years agofix clrscr so it doesnt wipe sprite pointers
mrdudz [Thu, 1 Oct 2015 15:16:02 +0000 (17:16 +0200)]
fix clrscr so it doesnt wipe sprite pointers

9 years agoSCREEN->screensize
mrdudz [Thu, 1 Oct 2015 13:03:11 +0000 (15:03 +0200)]
SCREEN->screensize

9 years agoadded input test
mrdudz [Mon, 28 Sep 2015 15:12:33 +0000 (17:12 +0200)]
added input test

9 years agofixed kplot
mrdudz [Mon, 28 Sep 2015 15:12:20 +0000 (17:12 +0200)]
fixed kplot

9 years agosome cleanup, checked usage of __bgcolor and __textcolor
mrdudz [Mon, 28 Sep 2015 14:10:11 +0000 (16:10 +0200)]
some cleanup, checked usage of __bgcolor and __textcolor

9 years agodont use seperate file for charset data
mrdudz [Mon, 28 Sep 2015 13:57:16 +0000 (15:57 +0200)]
dont use seperate file for charset data

9 years agofix conio test to work on vic20 screen
mrdudz [Mon, 28 Sep 2015 13:29:14 +0000 (15:29 +0200)]
fix conio test to work on vic20 screen

9 years agoadded extra check for graphical chars
mrdudz [Mon, 28 Sep 2015 13:10:57 +0000 (15:10 +0200)]
added extra check for graphical chars

9 years agoremoved duplicate copy of charset and shift it at init time, saves 1k
mrdudz [Sun, 27 Sep 2015 17:34:43 +0000 (19:34 +0200)]
removed duplicate copy of charset and shift it at init time, saves 1k

9 years agoprepend soft80_ to some more internally used functions
mrdudz [Sun, 27 Sep 2015 17:10:06 +0000 (19:10 +0200)]
prepend soft80_ to some more internally used functions

9 years agoinclude bitmap and vram row tables directly rather than generating them (saves space)
mrdudz [Sun, 27 Sep 2015 16:49:30 +0000 (18:49 +0200)]
include bitmap and vram row tables directly rather than generating them (saves space)

9 years agofix initial text- and background colors
mrdudz [Sun, 27 Sep 2015 16:36:53 +0000 (18:36 +0200)]
fix initial text- and background colors

9 years agoinitial commit of soft80 implementation
mrdudz [Sun, 27 Sep 2015 16:12:25 +0000 (18:12 +0200)]
initial commit of soft80 implementation

9 years agoMerge pull request #211 from greg-king5/errno-helpers
Oliver Schmidt [Fri, 25 Sep 2015 20:13:11 +0000 (22:13 +0200)]
Merge pull request #211 from greg-king5/errno-helpers

Move errno helper functions into separately linkable files.

9 years agoMoved two errno helper functions into separate files. 211/head
Greg King [Fri, 25 Sep 2015 18:06:58 +0000 (14:06 -0400)]
Moved two errno helper functions into separate files.

Only the function that actually is needed will be linked.  It is very useful for targets that do not have file-system I/O.

9 years agoMerge pull request #210 from greg-king5/archiver
Oliver Schmidt [Fri, 25 Sep 2015 14:21:47 +0000 (16:21 +0200)]
Merge pull request #210 from greg-king5/archiver

Make an ar65 warning show both object files' names.

9 years agoFixed a warning message. 210/head
Greg King [Fri, 25 Sep 2015 06:31:17 +0000 (02:31 -0400)]
Fixed a warning message.

9 years agoUpdate README.md
Oliver Schmidt [Thu, 24 Sep 2015 08:16:46 +0000 (10:16 +0200)]
Update README.md

9 years agoUpdate README.md
Oliver Schmidt [Thu, 24 Sep 2015 08:14:30 +0000 (10:14 +0200)]
Update README.md

9 years agoUse title case.
Oliver Schmidt [Thu, 24 Sep 2015 08:06:24 +0000 (10:06 +0200)]
Use title case.

9 years agoMerge pull request #177 from mrdudz/pcenginetarget
Oliver Schmidt [Thu, 24 Sep 2015 07:58:28 +0000 (09:58 +0200)]
Merge pull request #177 from mrdudz/pcenginetarget

new target: PC Engine (TurboGrafx16)

9 years agouse 'plot' instead of 'PLOT' 177/head
mrdudz [Sun, 20 Sep 2015 10:18:41 +0000 (12:18 +0200)]
use 'plot' instead of 'PLOT'

9 years agoadded interruptor support
mrdudz [Sat, 19 Sep 2015 13:55:43 +0000 (15:55 +0200)]
added interruptor support

9 years agofixed more flaws found by greg :)
mrdudz [Sat, 19 Sep 2015 13:37:39 +0000 (15:37 +0200)]
fixed more flaws found by greg :)

9 years agoMerge pull request #208 from greg-king5/big-jump
Oliver Schmidt [Fri, 11 Sep 2015 19:06:50 +0000 (21:06 +0200)]
Merge pull request #208 from greg-king5/big-jump

Improve the longjmp() and setjmp() functions.

9 years agoMerge pull request #207 from greg-king5/random-seed
Oliver Schmidt [Fri, 11 Sep 2015 19:02:40 +0000 (21:02 +0200)]
Merge pull request #207 from greg-king5/random-seed

Fix the CBM random-seed generators.

9 years agoImproved longjmp() and setjmp(). 208/head
Greg King [Fri, 11 Sep 2015 18:18:22 +0000 (14:18 -0400)]
Improved longjmp() and setjmp().

9 years agoFixed the random-seed generators for the Commodore targets. 207/head
Greg King [Fri, 11 Sep 2015 14:03:07 +0000 (10:03 -0400)]
Fixed the random-seed generators for the Commodore targets.

They use a byte from the time counter; but, it is stored in big-endian order.

9 years agofixed VDC register assignments
mrdudz [Mon, 7 Sep 2015 10:55:36 +0000 (12:55 +0200)]
fixed VDC register assignments

9 years agoMerge pull request #205 from greg-king5/typo
Oliver Schmidt [Sun, 6 Sep 2015 19:35:32 +0000 (21:35 +0200)]
Merge pull request #205 from greg-king5/typo

Fix " til " typos.

9 years agoFixed the " til " typos. 205/head
Greg King [Sun, 6 Sep 2015 16:23:58 +0000 (12:23 -0400)]
Fixed the " til " typos.

9 years agofix gregs complaints :)
mrdudz [Fri, 4 Sep 2015 12:14:17 +0000 (14:14 +0200)]
fix gregs complaints :)

9 years agoMerge remote-tracking branch 'upstream/master' into pcenginetarget
mrdudz [Fri, 4 Sep 2015 11:40:52 +0000 (13:40 +0200)]
Merge remote-tracking branch 'upstream/master' into pcenginetarget

9 years agoupdated
mrdudz [Fri, 4 Sep 2015 11:38:17 +0000 (13:38 +0200)]
updated

9 years agofixed style issues
mrdudz [Thu, 3 Sep 2015 11:09:18 +0000 (13:09 +0200)]
fixed style issues

9 years agoMerge pull request #203 from greg-king5/multi-comments
Oliver Schmidt [Mon, 31 Aug 2015 15:36:02 +0000 (17:36 +0200)]
Merge pull request #203 from greg-king5/multi-comments

Change multi-line C comments in files that were missed by a previous pull request.

9 years agoMerge pull request #202 from greg-king5/argv-null
Oliver Schmidt [Mon, 31 Aug 2015 15:34:28 +0000 (17:34 +0200)]
Merge pull request #202 from greg-king5/argv-null

Fix the preparation of tool command lines.

9 years agoChanged multi-line C comments in files that I missed in commit 0390c34e88e9512b81ce35... 203/head
Greg King [Sun, 30 Aug 2015 12:43:54 +0000 (08:43 -0400)]
Changed multi-line C comments in files that I missed in commit 0390c34e88e9512b81ce35a9ba36d137d1c80c44.

9 years agoDon't count the NULL (doh!). 202/head
Greg King [Sun, 30 Aug 2015 11:55:07 +0000 (07:55 -0400)]
Don't count the NULL (doh!).

9 years agoFixed a comparison operator; so that the NULL at the end of argv[] is copied by InitC...
Greg King [Sun, 30 Aug 2015 09:16:38 +0000 (05:16 -0400)]
Fixed a comparison operator; so that the NULL at the end of argv[] is copied by InitCmdLine().

Most POSIX function libraries hid that long-time bug by putting zeroes in their dynamic RAM; but, MinGW's library doesn't do it.  Therefore, a command like
cl65 foo.c -l
would crash with a "Segmentation fault" -- it should give a nice error message about "-l"; and, quit neatly.

9 years agostyle fixes
mrdudz [Sat, 29 Aug 2015 13:58:57 +0000 (15:58 +0200)]
style fixes

9 years agoMerge pull request #199 from greg-king5/irq
Oliver Schmidt [Thu, 27 Aug 2015 09:35:48 +0000 (11:35 +0200)]
Merge pull request #199 from greg-king5/irq

Fix source-code bugs that cause linking problems when set_irq() is used in a program.

9 years agoFixed bugs in the interface for C-level interrupt handlers. 199/head
Greg King [Wed, 26 Aug 2015 23:29:39 +0000 (19:29 -0400)]
Fixed bugs in the interface for C-level interrupt handlers.

* Added an important ".code" directive.

* Import a linker-created zero-page symbol as an absolute address; then, convert it to zero-page when it is used.

Fixes bug report #198.

9 years agoDon't show (potentially failing) pull request builds.
Oliver Schmidt [Tue, 25 Aug 2015 11:57:21 +0000 (13:57 +0200)]
Don't show (potentially failing) pull request builds.

9 years agoMerge pull request #197 from greg-king5/static
Oliver Schmidt [Sat, 15 Aug 2015 04:53:40 +0000 (06:53 +0200)]
Merge pull request #197 from greg-king5/static

Handle almost-duplicate C declarations that have different linkages.

9 years agoMerge pull request #196 from greg-king5/tests
Oliver Schmidt [Fri, 14 Aug 2015 07:04:20 +0000 (09:04 +0200)]
Merge pull request #196 from greg-king5/tests

Remove pointless rules from a regression test makefile.

9 years agoRemoved redundant attempts to build uncompilable files. 196/head
Greg King [Thu, 13 Aug 2015 21:25:52 +0000 (17:25 -0400)]
Removed redundant attempts to build uncompilable files.

9 years agoAdded regression tests of diagnostics for conflicts between extern/public and static... 197/head
Greg King [Thu, 13 Aug 2015 07:39:35 +0000 (03:39 -0400)]
Added regression tests of diagnostics for conflicts between extern/public and static declarations.

9 years agoAdded warning diagnostics for conflicts between extern/public and static declarations.
Greg King [Mon, 10 Aug 2015 17:39:17 +0000 (13:39 -0400)]
Added warning diagnostics for conflicts between extern/public and static declarations.

9 years agoStopped extern declarations from changing previous static, but otherwise identical...
Greg King [Sun, 9 Aug 2015 10:27:05 +0000 (06:27 -0400)]
Stopped extern declarations from changing previous static, but otherwise identical, declarations.

9 years agoImproved the format of the global symbols' lists of flags, in cc65's debugging output.
Greg King [Sun, 9 Aug 2015 02:04:38 +0000 (22:04 -0400)]
Improved the format of the global symbols' lists of flags, in cc65's debugging output.

9 years agoMerge pull request #190 from greg-king5/zeropage-doc
Oliver Schmidt [Sat, 1 Aug 2015 11:28:42 +0000 (13:28 +0200)]
Merge pull request #190 from greg-king5/zeropage-doc

Fix an obsolete description of ca65's .ZEROPAGE directive.

9 years agoFixed the syntax in the shortcut expansion of ".ZEROPAGE". 190/head
Greg King [Sat, 1 Aug 2015 09:50:13 +0000 (05:50 -0400)]
Fixed the syntax in the shortcut expansion of ".ZEROPAGE".

Added a reference from ".SEGMENT" to ".ZEROPAGE".

9 years agoMerge pull request #188 from greg-king5/docs
Oliver Schmidt [Wed, 29 Jul 2015 12:48:38 +0000 (14:48 +0200)]
Merge pull request #188 from greg-king5/docs

65816 assembler document fix.

9 years agoRemoved obsolete lines from a list of 65816 mnemonic aliases. 188/head
Greg King [Wed, 29 Jul 2015 10:55:50 +0000 (06:55 -0400)]
Removed obsolete lines from a list of 65816 mnemonic aliases.

Described what the macroes in macro package "generic" do.

9 years agoMerge pull request #183 from Movax12/linecont-bug
Oliver Schmidt [Sat, 25 Jul 2015 15:52:49 +0000 (17:52 +0200)]
Merge pull request #183 from Movax12/linecont-bug

Fix bug #182

9 years agoMerge pull request #184 from greg-king5/fastcall
Oliver Schmidt [Thu, 23 Jul 2015 15:11:49 +0000 (17:11 +0200)]
Merge pull request #184 from greg-king5/fastcall

Update some fastcall info.

9 years agoUpdated the fastcall information in a document and two Assembly files. 184/head
Greg King [Wed, 22 Jul 2015 16:56:34 +0000 (12:56 -0400)]
Updated the fastcall information in a document and two Assembly files.

9 years agoAdded empty IRQ backend.
Oliver Schmidt [Wed, 22 Jul 2015 09:36:39 +0000 (11:36 +0200)]
Added empty IRQ backend.

The driver kernels all require IRQ handling even if the actual drivers don't make use of it. So in order to successfully link a NES program using the joystick and/or TGI driver there has to be at least a "dummy" IRQ backend.

9 years agoStyle again 183/head
JT [Mon, 20 Jul 2015 23:16:48 +0000 (19:16 -0400)]
Style again

9 years agoFix style
JT [Mon, 20 Jul 2015 23:12:30 +0000 (19:12 -0400)]
Fix style

9 years agoFix bug #182
JT [Mon, 20 Jul 2015 22:55:25 +0000 (18:55 -0400)]
Fix bug #182

9 years agoMerge remote-tracking branch 'upstream/master' into pcenginetarget
mrdudz [Mon, 20 Jul 2015 16:42:04 +0000 (18:42 +0200)]
Merge remote-tracking branch 'upstream/master' into pcenginetarget

9 years agoMerge pull request #181 from Movax12/base10bug
Oliver Schmidt [Mon, 20 Jul 2015 16:05:23 +0000 (18:05 +0200)]
Merge pull request #181 from Movax12/base10bug

Fix base 10 bug (ca65 allows 'a' or 'A' in base10 value)

9 years agoMerge pull request #180 from greg-king5/sprintf
Oliver Schmidt [Mon, 20 Jul 2015 16:02:14 +0000 (18:02 +0200)]
Merge pull request #180 from greg-king5/sprintf

Make the sprintf() family of functions handle special argument conditions.

9 years agoMerge pull request #179 from greg-king5/overlay
Oliver Schmidt [Mon, 20 Jul 2015 16:00:56 +0000 (18:00 +0200)]
Merge pull request #179 from greg-king5/overlay

Add overlay-samples make-rules.

9 years agofixed hello.c for pce
mrdudz [Mon, 20 Jul 2015 14:03:03 +0000 (16:03 +0200)]
fixed hello.c for pce

9 years agoMerge remote-tracking branch 'upstream/master' into pcenginetarget
mrdudz [Mon, 20 Jul 2015 13:59:05 +0000 (15:59 +0200)]
Merge remote-tracking branch 'upstream/master' into pcenginetarget

9 years agoMade hello program compatible with joystick-only target(s).
Oliver Schmidt [Mon, 20 Jul 2015 05:46:18 +0000 (07:46 +0200)]
Made hello program compatible with joystick-only target(s).

9 years agoFix base 10 bug (ca65 allows 'a' or 'A' in base10 value) 181/head
JT [Sun, 19 Jul 2015 22:56:42 +0000 (18:56 -0400)]
Fix base 10 bug (ca65 allows 'a' or 'A' in base10 value)

9 years agoadded missing chline, cvline
mrdudz [Sun, 19 Jul 2015 16:06:16 +0000 (18:06 +0200)]
added missing chline, cvline

9 years agofixed hline/vline
mrdudz [Sun, 19 Jul 2015 11:36:27 +0000 (13:36 +0200)]
fixed hline/vline

9 years agoAdded _directerrno() to the sim6502/sim65c02 libraries. 180/head
Greg King [Sat, 18 Jul 2015 22:23:08 +0000 (18:23 -0400)]
Added _directerrno() to the sim6502/sim65c02 libraries.

9 years agoFixed a hardware-stack leak.
Greg King [Sat, 18 Jul 2015 00:36:56 +0000 (20:36 -0400)]
Fixed a hardware-stack leak.

9 years agoAdded a test program for the special features of snprintf().
Greg King [Sat, 18 Jul 2015 00:33:17 +0000 (20:33 -0400)]
Added a test program for the special features of snprintf().

9 years agomoved all notes into regular documentation
mrdudz [Thu, 16 Jul 2015 19:39:13 +0000 (21:39 +0200)]
moved all notes into regular documentation

9 years agoAdded make rules that build the overlay sample programs. 179/head
Greg King [Thu, 16 Jul 2015 19:31:35 +0000 (15:31 -0400)]
Added make rules that build the overlay sample programs.

Fixes half of bug issue 178 (on GitHub).

9 years agofixed joypad bits
mrdudz [Thu, 16 Jul 2015 18:15:05 +0000 (20:15 +0200)]
fixed joypad bits

9 years agoadded some cbm-like gfx chars to draw lines and boxes
mrdudz [Thu, 16 Jul 2015 15:33:00 +0000 (17:33 +0200)]
added some cbm-like gfx chars to draw lines and boxes

9 years agomake sure clocktick starts at zero
mrdudz [Thu, 16 Jul 2015 14:54:40 +0000 (16:54 +0200)]
make sure clocktick starts at zero