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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 years agoAdded a typedef for tgi_vectorfont_header, because the name is so long.
uz [Sun, 1 Nov 2009 22:43:09 +0000 (22:43 +0000)]
Added a typedef for tgi_vectorfont_header, because the name is so long.

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

14 years agoAdded tgi_load_vectorfont(). Fixed tgi_free_vectorfont().
uz [Sun, 1 Nov 2009 22:35:22 +0000 (22:35 +0000)]
Added tgi_load_vectorfont(). Fixed tgi_free_vectorfont().

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

14 years agoWhen initializing the driver, set white as the drawing color.
uz [Sun, 1 Nov 2009 22:33:27 +0000 (22:33 +0000)]
When initializing the driver, set white as the drawing color.

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

14 years agoAdded new constants from tgi.h
uz [Sun, 1 Nov 2009 22:32:14 +0000 (22:32 +0000)]
Added new constants from tgi.h

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

14 years agoAdditional error code.
uz [Sun, 1 Nov 2009 22:01:23 +0000 (22:01 +0000)]
Additional error code.

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

14 years agoSmall changes in definitions. Additional error code.
uz [Sun, 1 Nov 2009 22:01:06 +0000 (22:01 +0000)]
Small changes in definitions. Additional error code.

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

14 years agoAdded tgi_free_vectorfont.s
uz [Sun, 1 Nov 2009 21:53:34 +0000 (21:53 +0000)]
Added tgi_free_vectorfont.s

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

14 years agoFixed a bug (wrong order of variables).
uz [Sun, 1 Nov 2009 21:53:22 +0000 (21:53 +0000)]
Fixed a bug (wrong order of variables).

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

14 years agoPreparations for use of vectorfonts.
uz [Sun, 1 Nov 2009 21:49:09 +0000 (21:49 +0000)]
Preparations for use of vectorfonts.

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

14 years agoSome small format changes. Output name is input name + '.tch'.
uz [Sun, 1 Nov 2009 21:33:28 +0000 (21:33 +0000)]
Some small format changes. Output name is input name + '.tch'.

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

14 years agoReplaced obsolete 'codeseg' with 'code-name'.
ol.sc [Sun, 1 Nov 2009 10:48:43 +0000 (10:48 +0000)]
Replaced obsolete 'codeseg' with 'code-name'.

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

14 years agoWrote the actual conversion. Still untested.
uz [Sat, 31 Oct 2009 15:42:59 +0000 (15:42 +0000)]
Wrote the actual conversion. Still untested.

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

14 years agoFixed a problem introduced with the last change.
uz [Sat, 31 Oct 2009 14:01:22 +0000 (14:01 +0000)]
Fixed a problem introduced with the last change.

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

14 years agoFixed a problem with OptJumpTarget3. In a loop over all elements of a
uz [Sat, 31 Oct 2009 10:36:59 +0000 (10:36 +0000)]
Fixed a problem with OptJumpTarget3. In a loop over all elements of a
collection that may remove something from the collection, we may not use an
upcounting loop.

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

14 years agoFile reading, verification and comments.
uz [Fri, 30 Oct 2009 22:34:08 +0000 (22:34 +0000)]
File reading, verification and comments.

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

14 years agoChanges to the TGI driver API:
ol.sc [Fri, 30 Oct 2009 21:44:36 +0000 (21:44 +0000)]
Changes to the TGI driver API:

  * Removed CIRCLE
  * Aspect ratio is a new header variable
  * Removed the reserved bytes - it's easier to bump the API version
  * Clipping is done completely in the wrapper

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

14 years agoAdded the chrcvt vector font converter to the top level makefile.
uz [Fri, 30 Oct 2009 21:35:25 +0000 (21:35 +0000)]
Added the chrcvt vector font converter to the top level makefile.

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

14 years agoCreated the skeleton of the vector font converter.
uz [Fri, 30 Oct 2009 21:34:40 +0000 (21:34 +0000)]
Created the skeleton of the vector font converter.

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

14 years agoStart of TGI changes. Untested, may not work.
uz [Fri, 30 Oct 2009 21:26:35 +0000 (21:26 +0000)]
Start of TGI changes. Untested, may not work.

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

14 years agoRewrote the sinus display using the new cc65_sin function.
uz [Fri, 30 Oct 2009 14:03:21 +0000 (14:03 +0000)]
Rewrote the sinus display using the new cc65_sin function.

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

14 years agoFixed the return types of the sine/cosine functions. Added comments.
uz [Fri, 30 Oct 2009 14:02:24 +0000 (14:02 +0000)]
Fixed the return types of the sine/cosine functions. Added comments.

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

14 years agoAdded new header file.
uz [Fri, 30 Oct 2009 10:01:31 +0000 (10:01 +0000)]
Added new header file.

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