9ee0fa91e6
Fixed an invalid store offset, which caused an invalid pointer as a function result. The actual conversion was ok.
uz
2012-03-25 13:14:13 +00:00
f059634cda
Fixed an invalid store offset which resulted in random values returned by the function.
uz
2012-03-25 13:13:37 +00:00
724d1b9160
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.
uz
2012-03-24 14:28:59 +00:00
515661e5f4
Fixed an error: For symbols declared as extern in local scope, the name for the external assembler symbol wasn't set.
uz
2012-03-24 13:42:10 +00:00
c09d6a7299
Added an improved definition of the __vic2 structure using anon structs/unions. For compatibility reasons the new definition is active only in cc65 mode.
uz
2012-03-17 21:07:41 +00:00
63328d3852
Implement anonymous structs/unions in cc65 mode.
uz
2012-03-17 20:33:09 +00:00
9f2d63a3ae
Some more work on the sp65 docs.
uz
2012-03-15 21:42:21 +00:00
7260b3687a
Pass the source image of the conversion down to the output function, so they are able to output the image properties as comments.
uz
2012-03-15 17:02:12 +00:00
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.
uz
2012-03-13 21:12:27 +00:00
1c91618a5d
Fixed a C99ism.
uz
2012-03-12 08:20:20 +00:00
3f25b9d6a2
Fixed a copy&paste error in a comment.
uz
2012-03-11 22:44:22 +00:00
422629ff91
Added conversion to GEOS icon format (which is actually identical to the VIC2 high-res sprite format).
uz
2012-03-11 22:43:44 +00:00
dfc0690e0b
Working on the sp65 documentation.
uz
2012-03-11 15:01:37 +00:00
735b2811fc
Added the layout for the sp65 documentation.
uz
2012-03-11 13:34:58 +00:00
6d0d1575a6
Added generation of C output.
uz
2012-03-11 12:38:54 +00:00
b599fe5793
Added the capability to generate multicolor sprites.
uz
2012-03-11 12:17:48 +00:00
4a0a76b012
New function GetBitmapName, inlined GetBitmapColors.
uz
2012-03-11 11:38:37 +00:00
ca691233e4
New option --dump-palette. Fixed a double free in the cleanup code.
uz
2012-03-11 11:25:38 +00:00
c9d65c56c2
Remove the bitmap type since it is not really needed and complicate things.
uz
2012-03-11 11:10:41 +00:00
194a007710
The set_irq function needs size_t.
uz
2012-03-11 10:46:04 +00:00
c55b983d52
Added sp65.
uz
2012-03-10 23:14:36 +00:00
921ef39162
Added sp65 to the tools makefiles.
uz
2012-03-10 23:11:42 +00:00
4c0c20fc2c
Fixed a few doc issues. By Stefan Haubenthal.
uz
2012-03-10 23:08:35 +00:00
df036dbeaf
Free bitmaps and buffers before terminating.
uz
2012-03-10 22:13:36 +00:00
e39d1e8d10
Allow to pass NULL pointers to FreeStrBuf.
uz
2012-03-10 22:12:44 +00:00
d06625075d
Removed the flags and optimized the Attr structure.
uz
2012-03-10 22:10:45 +00:00
84d90343ea
Removed several memory leaks.
uz
2012-03-10 21:46:09 +00:00
4c36a39814
Handle "label" and "segment" attributes for assembler output.
uz
2012-03-10 20:51:52 +00:00
74108cd74f
Fixed two compiler warnings.
uz
2012-03-10 20:35:22 +00:00
1a7b115b3c
Move evaluation of attributes into the input routine.
uz
2012-03-10 20:26:47 +00:00
44c70d01cb
New option --list-conversions.
uz
2012-03-10 18:51:00 +00:00
c44c7d9f97
New attribute "base".
uz
2012-03-10 18:50:40 +00:00
c140a15dac
Move attribute lookup into the output functions. Allow a bytesperline attribute for asm output files.
uz
2012-03-10 14:22:51 +00:00
2d0e71b242
Do also allow ':' as an attribute separator.
uz
2012-03-10 14:21:46 +00:00
7563f4096c
Implemented main conversion module.
uz
2012-03-10 13:50:53 +00:00
1aaff0ce2f
Added the main conversion module. New option --convert-to. New short options for --read and --write.
uz
2012-03-09 13:44:51 +00:00
b55c290823
Added a dummy return to fix a watcom warning.
uz
2012-03-09 11:48:13 +00:00
4e7488d9b9
Added the write routine.
uz
2012-03-09 11:46:16 +00:00
b6329757d7
Export the compare function since it is used in a few places.
uz
2012-03-09 11:45:08 +00:00
006be848f2
Added VIC2 sprites as output format. Started to code the processing pipeline: --slice, --pop.
uz
2012-03-09 11:37:10 +00:00
19ffc1ab08
Added the new serial driver for the atmos to the spec file.
uz
2012-03-09 10:50:12 +00:00
65a8da9fde
Added a new serial driver for the atmos. By Stefan Haubenthal.
uz
2012-03-09 10:48:59 +00:00
a564450415
Fixed a bug. High byte of the sector number is stored into the wrong place. Reported by Stefan Haubenthal.
uz
2012-03-08 18:59:41 +00:00
8c1aed8b0f
Started to add koala output format.
uz
2012-03-05 20:30:25 +00:00
15a8a51aa2
Fix FindInputFormat.
uz
2012-03-05 19:28:22 +00:00
3cef75b26c
Added parsing of arguments to --read. The explicit format spec is currently broken.
uz
2012-03-04 21:02:31 +00:00
594e446ac5
Added a module to manage attribute/value pairs.
uz
2012-03-04 20:17:34 +00:00
4f61106043
The IRQ handler needs to save the registers. By Stefan Haubenthal.
uz
2012-03-04 19:25:22 +00:00
285aaf8933
Patch by Stefan Haubenthal: Remove __fastcall__ in comments and/or the function description for functions that don't take any parameters.
uz
2012-03-04 13:08:54 +00:00
bdeefe31e5
The table for sweet 16 instructions had an invalid length word. Reported by Jeff Tranter.
uz
2012-03-04 13:01:50 +00:00
720d11e59f
Replaced hardcoded constants with macros.
ol.sc
2012-02-28 21:57:45 +00:00
c136a48eb8
Replaced hardcoded constants with macros.
ol.sc
2012-02-28 21:49:24 +00:00
f6825b244a
Added screen initialization on Apple GEOS.
ol.sc
2012-02-28 21:24:17 +00:00
204aba1577
Introduced Apple GEOS specific screen size constants.
ol.sc
2012-02-27 22:00:26 +00:00
32f4a8d414
Added the output layer.
uz
2012-02-27 21:03:01 +00:00
95eb20dc37
Remove the "Tag" field in struct Bitmap since it is of no real use.
uz
2012-02-27 20:45:14 +00:00
d46c3fc5a9
Fix two watcom (and probably C89) issues.
uz
2012-02-27 20:43:03 +00:00
5817cf1476
Take BSS into account (like done for Apple GEOS in the first place).
ol.sc
2012-02-27 19:37:32 +00:00
e4aab75bb0
Added a module for assembler source output.
uz
2012-02-27 18:17:28 +00:00
1e4a4cb72c
Removed a declaration for a routine that doesn't exist.
uz
2012-02-27 18:17:13 +00:00
271e604fb7
Added a module for binary output.
uz
2012-02-27 17:58:34 +00:00
f0a73e253d
Added a new input layer that manages the different input formats.
uz
2012-02-27 16:33:13 +00:00
ca624041a9
Splitted the filetype module into the actual search function (now in fileid) and the existing file types used by ld65 and cl65.
uz
2012-02-27 16:24:35 +00:00
7a3e6abb13
New function to create a bitmap slice.
uz
2012-02-26 21:45:42 +00:00
4abdecc728
Use only as many palette entries as there are colors in the image.
uz
2012-02-26 21:26:00 +00:00
fa052219e3
First version of PCX reading routine is completed but mostly untested.
uz
2012-02-26 15:27:36 +00:00
6893f52a50
Some more work on reading pcx files.
uz
2012-02-26 11:54:05 +00:00
c4721fb4e2
Output usage information to stdout, not stderr. This is consistent with the other tools.
uz
2012-02-26 11:53:39 +00:00
3265f0cf44
Started to add PCX routines.
uz
2012-02-25 21:45:01 +00:00
eb4001a52f
Adapted the file i/o module from od65.
uz
2012-02-25 20:51:16 +00:00
364eb07a59
Started to code the front end base layer modules.
uz
2012-02-25 15:08:38 +00:00
d27c7d5a75
Added base framework for the sp65 sprite and bitmap tool.
uz
2012-02-23 21:32:15 +00:00
351e0828c6
Rather stay with OFF_YEAR as it is an "officially" name.
ol.sc
2012-02-22 23:49:45 +00:00
c3e5aa643b
Learned the hard way that even meant-to-be-simple sample programs should contain some error checking.
ol.sc
2012-02-22 23:29:52 +00:00
336e53348b
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.
ol.sc
2012-02-22 23:26:25 +00:00
c8f3b16f99
Minor style adjustment.
ol.sc
2012-02-22 22:59:38 +00:00
358a27bd3c
Better have the Apple GEOS stuff below the CBM GEOS stuff.
ol.sc
2012-02-22 22:32:28 +00:00
f86acd3128
C programs don't need offsets into data structures - they have actual structs :-). In this case 'struct filehandle' and 'struct fileheader'.
ol.sc
2012-02-22 22:24:28 +00:00
db0cf2b8d1
Greg King: SHORTCUT is a graphic character (it is displayed in menues); it is not a control character.
ol.sc
2012-02-20 22:48:02 +00:00
f5d2af3763
With the additional key definitions, the dbg module will now work on the Oric Atmos. By Stefan Haubenthal.
uz
2012-02-19 17:51:47 +00:00
787dc1a5dc
Additional key definitions for the Oric Atmos. By Stefan Haubenthal.
uz
2012-02-19 17:50:57 +00:00
1b6f4c3f24
Doc updates by Stefan Haubenthal.
uz
2012-02-19 17:49:38 +00:00
d17292ce1a
Introduced Apple GEOS specific global variable addresses.
ol.sc
2012-02-18 00:09:39 +00:00
5134fe7f41
Introduced Apple GEOS specific directory entry structures.
ol.sc
2012-02-18 00:08:51 +00:00
077520abeb
Removed comment that wasn't correct anymore and didn't fit the cc65 style anyway.
ol.sc
2012-02-17 21:08:13 +00:00
fb7d8a7c37
My recent decision to reuse the character specification table from the base target was based on the fact that CBM GEOS used a copy of the CBM character specification table for the last ten years. However now I understand that CBM GEOS does _not_ use PETSCII so the CBM character specification table doesn't make sense at all. After all this is very plausible because GEOS wants to enable the user to share his files across GEOS variants - so we can share the character specification table too.
ol.sc
2012-02-17 20:23:35 +00:00
7d2972fdb2
Fixed line endings.
ol.sc
2012-02-14 22:15:23 +00:00
ab8fdfbb83
Somewhat nicer user feedback.
ol.sc
2012-02-12 23:02:46 +00:00
ae39e1c0af
recognize XDOS -- patch from Stefan Haubenthal
cpg
2012-02-11 08:35:54 +00:00