1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00
Commit Graph

5260 Commits

Author SHA1 Message Date
uz
63328d3852 Implement anonymous structs/unions in cc65 mode.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5618 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-17 20:33:09 +00:00
uz
9f2d63a3ae Some more work on the sp65 docs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5617 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-15 21:42:21 +00:00
uz
7260b3687a 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
2012-03-15 17:02:12 +00:00
uz
fbbf7e50d2 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
2012-03-13 21:12:27 +00:00
uz
1c91618a5d Fixed a C99ism.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5614 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-12 08:20:20 +00:00
uz
3f25b9d6a2 Fixed a copy&paste error in a comment.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5613 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-11 22:44:22 +00:00
uz
422629ff91 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
2012-03-11 22:43:44 +00:00
uz
dfc0690e0b Working on the sp65 documentation.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5611 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-11 15:01:37 +00:00
karri
4b6720d32b Add lynx sprite generation skeleton
git-svn-id: svn://svn.cc65.org/cc65/trunk@5610 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-11 14:00:51 +00:00
karri
cba5d0af56 Add lynx sprite generation skeleton
git-svn-id: svn://svn.cc65.org/cc65/trunk@5609 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-11 13:48:40 +00:00
uz
735b2811fc Added the layout for the sp65 documentation.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5608 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-11 13:34:58 +00:00
uz
6d0d1575a6 Added generation of C output.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5607 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-11 12:38:54 +00:00
uz
b599fe5793 Added the capability to generate multicolor sprites.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5606 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-11 12:17:48 +00:00
uz
4a0a76b012 New function GetBitmapName, inlined GetBitmapColors.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5605 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-11 11:38:37 +00:00
uz
ca691233e4 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
2012-03-11 11:25:38 +00:00
uz
c9d65c56c2 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
2012-03-11 11:10:41 +00:00
uz
194a007710 The set_irq function needs size_t.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5602 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-11 10:46:04 +00:00
uz
c55b983d52 Added sp65.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5601 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-10 23:14:36 +00:00
uz
921ef39162 Added sp65 to the tools makefiles.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5600 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-10 23:11:42 +00:00
uz
4c0c20fc2c Fixed a few doc issues. By Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5599 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-10 23:08:35 +00:00
uz
df036dbeaf Free bitmaps and buffers before terminating.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5598 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-10 22:13:36 +00:00
uz
e39d1e8d10 Allow to pass NULL pointers to FreeStrBuf.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5597 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-10 22:12:44 +00:00
uz
d06625075d Removed the flags and optimized the Attr structure.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5596 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-10 22:10:45 +00:00
uz
84d90343ea Removed several memory leaks.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5595 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-10 21:46:09 +00:00
uz
4c36a39814 Handle "label" and "segment" attributes for assembler output.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5594 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-10 20:51:52 +00:00
uz
74108cd74f Fixed two compiler warnings.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5593 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-10 20:35:22 +00:00
uz
1a7b115b3c Move evaluation of attributes into the input routine.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5592 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-10 20:26:47 +00:00
uz
44c70d01cb New option --list-conversions.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5591 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-10 18:51:00 +00:00
uz
c44c7d9f97 New attribute "base".
git-svn-id: svn://svn.cc65.org/cc65/trunk@5590 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-10 18:50:40 +00:00
uz
c140a15dac 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
2012-03-10 14:22:51 +00:00
uz
2d0e71b242 Do also allow ':' as an attribute separator.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5588 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-10 14:21:46 +00:00
uz
7563f4096c Implemented main conversion module.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5587 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-10 13:50:53 +00:00
uz
1aaff0ce2f 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
2012-03-09 13:44:51 +00:00
uz
b55c290823 Added a dummy return to fix a watcom warning.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5585 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-09 11:48:13 +00:00
uz
4e7488d9b9 Added the write routine.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5584 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-09 11:46:16 +00:00
uz
b6329757d7 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
2012-03-09 11:45:08 +00:00
uz
006be848f2 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
2012-03-09 11:37:10 +00:00
uz
19ffc1ab08 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
2012-03-09 10:50:12 +00:00
uz
65a8da9fde 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
2012-03-09 10:48:59 +00:00
uz
a564450415 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
2012-03-08 18:59:41 +00:00
uz
8c1aed8b0f Started to add koala output format.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5578 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-05 20:30:25 +00:00
uz
15a8a51aa2 Fix FindInputFormat.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5577 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-05 19:28:22 +00:00
uz
3cef75b26c 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
2012-03-04 21:02:31 +00:00
uz
594e446ac5 Added a module to manage attribute/value pairs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5575 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-04 20:17:34 +00:00
uz
4f61106043 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
2012-03-04 19:25:22 +00:00
uz
285aaf8933 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
2012-03-04 13:08:54 +00:00
uz
bdeefe31e5 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
2012-03-04 13:01:50 +00:00
ol.sc
026e6995d0 Added article.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5571 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-28 22:19:28 +00:00
ol.sc
720d11e59f Replaced hardcoded constants with macros.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5570 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-28 21:57:45 +00:00
ol.sc
c136a48eb8 Replaced hardcoded constants with macros.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5569 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-28 21:49:24 +00:00