]> git.sur5r.net Git - cc65/log
cc65
14 years agoAdded macro for ssc slot selection.
ol.sc [Sun, 13 Dec 2009 11:21:22 +0000 (11:21 +0000)]
Added macro for ssc slot selection.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4526 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded support for the Apple2 machines.
ol.sc [Sun, 13 Dec 2009 11:16:38 +0000 (11:16 +0000)]
Added support for the Apple2 machines.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4525 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded missing declaration ?!?
ol.sc [Sun, 13 Dec 2009 00:13:14 +0000 (00:13 +0000)]
Added missing declaration ?!?

git-svn-id: svn://svn.cc65.org/cc65/trunk@4524 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agogit-svn-id: svn://svn.cc65.org/cc65/trunk@4523 b7a2c559-68d2-44c3-8de9-860c34a00d81
ol.sc [Sat, 12 Dec 2009 23:07:42 +0000 (23:07 +0000)]
git-svn-id: svn://svn.cc65.org/cc65/trunk@4523 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded ioctl for mixing graphics with 4 lines of text.
ol.sc [Sat, 12 Dec 2009 23:07:21 +0000 (23:07 +0000)]
Added ioctl for mixing graphics with 4 lines of text.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4522 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded ioctl for mixing graphics with 4 lines of text.
ol.sc [Sat, 12 Dec 2009 23:06:58 +0000 (23:06 +0000)]
Added ioctl for mixing graphics with 4 lines of text.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4521 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoFixed typos.
ol.sc [Sat, 12 Dec 2009 22:44:50 +0000 (22:44 +0000)]
Fixed typos.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4519 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoMAde the second parameter of tgi_ioctl a void* instead of an unsigned to keep
uz [Fri, 11 Dec 2009 14:33:53 +0000 (14:33 +0000)]
MAde the second parameter of tgi_ioctl a void* instead of an unsigned to keep
the interface more uniform between the driver APIs.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4518 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded a missing "the".
uz [Thu, 10 Dec 2009 22:48:06 +0000 (22:48 +0000)]
Added a missing "the".

git-svn-id: svn://svn.cc65.org/cc65/trunk@4517 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded some definitions for version 1.3 of the o65 format.
uz [Thu, 10 Dec 2009 22:44:27 +0000 (22:44 +0000)]
Added some definitions for version 1.3 of the o65 format.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4516 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoCleaned BUGS list (which is rather old anyway).
uz [Thu, 10 Dec 2009 22:30:32 +0000 (22:30 +0000)]
Cleaned BUGS list (which is rather old anyway).

git-svn-id: svn://svn.cc65.org/cc65/trunk@4515 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded some more detail to the "Binary format" section of the CBM docs.
uz [Thu, 10 Dec 2009 22:25:17 +0000 (22:25 +0000)]
Added some more detail to the "Binary format" section of the CBM docs.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4514 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoReplaced $30 by literal '0' for better readability.
uz [Thu, 10 Dec 2009 22:12:24 +0000 (22:12 +0000)]
Replaced $30 by literal '0' for better readability.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4513 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoRemoved the call to CLRCH in the startup code.
uz [Thu, 10 Dec 2009 21:22:17 +0000 (21:22 +0000)]
Removed the call to CLRCH in the startup code.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4512 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoReplaced left-over tab with space.
ol.sc [Wed, 9 Dec 2009 18:16:02 +0000 (18:16 +0000)]
Replaced left-over tab with space.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4510 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoFixed typo.
ol.sc [Wed, 9 Dec 2009 18:11:58 +0000 (18:11 +0000)]
Fixed typo.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4509 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years ago* Moved the BASIC stub that calls the compiled program into it's own segment
uz [Wed, 9 Dec 2009 12:42:24 +0000 (12:42 +0000)]
* Moved the BASIC stub that calls the compiled program into it's own segment
  named EXEHDR.
* Renamed BASICHDR to EXEHDR for the PET-II machines.
* Moved the call to CHRCH in front of the code that saves the zero page, since
  open files are sometimes remembered in the zero page, so we need to close
  them before we grab a copy.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4507 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAn assignment for the ZPSAVE segment was missing in the linker config for the
