]> git.sur5r.net Git - cc65/log
cc65
12 years agoUse FileStat instead of stat.
uz [Tue, 3 Apr 2012 13:28:33 +0000 (13:28 +0000)]
Use FileStat instead of stat.

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

12 years agoFixed an error in the conversion function from Unix time to FILETIME.
uz [Tue, 3 Apr 2012 13:27:19 +0000 (13:27 +0000)]
Fixed an error in the conversion function from Unix time to FILETIME.

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

12 years agoUse the replacement function to set file times.
uz [Tue, 3 Apr 2012 13:13:28 +0000 (13:13 +0000)]
Use the replacement function to set file times.

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

12 years agoAdded a replacement for utime(), because it has the same DST bug as stat().
uz [Tue, 3 Apr 2012 13:01:56 +0000 (13:01 +0000)]
Added a replacement for utime(), because it has the same DST bug as stat().

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

12 years agoExplicitly ignore the function result of CloseHandle().
uz [Tue, 3 Apr 2012 12:54:17 +0000 (12:54 +0000)]
Explicitly ignore the function result of CloseHandle().

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

12 years agoFixed an invalid offset.
uz [Sun, 1 Apr 2012 19:29:04 +0000 (19:29 +0000)]
Fixed an invalid offset.

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

12 years agoAdded a missing #include.
uz [Sun, 1 Apr 2012 17:20:10 +0000 (17:20 +0000)]
Added a missing #include.

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

12 years agoUse the new FileStat function to get correct file modification times under
uz [Sun, 1 Apr 2012 17:01:05 +0000 (17:01 +0000)]
Use the new FileStat function to get correct file modification times under
Windows.

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

12 years agoAdd a new module that works around a bug in the Microsoft version of stat. The
uz [Sun, 1 Apr 2012 16:56:42 +0000 (16:56 +0000)]
Add a new module that works around a bug in the Microsoft version of stat. The
function is buggy since the first version of windows that supports something
else than FAT, and instead of fixing the problem, Microsoft has declared it
"works as designed". The problem has made it into .NET and is also visible in
the standard windows file explorer (modification times of untouched files will
change when entering or leaving DST).
Please note that the new FileStat function returns incorrect times for files
on FAT file systems. This is because I have currently no idea on how to
identify the file system for a given file. However, it should be correct in
quite some more cases than stat().

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

12 years agoFixed a comment.
uz [Sun, 1 Apr 2012 15:48:53 +0000 (15:48 +0000)]
Fixed a comment.

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

12 years agoRemoved unneeded include files.
uz [Sun, 1 Apr 2012 15:48:11 +0000 (15:48 +0000)]
Removed unneeded include files.

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

12 years ago.SET has been missing from the list of pseudo ops.
uz [Sat, 31 Mar 2012 19:37:24 +0000 (19:37 +0000)]
.SET has been missing from the list of pseudo ops.

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

12 years ago.UNION/.ENDUNION were missing from the docs.
uz [Sat, 31 Mar 2012 19:33:27 +0000 (19:33 +0000)]
.UNION/.ENDUNION were missing from the docs.

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

12 years agoFixed an invalid store offset, which caused an invalid pointer as a function
uz [Sun, 25 Mar 2012 13:14:13 +0000 (13:14 +0000)]
Fixed an invalid store offset, which caused an invalid pointer as a function
result. The actual conversion was ok.

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

12 years agoFixed an invalid store offset which resulted in random values returned by the
uz [Sun, 25 Mar 2012 13:13:37 +0000 (13:13 +0000)]
Fixed an invalid store offset which resulted in random values returned by the
function.

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

12 years agoFixed an error: When determining where to place initialized data, the compiler
uz [Sat, 24 Mar 2012 14:28:59 +0000 (14:28 +0000)]
Fixed an error: When determining where to place initialized data, the compiler
didn't look "deep enough" into nested arrays to determine the constness
correctly.

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

12 years agoFixed an error: For symbols declared as extern in local scope, the name for
uz [Sat, 24 Mar 2012 13:42:10 +0000 (13:42 +0000)]
Fixed an error: For symbols declared as extern in local scope, the name for
the external assembler symbol wasn't set.

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

12 years agoAdded an improved definition of the __vic2 structure using anon
uz [Sat, 17 Mar 2012 21:07:41 +0000 (21:07 +0000)]
Added an improved definition of the __vic2 structure using anon
structs/unions. For compatibility reasons the new definition is active only in
cc65 mode.

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

