cd7e65f97eFixed an uniniitalized variable which caused ranom error messages on static local variables.
uz
2012-04-22 21:38:31 +00:00
7bf80a4d73Reverted errorneously commited change to the makefile.
uz
2012-04-22 18:09:17 +00:00
faf58a8220Fixed an error when parsing local variables: Variables must be inserted into the symbol table *before* the optional initializer is parsed, because they might be referenced in the intializer.
uz
2012-04-22 18:08:45 +00:00
b0c4678ad2More cleanup.
uz
2012-04-11 12:23:33 +00:00
b0ed819891More preparations for loadable CPUs. Will still not compile.
uz
2012-04-09 11:55:18 +00:00
4858614605Moving around stuff. Preparation for loadable CPUs.
uz
2012-04-06 11:35:56 +00:00
74ee7a44a9One more intermediate state - not compilable.
uz
2012-04-05 19:55:04 +00:00
10d58204b5Intermediate state - doesn't run as is.
uz
2012-04-05 13:30:21 +00:00
032c16dda4Reenable Break(), use a string buffer for safe formatting.
uz
2012-04-03 17:35:34 +00:00
b5d4321a4bAdded support for several colors.
uz
2012-04-03 17:34:54 +00:00
31e0666087Use FileStat instead of stat.
uz
2012-04-03 13:28:33 +00:00
2cd0b5ae91Fixed an error in the conversion function from Unix time to FILETIME.
uz
2012-04-03 13:27:19 +00:00
7287d86dd1Use the replacement function to set file times.
uz
2012-04-03 13:13:28 +00:00
a0c6ae2c62Added a replacement for utime(), because it has the same DST bug as stat().
uz
2012-04-03 13:01:56 +00:00
b833c6c8c5Explicitly ignore the function result of CloseHandle().
uz
2012-04-03 12:54:17 +00:00
dd6475ac3dFixed an invalid offset.
uz
2012-04-01 19:29:04 +00:00
a9550ade4cAdded a missing #include.
uz
2012-04-01 17:20:10 +00:00
f9729fd0cfUse the new FileStat function to get correct file modification times under Windows.
uz
2012-04-01 17:01:05 +00:00
65fe2ad0d3Add 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().
uz
2012-04-01 16:56:42 +00:00
baa4774b08Fixed a comment.
uz
2012-04-01 15:48:53 +00:00
35e1184901Removed unneeded include files.
uz
2012-04-01 15:48:11 +00:00
4c56598dcb.SET has been missing from the list of pseudo ops.
uz
2012-03-31 19:37:24 +00:00
b73f86abc2.UNION/.ENDUNION were missing from the docs.
uz
2012-03-31 19:33:27 +00:00
9ee0fa91e6Fixed 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
f059634cdaFixed an invalid store offset which resulted in random values returned by the function.
uz
2012-03-25 13:13:37 +00:00
724d1b9160Fixed 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
515661e5f4Fixed 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
c09d6a7299Added 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
63328d3852Implement anonymous structs/unions in cc65 mode.
uz
2012-03-17 20:33:09 +00:00
9f2d63a3aeSome more work on the sp65 docs.
uz
2012-03-15 21:42:21 +00:00
7260b3687aPass 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
fbbf7e50d2Added 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
1c91618a5dFixed a C99ism.
uz
2012-03-12 08:20:20 +00:00
3f25b9d6a2Fixed a copy&paste error in a comment.
uz
2012-03-11 22:44:22 +00:00
422629ff91Added 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
dfc0690e0bWorking on the sp65 documentation.
uz
2012-03-11 15:01:37 +00:00
735b2811fcAdded the layout for the sp65 documentation.
uz
2012-03-11 13:34:58 +00:00
6d0d1575a6Added generation of C output.
uz
2012-03-11 12:38:54 +00:00
b599fe5793Added the capability to generate multicolor sprites.
uz
2012-03-11 12:17:48 +00:00
4a0a76b012New function GetBitmapName, inlined GetBitmapColors.
uz
2012-03-11 11:38:37 +00:00
ca691233e4New option --dump-palette. Fixed a double free in the cleanup code.
uz
2012-03-11 11:25:38 +00:00
c9d65c56c2Remove the bitmap type since it is not really needed and complicate things.
uz
2012-03-11 11:10:41 +00:00
194a007710The set_irq function needs size_t.
uz
2012-03-11 10:46:04 +00:00
c55b983d52Added sp65.
uz
2012-03-10 23:14:36 +00:00
921ef39162Added sp65 to the tools makefiles.
uz
2012-03-10 23:11:42 +00:00
4c0c20fc2cFixed a few doc issues. By Stefan Haubenthal.
uz
2012-03-10 23:08:35 +00:00
df036dbeafFree bitmaps and buffers before terminating.
uz
2012-03-10 22:13:36 +00:00
e39d1e8d10Allow to pass NULL pointers to FreeStrBuf.
uz
2012-03-10 22:12:44 +00:00
d06625075dRemoved the flags and optimized the Attr structure.
uz
2012-03-10 22:10:45 +00:00
84d90343eaRemoved several memory leaks.
uz
2012-03-10 21:46:09 +00:00
4c36a39814Handle "label" and "segment" attributes for assembler output.
uz
2012-03-10 20:51:52 +00:00
74108cd74fFixed two compiler warnings.
uz
2012-03-10 20:35:22 +00:00
1a7b115b3cMove evaluation of attributes into the input routine.
uz
2012-03-10 20:26:47 +00:00
44c70d01cbNew option --list-conversions.
uz
2012-03-10 18:51:00 +00:00
c44c7d9f97New attribute "base".
uz
2012-03-10 18:50:40 +00:00
c140a15dacMove attribute lookup into the output functions. Allow a bytesperline attribute for asm output files.
uz
2012-03-10 14:22:51 +00:00
2d0e71b242Do also allow ':' as an attribute separator.
uz
2012-03-10 14:21:46 +00:00
7563f4096cImplemented main conversion module.
uz
2012-03-10 13:50:53 +00:00
1aaff0ce2fAdded the main conversion module. New option --convert-to. New short options for --read and --write.
uz
2012-03-09 13:44:51 +00:00
b55c290823Added a dummy return to fix a watcom warning.
uz
2012-03-09 11:48:13 +00:00
4e7488d9b9Added the write routine.
uz
2012-03-09 11:46:16 +00:00
b6329757d7Export the compare function since it is used in a few places.
uz
2012-03-09 11:45:08 +00:00
006be848f2Added VIC2 sprites as output format. Started to code the processing pipeline: --slice, --pop.
uz
2012-03-09 11:37:10 +00:00
19ffc1ab08Added the new serial driver for the atmos to the spec file.
uz
2012-03-09 10:50:12 +00:00
65a8da9fdeAdded a new serial driver for the atmos. By Stefan Haubenthal.
uz
2012-03-09 10:48:59 +00:00
a564450415Fixed 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
8c1aed8b0fStarted to add koala output format.
uz
2012-03-05 20:30:25 +00:00
15a8a51aa2Fix FindInputFormat.
uz
2012-03-05 19:28:22 +00:00
3cef75b26cAdded parsing of arguments to --read. The explicit format spec is currently broken.
uz
2012-03-04 21:02:31 +00:00
594e446ac5Added a module to manage attribute/value pairs.
uz
2012-03-04 20:17:34 +00:00
4f61106043The IRQ handler needs to save the registers. By Stefan Haubenthal.
uz
2012-03-04 19:25:22 +00:00
285aaf8933Patch 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
bdeefe31e5The table for sweet 16 instructions had an invalid length word. Reported by Jeff Tranter.
uz
2012-03-04 13:01:50 +00:00
720d11e59fReplaced hardcoded constants with macros.
ol.sc
2012-02-28 21:57:45 +00:00
c136a48eb8Replaced hardcoded constants with macros.
ol.sc
2012-02-28 21:49:24 +00:00
f6825b244aAdded screen initialization on Apple GEOS.
ol.sc
2012-02-28 21:24:17 +00:00
204aba1577Introduced Apple GEOS specific screen size constants.
ol.sc
2012-02-27 22:00:26 +00:00
32f4a8d414Added the output layer.
uz
2012-02-27 21:03:01 +00:00
95eb20dc37Remove the "Tag" field in struct Bitmap since it is of no real use.
uz
2012-02-27 20:45:14 +00:00
d46c3fc5a9Fix two watcom (and probably C89) issues.
uz
2012-02-27 20:43:03 +00:00
5817cf1476Take BSS into account (like done for Apple GEOS in the first place).
ol.sc
2012-02-27 19:37:32 +00:00
e4aab75bb0Added a module for assembler source output.
uz
2012-02-27 18:17:28 +00:00
1e4a4cb72cRemoved a declaration for a routine that doesn't exist.
uz
2012-02-27 18:17:13 +00:00
271e604fb7Added a module for binary output.
uz
2012-02-27 17:58:34 +00:00
f0a73e253dAdded a new input layer that manages the different input formats.
uz
2012-02-27 16:33:13 +00:00
ca624041a9Splitted 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
7a3e6abb13New function to create a bitmap slice.
uz
2012-02-26 21:45:42 +00:00
4abdecc728Use only as many palette entries as there are colors in the image.
uz
2012-02-26 21:26:00 +00:00
fa052219e3First version of PCX reading routine is completed but mostly untested.
uz
2012-02-26 15:27:36 +00:00
6893f52a50Some more work on reading pcx files.
uz
2012-02-26 11:54:05 +00:00
c4721fb4e2Output usage information to stdout, not stderr. This is consistent with the other tools.
uz
2012-02-26 11:53:39 +00:00
3265f0cf44Started to add PCX routines.
uz
2012-02-25 21:45:01 +00:00
eb4001a52fAdapted the file i/o module from od65.
uz
2012-02-25 20:51:16 +00:00
364eb07a59Started to code the front end base layer modules.
uz
2012-02-25 15:08:38 +00:00