uz [Tue, 8 Dec 2009 20:41:43 +0000 (20:41 +0000)]
An assignment for the ZPSAVE segment was missing in the linker config for the
32K memory config of the VIC20. Hint from Robert Hurst.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4505 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoNew option and #pragma --local-strings that causes string literals to be
uz [Tue, 8 Dec 2009 20:35:24 +0000 (20:35 +0000)]
New option and #pragma --local-strings that causes string literals to be
output immediately.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4504 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agomore space improvements by Daniel Serpell
cpg [Mon, 7 Dec 2009 18:58:32 +0000 (18:58 +0000)]
more space improvements by Daniel Serpell

git-svn-id: svn://svn.cc65.org/cc65/trunk@4503 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoRelax header checking somewhat, so second source fonts are accepted.
uz [Sun, 6 Dec 2009 12:24:59 +0000 (12:24 +0000)]
Relax header checking somewhat, so second source fonts are accepted.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4502 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoRewrote literal handling. Literals are now saved together with other function
uz [Sat, 5 Dec 2009 22:39:45 +0000 (22:39 +0000)]
Rewrote literal handling. Literals are now saved together with other function
data, and at the end of compilation merged if possible. Literals for unused
functions are removed together with the function.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4501 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoFixed problem with last change. Wide string constants were not handled
uz [Sat, 5 Dec 2009 15:14:11 +0000 (15:14 +0000)]
Fixed problem with last change. Wide string constants were not handled
correctly.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4500 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoCreate one literal pool per function, so that literal pool data is removed
uz [Fri, 4 Dec 2009 14:12:25 +0000 (14:12 +0000)]
Create one literal pool per function, so that literal pool data is removed
together with a function, if it is not used. Literal storage can now be
controlled by #pragma writable-strings on a per function basis.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4499 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoMove global segment creation to a better place in source.
uz [Fri, 4 Dec 2009 13:04:40 +0000 (13:04 +0000)]
Move global segment creation to a better place in source.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4498 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoMakefile patch contributed by Greg King:
uz [Wed, 2 Dec 2009 15:21:22 +0000 (15:21 +0000)]
Makefile patch contributed by Greg King:
I added the "MAKEOPTS=" to the top-level "gcc.mak" that he wants, and I
changed the tool source tree's top-level make-file so that it supports
parallel building.  (I added a rule that builds the common library before
building anything else.)

git-svn-id: svn://svn.cc65.org/cc65/trunk@4497 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoPatch contributed by Greg King:
uz [Wed, 2 Dec 2009 15:15:49 +0000 (15:15 +0000)]
Patch contributed by Greg King:
1. Implements a real progress bar.
2. Decomposes the timer's result.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4496 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agodon't hardcode 'D' as device name, use __defdev
cpg [Thu, 26 Nov 2009 18:47:14 +0000 (18:47 +0000)]
don't hardcode 'D' as device name, use __defdev

git-svn-id: svn://svn.cc65.org/cc65/trunk@4495 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoupdated with defdev.c and scrcode.s
cpg [Thu, 26 Nov 2009 18:22:03 +0000 (18:22 +0000)]
updated with defdev.c and scrcode.s

git-svn-id: svn://svn.cc65.org/cc65/trunk@4494 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoinitial check-in
cpg [Thu, 26 Nov 2009 18:19:35 +0000 (18:19 +0000)]
initial check-in

git-svn-id: svn://svn.cc65.org/cc65/trunk@4493 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoremove check for ATEOL
cpg [Wed, 25 Nov 2009 18:21:26 +0000 (18:21 +0000)]
remove check for ATEOL

git-svn-id: svn://svn.cc65.org/cc65/trunk@4492 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agosave 2 bytes -- patch by Uz
cpg [Wed, 25 Nov 2009 18:08:56 +0000 (18:08 +0000)]
save 2 bytes -- patch by Uz

git-svn-id: svn://svn.cc65.org/cc65/trunk@4491 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoinclude unistd.h -- fix by Daniel Serpell
cpg [Wed, 25 Nov 2009 17:59:55 +0000 (17:59 +0000)]
include unistd.h -- fix by Daniel Serpell

git-svn-id: svn://svn.cc65.org/cc65/trunk@4490 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoput _revflag into .bss
cpg [Wed, 25 Nov 2009 17:44:54 +0000 (17:44 +0000)]
put _revflag into .bss