12 years agoImplement anonymous structs/unions in cc65 mode.
uz [Sat, 17 Mar 2012 20:33:09 +0000 (20:33 +0000)]
Implement anonymous structs/unions in cc65 mode.

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

12 years agoSome more work on the sp65 docs.
uz [Thu, 15 Mar 2012 21:42:21 +0000 (21:42 +0000)]
Some more work on the sp65 docs.

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

12 years agoPass the source image of the conversion down to the output function, so they
uz [Thu, 15 Mar 2012 17:02:12 +0000 (17:02 +0000)]
Pass the source image of the conversion down to the output function, so they
are able to output the image properties as comments.

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

12 years agoAdded two more conversion targets: geos-bitmap, which will create a GEOS
uz [Tue, 13 Mar 2012 21:12:27 +0000 (21:12 +0000)]
Added two more conversion targets: geos-bitmap, which will create a GEOS
compacted bitmap, and raw, which is probably mostly useful for debugging. It
converts an indexed image to a row of bytes which correspond to the color
indices of the pixels.

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

12 years agoFixed a C99ism.
uz [Mon, 12 Mar 2012 08:20:20 +0000 (08:20 +0000)]
Fixed a C99ism.

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

12 years agoFixed a copy&paste error in a comment.
uz [Sun, 11 Mar 2012 22:44:22 +0000 (22:44 +0000)]
Fixed a copy&paste error in a comment.

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

