Commit Graph

  • cd7e65f97e Fixed an uniniitalized variable which caused ranom error messages on static local variables. uz 2012-04-22 21:38:31 +00:00
  • 7bf80a4d73 Reverted errorneously commited change to the makefile. uz 2012-04-22 18:09:17 +00:00
  • faf58a8220 Fixed 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
  • b0c4678ad2 More cleanup. uz 2012-04-11 12:23:33 +00:00
  • b0ed819891 More preparations for loadable CPUs. Will still not compile. uz 2012-04-09 11:55:18 +00:00
  • 4858614605 Moving around stuff. Preparation for loadable CPUs. uz 2012-04-06 11:35:56 +00:00
  • 74ee7a44a9 One more intermediate state - not compilable. uz 2012-04-05 19:55:04 +00:00
  • 10d58204b5 Intermediate state - doesn't run as is. uz 2012-04-05 13:30:21 +00:00
  • 032c16dda4 Reenable Break(), use a string buffer for safe formatting. uz 2012-04-03 17:35:34 +00:00
  • b5d4321a4b Added support for several colors. uz 2012-04-03 17:34:54 +00:00
  • 31e0666087 Use FileStat instead of stat. uz 2012-04-03 13:28:33 +00:00
  • 2cd0b5ae91 Fixed an error in the conversion function from Unix time to FILETIME. uz 2012-04-03 13:27:19 +00:00
  • 7287d86dd1 Use the replacement function to set file times. uz 2012-04-03 13:13:28 +00:00
  • a0c6ae2c62 Added a replacement for utime(), because it has the same DST bug as stat(). uz 2012-04-03 13:01:56 +00:00
  • b833c6c8c5 Explicitly ignore the function result of CloseHandle(). uz 2012-04-03 12:54:17 +00:00
  • dd6475ac3d Fixed an invalid offset. uz 2012-04-01 19:29:04 +00:00
  • a9550ade4c Added a missing #include. uz 2012-04-01 17:20:10 +00:00
  • f9729fd0cf Use the new FileStat function to get correct file modification times under Windows. uz 2012-04-01 17:01:05 +00:00
  • 65fe2ad0d3 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(). uz 2012-04-01 16:56:42 +00:00
  • baa4774b08 Fixed a comment. uz 2012-04-01 15:48:53 +00:00
  • 35e1184901 Removed 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
  • 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
  • 4b6720d32b Add lynx sprite generation skeleton karri 2012-03-11 14:00:51 +00:00
  • cba5d0af56 Add lynx sprite generation skeleton karri 2012-03-11 13:48:40 +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
  • 026e6995d0 Added article. ol.sc 2012-02-28 22:19:28 +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
  • 7cda476c08 Added comments. ol.sc 2012-02-24 22:21:54 +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