git-svn-id: svn://svn.cc65.org/cc65/trunk@4489 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agofix comments
cpg [Wed, 25 Nov 2009 17:41:00 +0000 (17:41 +0000)]
fix comments

git-svn-id: svn://svn.cc65.org/cc65/trunk@4488 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agomove __do_oserror and __inviocb into their own source files
cpg [Wed, 25 Nov 2009 17:35:21 +0000 (17:35 +0000)]
move __do_oserror and __inviocb into their own source files

git-svn-id: svn://svn.cc65.org/cc65/trunk@4487 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoremove not longer needed import of __errno
cpg [Wed, 25 Nov 2009 17:08:24 +0000 (17:08 +0000)]
remove not longer needed import of __errno

git-svn-id: svn://svn.cc65.org/cc65/trunk@4486 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoremove not longer needed import of tmp2 and tmp3
cpg [Wed, 25 Nov 2009 17:06:47 +0000 (17:06 +0000)]
remove not longer needed import of tmp2 and tmp3

git-svn-id: svn://svn.cc65.org/cc65/trunk@4485 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agospace improvements by Daniel Serpell
cpg [Wed, 25 Nov 2009 17:03:18 +0000 (17:03 +0000)]
space improvements by Daniel Serpell

git-svn-id: svn://svn.cc65.org/cc65/trunk@4484 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoIn case of parse errors for structs, don't just set the type of the result to
uz [Tue, 24 Nov 2009 23:02:58 +0000 (23:02 +0000)]
In case of parse errors for structs, don't just set the type of the result to
"int", return a valid lvalue instead.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4483 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoFix a problem with error handling: The E_HAVE_MARKS flag must not be removed
uz [Tue, 24 Nov 2009 22:56:56 +0000 (22:56 +0000)]
Fix a problem with error handling: The E_HAVE_MARKS flag must not be removed
from an expression in case of an error.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4482 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoSupport for the HuC6280 (CPU of the PC Engine) contributed by Tobias Gunkel.
uz [Tue, 24 Nov 2009 20:04:27 +0000 (20:04 +0000)]
Support for the HuC6280 (CPU of the PC Engine) contributed by Tobias Gunkel.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4481 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoSqueezed bytes and cycles out of the kbhit functions for almost all platforms.
uz [Tue, 24 Nov 2009 18:31:16 +0000 (18:31 +0000)]
Squeezed bytes and cycles out of the kbhit functions for almost all platforms.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4480 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agodon't use constructor to setup runtime stack
cpg [Mon, 23 Nov 2009 22:06:32 +0000 (22:06 +0000)]
don't use constructor to setup runtime stack

git-svn-id: svn://svn.cc65.org/cc65/trunk@4479 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agomove fdtoiocb function into its own file -- idea by Daniel Serpell
cpg [Mon, 23 Nov 2009 21:59:29 +0000 (21:59 +0000)]
move fdtoiocb function into its own file -- idea by Daniel Serpell

git-svn-id: svn://svn.cc65.org/cc65/trunk@4478 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agopoor man's _toascii routine, contributed by Fatih Aygun
cpg [Mon, 23 Nov 2009 21:35:33 +0000 (21:35 +0000)]
poor man's _toascii routine, contributed by Fatih Aygun

git-svn-id: svn://svn.cc65.org/cc65/trunk@4477 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agosave 3 bytes, patch by Daniel Serpell
cpg [Mon, 23 Nov 2009 21:21:49 +0000 (21:21 +0000)]
save 3 bytes, patch by Daniel Serpell

git-svn-id: svn://svn.cc65.org/cc65/trunk@4476 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agosave a byte (idea by Uz, done by Daniel Serpell)
cpg [Mon, 23 Nov 2009 21:17:56 +0000 (21:17 +0000)]
save a byte (idea by Uz, done by Daniel Serpell)

git-svn-id: svn://svn.cc65.org/cc65/trunk@4475 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoDon't hardcode the address of the SYS call for the startup code of the
uz [Mon, 23 Nov 2009 12:01:24 +0000 (12:01 +0000)]
Don't hardcode the address of the SYS call for the startup code of the
Commodore machines.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4474 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agodon't call __getdevdef in crt0.s, but make it a constructor of getdefdev.s
cpg [Thu, 19 Nov 2009 22:12:51 +0000 (22:12 +0000)]
don't call __getdevdef in crt0.s, but make it a constructor of getdefdev.s