12 years agoAdded conversion to GEOS icon format (which is actually identical to the VIC2
uz [Sun, 11 Mar 2012 22:43:44 +0000 (22:43 +0000)]
Added conversion to GEOS icon format (which is actually identical to the VIC2
high-res sprite format).

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

12 years agoWorking on the sp65 documentation.
uz [Sun, 11 Mar 2012 15:01:37 +0000 (15:01 +0000)]
Working on the sp65 documentation.

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

12 years agoAdd lynx sprite generation skeleton
karri [Sun, 11 Mar 2012 14:00:51 +0000 (14:00 +0000)]
Add lynx sprite generation skeleton

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

12 years agoAdd lynx sprite generation skeleton
karri [Sun, 11 Mar 2012 13:48:40 +0000 (13:48 +0000)]
Add lynx sprite generation skeleton

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

12 years agoAdded the layout for the sp65 documentation.
uz [Sun, 11 Mar 2012 13:34:58 +0000 (13:34 +0000)]
Added the layout for the sp65 documentation.

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

12 years agoAdded generation of C output.
uz [Sun, 11 Mar 2012 12:38:54 +0000 (12:38 +0000)]
Added generation of C output.

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

12 years agoAdded the capability to generate multicolor sprites.
uz [Sun, 11 Mar 2012 12:17:48 +0000 (12:17 +0000)]
Added the capability to generate multicolor sprites.

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

12 years agoNew function GetBitmapName, inlined GetBitmapColors.
uz [Sun, 11 Mar 2012 11:38:37 +0000 (11:38 +0000)]
New function GetBitmapName, inlined GetBitmapColors.

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

12 years agoNew option --dump-palette. Fixed a double free in the cleanup code.
uz [Sun, 11 Mar 2012 11:25:38 +0000 (11:25 +0000)]
New option --dump-palette. Fixed a double free in the cleanup code.

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

12 years agoRemove the bitmap type since it is not really needed and complicate things.
uz [Sun, 11 Mar 2012 11:10:41 +0000 (11:10 +0000)]
Remove the bitmap type since it is not really needed and complicate things.

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

12 years agoThe set_irq function needs size_t.
uz [Sun, 11 Mar 2012 10:46:04 +0000 (10:46 +0000)]
The set_irq function needs size_t.

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

12 years agoAdded sp65.
uz [Sat, 10 Mar 2012 23:14:36 +0000 (23:14 +0000)]
Added sp65.

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

12 years agoAdded sp65 to the tools makefiles.
uz [Sat, 10 Mar 2012 23:11:42 +0000 (23:11 +0000)]
Added sp65 to the tools makefiles.

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

12 years agoFixed a few doc issues. By Stefan Haubenthal.
uz [Sat, 10 Mar 2012 23:08:35 +0000 (23:08 +0000)]
Fixed a few doc issues. By Stefan Haubenthal.

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

12 years agoFree bitmaps and buffers before terminating.
uz [Sat, 10 Mar 2012 22:13:36 +0000 (22:13 +0000)]
Free bitmaps and buffers before terminating.

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

12 years agoAllow to pass NULL pointers to FreeStrBuf.
uz [Sat, 10 Mar 2012 22:12:44 +0000 (22:12 +0000)]
Allow to pass NULL pointers to FreeStrBuf.

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

12 years agoRemoved the flags and optimized the Attr structure.
uz [Sat, 10 Mar 2012 22:10:45 +0000 (22:10 +0000)]
Removed the flags and optimized the Attr structure.

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

12 years agoRemoved several memory leaks.
uz [Sat, 10 Mar 2012 21:46:09 +0000 (21:46 +0000)]
Removed several memory leaks.

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

12 years agoHandle "label" and "segment" attributes for assembler output.
uz [Sat, 10 Mar 2012 20:51:52 +0000 (20:51 +0000)]
Handle "label" and "segment" attributes for assembler output.

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

12 years agoFixed two compiler warnings.
uz [Sat, 10 Mar 2012 20:35:22 +0000 (20:35 +0000)]
Fixed two compiler warnings.

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

12 years agoMove evaluation of attributes into the input routine.
uz [Sat, 10 Mar 2012 20:26:47 +0000 (20:26 +0000)]
Move evaluation of attributes into the input routine.

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

12 years agoNew option --list-conversions.
uz [Sat, 10 Mar 2012 18:51:00 +0000 (18:51 +0000)]
New option --list-conversions.

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

12 years agoNew attribute "base".
uz [Sat, 10 Mar 2012 18:50:40 +0000 (18:50 +0000)]
New attribute "base".

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

12 years agoMove attribute lookup into the output functions. Allow a bytesperline
uz [Sat, 10 Mar 2012 14:22:51 +0000 (14:22 +0000)]
Move attribute lookup into the output functions. Allow a bytesperline
attribute for asm output files.

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

12 years agoDo also allow ':' as an attribute separator.
uz [Sat, 10 Mar 2012 14:21:46 +0000 (14:21 +0000)]
Do also allow ':' as an attribute separator.

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

12 years agoImplemented main conversion module.
uz [Sat, 10 Mar 2012 13:50:53 +0000 (13:50 +0000)]
Implemented main conversion module.

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

12 years agoAdded the main conversion module. New option --convert-to. New short options
uz [Fri, 9 Mar 2012 13:44:51 +0000 (13:44 +0000)]
Added the main conversion module. New option --convert-to. New short options
for --read and --write.

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

12 years agoAdded a dummy return to fix a watcom warning.
uz [Fri, 9 Mar 2012 11:48:13 +0000 (11:48 +0000)]
Added a dummy return to fix a watcom warning.

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

12 years agoAdded the write routine.
uz [Fri, 9 Mar 2012 11:46:16 +0000 (11:46 +0000)]
Added the write routine.

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

12 years agoExport the compare function since it is used in a few places.
uz [Fri, 9 Mar 2012 11:45:08 +0000 (11:45 +0000)]
Export the compare function since it is used in a few places.

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

12 years agoAdded VIC2 sprites as output format. Started to code the processing pipeline:
uz [Fri, 9 Mar 2012 11:37:10 +0000 (11:37 +0000)]
Added VIC2 sprites as output format. Started to code the processing pipeline:
--slice, --pop.

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

12 years agoAdded the new serial driver for the atmos to the spec file.
uz [Fri, 9 Mar 2012 10:50:12 +0000 (10:50 +0000)]
Added the new serial driver for the atmos to the spec file.

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

12 years agoAdded a new serial driver for the atmos. By Stefan Haubenthal.
uz [Fri, 9 Mar 2012 10:48:59 +0000 (10:48 +0000)]
Added a new serial driver for the atmos. By Stefan Haubenthal.

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

12 years agoFixed a bug. High byte of the sector number is stored into the wrong place.
uz [Thu, 8 Mar 2012 18:59:41 +0000 (18:59 +0000)]
Fixed a bug. High byte of the sector number is stored into the wrong place.
Reported by Stefan Haubenthal.

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

12 years agoStarted to add koala output format.
uz [Mon, 5 Mar 2012 20:30:25 +0000 (20:30 +0000)]
Started to add koala output format.

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

12 years agoFix FindInputFormat.
uz [Mon, 5 Mar 2012 19:28:22 +0000 (19:28 +0000)]
Fix FindInputFormat.

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

12 years agoAdded parsing of arguments to --read. The explicit format spec is currently
uz [Sun, 4 Mar 2012 21:02:31 +0000 (21:02 +0000)]
Added parsing of arguments to --read. The explicit format spec is currently
broken.

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

12 years agoAdded a module to manage attribute/value pairs.
uz [Sun, 4 Mar 2012 20:17:34 +0000 (20:17 +0000)]
Added a module to manage attribute/value pairs.

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

12 years agoThe IRQ handler needs to save the registers. By Stefan Haubenthal.
uz [Sun, 4 Mar 2012 19:25:22 +0000 (19:25 +0000)]
The IRQ handler needs to save the registers. By Stefan Haubenthal.

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

12 years agoPatch by Stefan Haubenthal: Remove __fastcall__ in comments and/or the
uz [Sun, 4 Mar 2012 13:08:54 +0000 (13:08 +0000)]
Patch by Stefan Haubenthal: Remove __fastcall__ in comments and/or the
function description for functions that don't take any parameters.

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

12 years agoThe table for sweet 16 instructions had an invalid length word. Reported by
uz [Sun, 4 Mar 2012 13:01:50 +0000 (13:01 +0000)]
The table for sweet 16 instructions had an invalid length word. Reported by
Jeff Tranter.

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

12 years agoAdded article.
ol.sc [Tue, 28 Feb 2012 22:19:28 +0000 (22:19 +0000)]
Added article.

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

12 years agoReplaced hardcoded constants with macros.
ol.sc [Tue, 28 Feb 2012 21:57:45 +0000 (21:57 +0000)]
Replaced hardcoded constants with macros.

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

12 years agoReplaced hardcoded constants with macros.
ol.sc [Tue, 28 Feb 2012 21:49:24 +0000 (21:49 +0000)]
Replaced hardcoded constants with macros.

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

12 years agoAdded screen initialization on Apple GEOS.
ol.sc [Tue, 28 Feb 2012 21:24:17 +0000 (21:24 +0000)]
Added screen initialization on Apple GEOS.

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

12 years agoIntroduced Apple GEOS specific screen size constants.
ol.sc [Mon, 27 Feb 2012 22:00:26 +0000 (22:00 +0000)]
Introduced Apple GEOS specific screen size constants.

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

12 years agoAdded the output layer.
uz [Mon, 27 Feb 2012 21:03:01 +0000 (21:03 +0000)]
Added the output layer.

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

12 years agoRemove the "Tag" field in struct Bitmap since it is of no real use.
uz [Mon, 27 Feb 2012 20:45:14 +0000 (20:45 +0000)]
Remove the "Tag" field in struct Bitmap since it is of no real use.

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

12 years agoFix two watcom (and probably C89) issues.
uz [Mon, 27 Feb 2012 20:43:03 +0000 (20:43 +0000)]
Fix two watcom (and probably C89) issues.

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

12 years agoTake BSS into account (like done for Apple GEOS in the first place).
ol.sc [Mon, 27 Feb 2012 19:37:32 +0000 (19:37 +0000)]
Take BSS into account (like done for Apple GEOS in the first place).

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

12 years agoAdded a module for assembler source output.
uz [Mon, 27 Feb 2012 18:17:28 +0000 (18:17 +0000)]
Added a module for assembler source output.

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

12 years agoRemoved a declaration for a routine that doesn't exist.
uz [Mon, 27 Feb 2012 18:17:13 +0000 (18:17 +0000)]
Removed a declaration for a routine that doesn't exist.

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

12 years agoAdded a module for binary output.
uz [Mon, 27 Feb 2012 17:58:34 +0000 (17:58 +0000)]
Added a module for binary output.

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

12 years agoAdded a new input layer that manages the different input formats.
uz [Mon, 27 Feb 2012 16:33:13 +0000 (16:33 +0000)]
Added a new input layer that manages the different input formats.

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

12 years agoSplitted the filetype module into the actual search function (now in fileid)
uz [Mon, 27 Feb 2012 16:24:35 +0000 (16:24 +0000)]
Splitted the filetype module into the actual search function (now in fileid)
and the existing file types used by ld65 and cl65.

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

12 years agoNew function to create a bitmap slice.
uz [Sun, 26 Feb 2012 21:45:42 +0000 (21:45 +0000)]
New function to create a bitmap slice.

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

12 years agoUse only as many palette entries as there are colors in the image.
uz [Sun, 26 Feb 2012 21:26:00 +0000 (21:26 +0000)]
Use only as many palette entries as there are colors in the image.

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

12 years agoFirst version of PCX reading routine is completed but mostly untested.
uz [Sun, 26 Feb 2012 15:27:36 +0000 (15:27 +0000)]
First version of PCX reading routine is completed but mostly untested.

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

12 years agoSome more work on reading pcx files.
uz [Sun, 26 Feb 2012 11:54:05 +0000 (11:54 +0000)]
Some more work on reading pcx files.

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

12 years agoOutput usage information to stdout, not stderr. This is consistent with the
uz [Sun, 26 Feb 2012 11:53:39 +0000 (11:53 +0000)]
Output usage information to stdout, not stderr. This is consistent with the
other tools.

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

12 years agoStarted to add PCX routines.
uz [Sat, 25 Feb 2012 21:45:01 +0000 (21:45 +0000)]
Started to add PCX routines.

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

12 years agoAdapted the file i/o module from od65.
uz [Sat, 25 Feb 2012 20:51:16 +0000 (20:51 +0000)]
Adapted the file i/o module from od65.

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

12 years agoStarted to code the front end base layer modules.
uz [Sat, 25 Feb 2012 15:08:38 +0000 (15:08 +0000)]
Started to code the front end base layer modules.

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

12 years agoAdded comments.
ol.sc [Fri, 24 Feb 2012 22:21:54 +0000 (22:21 +0000)]
Added comments.

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

12 years agoAdded base framework for the sp65 sprite and bitmap tool.
uz [Thu, 23 Feb 2012 21:32:15 +0000 (21:32 +0000)]
Added base framework for the sp65 sprite and bitmap tool.

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

12 years agoRather stay with OFF_YEAR as it is an "officially" name.
ol.sc [Wed, 22 Feb 2012 23:49:45 +0000 (23:49 +0000)]
Rather stay with OFF_YEAR as it is an "officially" name.

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

12 years agoLearned the hard way that even meant-to-be-simple sample programs should contain...
ol.sc [Wed, 22 Feb 2012 23:29:52 +0000 (23:29 +0000)]
Learned the hard way that even meant-to-be-simple sample programs should contain some error checking.

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

12 years agoIntroduced Apple GEOS specific directory entry offsets. However in most cases the...
ol.sc [Wed, 22 Feb 2012 23:26:25 +0000 (23:26 +0000)]
Introduced Apple GEOS specific directory entry offsets. However in most cases the assembler code using them will need to differentiate between CBM and Apple because the directory entry semantics are (too) different.

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

12 years agoMinor style adjustment.
ol.sc [Wed, 22 Feb 2012 22:59:38 +0000 (22:59 +0000)]
Minor style adjustment.

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

12 years agoBetter have the Apple GEOS stuff below the CBM GEOS stuff.
ol.sc [Wed, 22 Feb 2012 22:32:28 +0000 (22:32 +0000)]
Better have the Apple GEOS stuff below the CBM GEOS stuff.

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

12 years agoC programs don't need offsets into data structures - they have actual structs :-...
ol.sc [Wed, 22 Feb 2012 22:24:28 +0000 (22:24 +0000)]
C programs don't need offsets into data structures - they have actual structs :-). In this case 'struct filehandle' and 'struct fileheader'.

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

12 years agoAdded missing file.
ol.sc [Wed, 22 Feb 2012 22:04:53 +0000 (22:04 +0000)]
Added missing file.

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

12 years agoFixed line continuation.
ol.sc [Wed, 22 Feb 2012 22:04:20 +0000 (22:04 +0000)]
Fixed line continuation.

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

12 years agoFixed typo.
ol.sc [Wed, 22 Feb 2012 19:57:01 +0000 (19:57 +0000)]
Fixed typo.

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

12 years agoAdded new cl65 options -Wc and --cc-args.
uz [Tue, 21 Feb 2012 20:23:36 +0000 (20:23 +0000)]
Added new cl65 options -Wc and --cc-args.

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

12 years agoRenamed smc.mac to smc.inc.
uz [Tue, 21 Feb 2012 20:05:36 +0000 (20:05 +0000)]
Renamed smc.mac to smc.inc.

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