git-svn-id: svn://svn.cc65.org/cc65/trunk@4473 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agomove setup of stdin/stdout/stderr from crt0.s to getfd.s
cpg [Thu, 19 Nov 2009 20:57:23 +0000 (20:57 +0000)]
move setup of stdin/stdout/stderr from crt0.s to getfd.s

git-svn-id: svn://svn.cc65.org/cc65/trunk@4472 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoadd a comment describing why this file is really included despite an obvious referenc...
cpg [Wed, 18 Nov 2009 23:52:54 +0000 (23:52 +0000)]
add a comment describing why this file is really included despite an obvious reference to it

git-svn-id: svn://svn.cc65.org/cc65/trunk@4471 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agosmall space optimization -- 3 bytes reduced
cpg [Wed, 18 Nov 2009 22:16:13 +0000 (22:16 +0000)]
small space optimization -- 3 bytes reduced

git-svn-id: svn://svn.cc65.org/cc65/trunk@4470 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agono TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES
cpg [Sun, 15 Nov 2009 14:55:14 +0000 (14:55 +0000)]
no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES

git-svn-id: svn://svn.cc65.org/cc65/trunk@4469 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agochanges from Fatih
cpg [Sun, 15 Nov 2009 14:46:09 +0000 (14:46 +0000)]
changes from Fatih

git-svn-id: svn://svn.cc65.org/cc65/trunk@4468 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoReplaced TGI_ERR_NO_MEM by TGI_ERR_NO_RES
uz [Fri, 13 Nov 2009 15:53:01 +0000 (15:53 +0000)]
Replaced TGI_ERR_NO_MEM by TGI_ERR_NO_RES

git-svn-id: svn://svn.cc65.org/cc65/trunk@4467 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoFixed TGI error codes and messages. Removed the Atari specific ones.
uz [Fri, 13 Nov 2009 12:57:10 +0000 (12:57 +0000)]
Fixed TGI error codes and messages. Removed the Atari specific ones.
tgi_load_vectorfont will now return TGI_ERR_NO_MEM and clear the error code if
the load was successful.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4466 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoThe outcode constants from tgi_outcode went into this header file.
uz [Thu, 12 Nov 2009 18:01:11 +0000 (18:01 +0000)]
The outcode constants from tgi_outcode went into this header file.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4465 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoFinal touches to the first full version of the vector font output.
uz [Thu, 12 Nov 2009 18:00:17 +0000 (18:00 +0000)]
Final touches to the first full version of the vector font output.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4464 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoRename the 8x8 multiplication using the same scheme as for the 16x16
uz [Thu, 12 Nov 2009 15:48:11 +0000 (15:48 +0000)]
Rename the 8x8 multiplication using the same scheme as for the 16x16
multiplication.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4463 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoMoved outcode calculation in a separate module.
uz [Thu, 12 Nov 2009 15:10:45 +0000 (15:10 +0000)]
Moved outcode calculation in a separate module.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4462 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoPrepare for reading keypresses from the X server.
uz [Thu, 12 Nov 2009 11:19:44 +0000 (11:19 +0000)]
Prepare for reading keypresses from the X server.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4461 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoremove superfluous ".code" line
cpg [Wed, 11 Nov 2009 23:17:55 +0000 (23:17 +0000)]
remove superfluous ".code" line

git-svn-id: svn://svn.cc65.org/cc65/trunk@4460 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agobugfix from Fatih
cpg [Wed, 11 Nov 2009 23:15:42 +0000 (23:15 +0000)]
bugfix from Fatih

git-svn-id: svn://svn.cc65.org/cc65/trunk@4459 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoadd some comments
cpg [Tue, 10 Nov 2009 22:00:41 +0000 (22:00 +0000)]
add some comments

git-svn-id: svn://svn.cc65.org/cc65/trunk@4458 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agofix comment
cpg [Tue, 10 Nov 2009 21:56:56 +0000 (21:56 +0000)]
fix comment

git-svn-id: svn://svn.cc65.org/cc65/trunk@4457 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoadd Atari TGI drivers from Fatih Aygun
cpg [Tue, 10 Nov 2009 21:53:55 +0000 (21:53 +0000)]
add Atari TGI drivers from Fatih Aygun

git-svn-id: svn://svn.cc65.org/cc65/trunk@4456 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoWorking on stroked font output.
uz [Tue, 10 Nov 2009 18:50:33 +0000 (18:50 +0000)]
Working on stroked font output.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4455 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agotgi_vectorchar takes now a char argument. Added tgi_install_vectorfont.
uz [Fri, 6 Nov 2009 16:18:13 +0000 (16:18 +0000)]
tgi_vectorchar takes now a char argument. Added tgi_install_vectorfont.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4454 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoAdded an include file for TGI vector fonts.
uz [Fri, 6 Nov 2009 16:00:43 +0000 (16:00 +0000)]
Added an include file for TGI vector fonts.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4453 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoAdded clipping for lines.
uz [Fri, 6 Nov 2009 15:26:46 +0000 (15:26 +0000)]
Added clipping for lines.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4452 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoChanged a comment.
uz [Fri, 6 Nov 2009 12:08:25 +0000 (12:08 +0000)]
Changed a comment.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4451 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoHold the maximum X and Y coordinate in variables instead of calculating them
uz [Fri, 6 Nov 2009 12:02:52 +0000 (12:02 +0000)]
Hold the maximum X and Y coordinate in variables instead of calculating them
when needed. The variables make signed compares in the line clipper easier.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4450 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoAdded a tgi_pieslice function.
uz [Thu, 5 Nov 2009 20:32:17 +0000 (20:32 +0000)]
Added a tgi_pieslice function.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4449 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoFixed a sign error.
uz [Thu, 5 Nov 2009 20:26:23 +0000 (20:26 +0000)]
Fixed a sign error.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4448 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoMoved fixed point multiplication and rounding into an asm module.
uz [Thu, 5 Nov 2009 20:16:43 +0000 (20:16 +0000)]
Moved fixed point multiplication and rounding into an asm module.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4447 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoAdded a tgi_arc function. Removed the old ellipse code and create a new
uz [Thu, 5 Nov 2009 19:52:18 +0000 (19:52 +0000)]
Added a tgi_arc function. Removed the old ellipse code and create a new
ellipse module that calls tgi_arc.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4446 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoAdded tgi_circle and tgi_ellipse functions. The latter works, but could be
uz [Thu, 5 Nov 2009 17:14:29 +0000 (17:14 +0000)]
Added tgi_circle and tgi_ellipse functions. The latter works, but could be
optimized.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4445 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoAdded prototypes for more mul/div functions. Some of the don't currently
uz [Thu, 5 Nov 2009 17:12:18 +0000 (17:12 +0000)]
Added prototypes for more mul/div functions. Some of the don't currently
exist.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4444 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoWorking on the division and multiplication routines.
uz [Wed, 4 Nov 2009 19:41:54 +0000 (19:41 +0000)]
Working on the division and multiplication routines.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4443 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoAdded a C callable entry point for the division routine.
uz [Wed, 4 Nov 2009 18:25:29 +0000 (18:25 +0000)]
Added a C callable entry point for the division routine.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4442 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoAdded division routine. Removed C callable entry points from mul routines,
uz [Wed, 4 Nov 2009 18:23:40 +0000 (18:23 +0000)]
Added division routine. Removed C callable entry points from mul routines,
they're now in common.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4441 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoAdd C callable special multiplication routines.
uz [Wed, 4 Nov 2009 18:17:00 +0000 (18:17 +0000)]
Add C callable special multiplication routines.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4440 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoUse new multiplication routine.
uz [Wed, 4 Nov 2009 13:46:16 +0000 (13:46 +0000)]
Use new multiplication routine.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4439 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoThe upper 16 bit differ between signed and unsigned multiplication, so while
uz [Wed, 4 Nov 2009 13:45:27 +0000 (13:45 +0000)]
The upper 16 bit differ between signed and unsigned multiplication, so while
for 16x16=16, the unsigned routine can be used, regardless of signedness, this
is not true for 16x16=32.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4438 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years ago- Replaced font .byte's with font .incbin file
ol.sc [Tue, 3 Nov 2009 22:20:48 +0000 (22:20 +0000)]
- Replaced font .byte's with font .incbin file
- Adjusted font width declaration from 8 to 7
- Modified font using Beagle Bros Shape Mechanic font editor to look like Apple2 text mode glyphs (with the exception of '_' because OUTTEXT _always_ inserts 2 empty pixels between chars)

git-svn-id: svn://svn.cc65.org/cc65/trunk@4437 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoAdded prototypes for C callable multiplication routines.
uz [Tue, 3 Nov 2009 20:36:30 +0000 (20:36 +0000)]
Added prototypes for C callable multiplication routines.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4436 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoAdded C callable entry point for the 16x16=32 multiplication.
uz [Tue, 3 Nov 2009 17:43:57 +0000 (17:43 +0000)]
Added C callable entry point for the 16x16=32 multiplication.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4435 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoAdded 16*16=32 multiplication routine.
uz [Tue, 3 Nov 2009 13:40:03 +0000 (13:40 +0000)]
Added 16*16=32 multiplication routine.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4434 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoDo not use a separate byte for an END opcode, instead place the bit into the
uz [Mon, 2 Nov 2009 22:31:32 +0000 (22:31 +0000)]
Do not use a separate byte for an END opcode, instead place the bit into the
previous opcode. This saves one byte per character with the exception of
characters without a vector representation, where we loose one byte, because
we need to add a dummy vector just to apply our END bit.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4433 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoWorking on the TGI API, adding vector fonts. Only roughly tested!
uz [Mon, 2 Nov 2009 22:29:49 +0000 (22:29 +0000)]
Working on the TGI API, adding vector fonts. Only roughly tested!

git-svn-id: svn://svn.cc65.org/cc65/trunk@4432 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoAdded separate 8x8=>16 multiplication routine as start of the multiplication
uz [Mon, 2 Nov 2009 22:28:02 +0000 (22:28 +0000)]
Added separate 8x8=>16 multiplication routine as start of the multiplication
and division stuff cleanup.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4431 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoRemoved unintentionally added line.
ol.sc [Mon, 2 Nov 2009 22:10:13 +0000 (22:10 +0000)]
Removed unintentionally added line.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4430 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoRemoved generic macpack
ol.sc [Mon, 2 Nov 2009 21:54:51 +0000 (21:54 +0000)]
Removed generic macpack

git-svn-id: svn://svn.cc65.org/cc65/trunk@4429 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years ago- Adjusted TEXTSTYLE and OUTTEXT to TGI specs
ol.sc [Mon, 2 Nov 2009 21:38:18 +0000 (21:38 +0000)]
- Adjusted TEXTSTYLE and OUTTEXT to TGI specs
- Removed defunct scaling support from TEXTSTYLE
- Optimized OUTTEXT
- Clarified font source and format
- Removed generic macpack

git-svn-id: svn://svn.cc65.org/cc65/trunk@4428 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoAdded macros for jumps after unsigned compares to the "generic" macro package.
uz [Mon, 2 Nov 2009 16:26:46 +0000 (16:26 +0000)]
Added macros for jumps after unsigned compares to the "generic" macro package.
Removed BGE/BLT as native instructions for the 65816.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4427 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoThe X register must be zero on return.
uz [Mon, 2 Nov 2009 16:24:26 +0000 (16:24 +0000)]
The X register must be zero on return.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4426 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoAdded the new toascii function for the CBMs.
uz [Mon, 2 Nov 2009 16:23:32 +0000 (16:23 +0000)]
Added the new toascii function for the CBMs.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4425 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoAdded prototype for toascii(c);
uz [Mon, 2 Nov 2009 16:11:32 +0000 (16:11 +0000)]
Added prototype for toascii(c);

git-svn-id: svn://svn.cc65.org/cc65/trunk@4424 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoFixed an error in the color setting code which caused tgi_init to fail.
uz [Mon, 2 Nov 2009 15:36:13 +0000 (15:36 +0000)]
Fixed an error in the color setting code which caused tgi_init to fail.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4423 b7a2c559-68d2-44c3-8de9-860c34a00d81