Commit Graph

  • 5b0ad76cd9 Recoded the last change cuz 2005-01-14 18:52:30 +00:00
  • 8cd583d591 Fixed a bug (Report from Greg King) cuz 2005-01-14 18:40:33 +00:00
  • bd2185c57b Improved mainargs code from Stefan Haubenthal cuz 2005-01-11 07:02:43 +00:00
  • d63dc84262 Improve doc for .struct/.union cuz 2005-01-11 06:51:24 +00:00
  • e06d9d0d84 Fixed a bug (hopefully). The ArrayRef() does really need a rewrite, now since we have better expression info. cuz 2005-01-09 21:17:19 +00:00
  • 6a1ff58499 Don't treat K&R functions as variadic. The standard (at least the C99 one) says that passing an invalid number of parameters causes undefined behaviour, so we don't need to handle that case. cuz 2005-01-09 21:16:32 +00:00
  • 9a6a7bdd24 Test file for illegal 6502 opcodes cuz 2005-01-09 19:07:45 +00:00
  • 5c1bc2d740 Output warnings for implicit int types if std >= C99. cuz 2005-01-09 18:03:55 +00:00
  • 9cd0b7705c Fixed a bug: If all output data was discarded (by using file = "" in the linker config), CheckExports was never called, which in turn meant that the list of all exports was never built. This caused a crash later when the linker tried to generate a map file. The solution is to separate the creation of the exports list and the check for unresolved imports. cuz 2005-01-09 13:16:51 +00:00
  • a456e503e4 More CfgName issues. Use CfgError instead of calling Error directly. Use dynamically allocated string buffers in the CfgError and CfgWarning functions. cuz 2005-01-08 21:38:17 +00:00
  • 8559581d9f Fixed several places were CfgName was used directly instead of calling CfgGetName(). The former may be NULL, while the latter maps that to a string like "builtin config". cuz 2005-01-08 21:08:59 +00:00
  • e128341854 Replace obsolete "wprot" segment type by "ro". cuz 2005-01-08 21:08:04 +00:00
  • 696f664050 Describe the new asminc feature cuz 2005-01-08 20:33:27 +00:00
  • 83147e5fce New info file statement "asminc" that allows to read in a file containing symbol values in asm syntax. cuz 2005-01-08 20:16:57 +00:00
  • 1596692501 Describe new align_load attribute cuz 2005-01-08 13:52:07 +00:00
  • 7774e57eae New segment attribute ALIGN_LOAD. Some cleanup. cuz 2005-01-08 13:44:11 +00:00
  • 1875825e78 New segment APPZP cuz 2005-01-06 13:20:23 +00:00
  • 8188795240 New code from Oliver Schmidt cuz 2005-01-06 12:26:47 +00:00
  • 2ebb276929 Fixed a typo cuz 2005-01-05 21:28:54 +00:00
  • 7caee98fc0 New function: _aligned_malloc cuz 2005-01-05 21:07:23 +00:00
  • 18e3e7cb11 Added a comment cuz 2005-01-05 21:05:35 +00:00
  • 842ff39d4c New used block structure for the heap cuz 2005-01-05 21:05:11 +00:00
  • 802f259b37 Fixed an identifier (cosmetic change) cuz 2005-01-05 21:04:35 +00:00
  • 2342052bc3 Slice blocks even if the remainder is just sizeof(freeblock) bytes in size. cuz 2005-01-05 20:06:13 +00:00
  • d8fa43d7a6 Save a few bytes cuz 2005-01-05 20:05:27 +00:00
  • fd9226fe4a Small changes by Oliver Schmidt cuz 2004-12-21 16:25:29 +00:00
  • 71650c64e4 Added Oliver Schmidt cuz 2004-12-21 16:01:21 +00:00
  • 10431b1067 Added an exit handler - code from Oliver Schmidt cuz 2004-12-21 15:56:48 +00:00
  • e55a4bcfd4 Changed the way, used blocks are managed cuz 2004-12-19 23:09:38 +00:00
  • 49d1a47269 Several improvements and a few bug fixes cuz 2004-12-19 22:15:43 +00:00
  • 218e722b91 Fixes for the Watcom compiler and some general improvements for older compilers that don't have the va_copy macro. cuz 2004-12-18 14:28:42 +00:00
  • ad8a481a9e fix tmp3 return value if DEFAULT_DEVICE is enabled cpg 2004-12-17 14:33:32 +00:00
  • 47054d90d3 rename defdev to __defdev and export it; add support for DEFAULT_DEVICE and DYNAMIC_DD cpg 2004-12-16 22:46:28 +00:00
  • ae70828938 Some improvements using the new SB_Printf for string buffers cuz 2004-12-16 22:43:52 +00:00
  • 1727d49c8d DYNAMIC_DD support cpg 2004-12-16 22:43:47 +00:00
  • 1cb6868ddd DYNAMIC_DD cpg 2004-12-16 22:41:14 +00:00
  • 41ec19b72a Use inttypes.h and the intmax_t/uintmax_t types cuz 2004-12-16 22:38:07 +00:00
  • 3dab55e339 New module inttypes.h cuz 2004-12-16 22:37:30 +00:00
  • d27b06ecd2 use DEFAULT_DEVICE definition for the default drive cpg 2004-12-16 22:19:46 +00:00
  • 0ce95ffe6a Fixed another bug cuz 2004-12-16 20:26:46 +00:00
  • 5b851fb621 Fixed several bugs cuz 2004-12-16 20:07:49 +00:00
  • e43766ea93 Added a basic vsnprintf implementation to work around problems with compilers that don't have it. Added SB_VPrintf and SB_Printf as safe replacement for sprintf function with the output going into a string buffer. cuz 2004-12-15 21:23:22 +00:00
  • 569f57bc1b Fixed minor issues with the modifiers: Some modifiers where accepted (and ignored) that do not exist. Added C99 modifiers z, j and t. cuz 2004-12-11 18:33:49 +00:00
  • 5ecda9d204 va_copy is only available from C99 and up cuz 2004-12-11 14:59:05 +00:00
  • 95f66b8ca9 Disable interrupts while modifying the signal table cuz 2004-12-10 11:50:54 +00:00
  • 48a7d56619 Small improvement cuz 2004-12-02 22:26:17 +00:00
  • 4f66f980b2 Another fix from Oliver Schmidt cuz 2004-12-01 20:25:28 +00:00
  • 42d8c7a56c Small change by Oliver Schmidt cuz 2004-12-01 16:57:39 +00:00
  • 6de079ee57 Sqeezed a few bytes out of the copydata function cuz 2004-12-01 12:00:50 +00:00
  • 0ab513b254 Use register to improve the code cuz 2004-11-30 20:17:44 +00:00
  • 08074a2ee3 Fixed an error and improved the code cuz 2004-11-30 18:47:25 +00:00
  • e506719f43 New code from Karri cuz 2004-11-29 16:03:00 +00:00
  • 18b154e6b1 Replaced vsscanf by an assembler version cuz 2004-11-28 18:45:13 +00:00
  • 501cc4c6c8 Replace sscanf by an assembler version cuz 2004-11-28 18:23:16 +00:00
  • c74253d081 Replaced fscanf by an assembler version cuz 2004-11-28 18:11:17 +00:00
  • 163c4e2fc8 Small optimization cuz 2004-11-28 18:10:47 +00:00
  • 928acfee6c Removed an unused import cuz 2004-11-28 18:09:56 +00:00
  • 3692fd40da New test optimization cuz 2004-11-27 21:13:07 +00:00
  • 9ba5eafedf Optimization step that handles load from *ptr++ if ptr is a char* register variable. cuz 2004-11-27 20:52:46 +00:00
  • d2c8a754db Handle static functions correctly with %v. cuz 2004-11-27 20:52:06 +00:00
  • 626314e4cb Replace vscanf by an assembler version cuz 2004-11-27 18:23:24 +00:00
  • c67ed28f9b Added O_EXCL cuz 2004-11-27 15:18:33 +00:00
  • 35b7d549f4 Replace vfscanf by an assembler version cuz 2004-11-27 14:56:54 +00:00
  • dbb003c9ac Added assembler include function for _scanf cuz 2004-11-27 14:45:49 +00:00
  • 7cf5f27ec6 Added vscanf cuz 2004-11-26 23:16:57 +00:00
  • fb4613f4ea Removed a comment about the scanf functions cuz 2004-11-26 22:41:01 +00:00
  • b1d4e1613b Rewrote _scanf. It does need some tests and improvements, but it's a more standard version than before, and it does support the necessary functionality to support scanf functions for files. Added vfscanf, fscanf and vfscanf. cuz 2004-11-26 22:16:54 +00:00
  • e35b91ed3b Fixed a bug cuz 2004-11-25 13:18:20 +00:00
  • 38f27c1c16 Add the lynx cuz 2004-11-25 11:57:03 +00:00
  • cae4f9b1e8 SIZEP2 was misnamed (SIZEF2) - noticed by Fatih Aygün cpg 2004-11-23 21:45:25 +00:00
  • 6db6a58225 fix CH_VLINE definition (noticed by Fatih Aygün) cpg 2004-11-23 21:43:53 +00:00
  • d46b1a395b Fixed a bug in code generation for left shifts cuz 2004-11-23 10:04:34 +00:00
  • 14e40851e9 New kbhit and cgetc functions from Karri cuz 2004-11-13 10:34:06 +00:00
  • 4db225ae4a Profreading by Stefan Haubenthal cuz 2004-11-09 20:09:16 +00:00
  • 71669b5ae3 Make _mouse_geterrormsg public cuz 2004-11-07 13:00:29 +00:00
  • 4e81c529d9 Update the mouse demo to run with the new mouse API that uses loadable drivers. Remove Atari support because there are no loadable drivers for the Atari. cuz 2004-11-07 12:54:30 +00:00
  • d136a3409f Cosmetic changes cuz 2004-11-07 12:52:40 +00:00
  • cbacbb5222 Add constant for number of error codes cuz 2004-11-07 12:42:30 +00:00
  • 9037886381 New function mouse_geterrormsg() cuz 2004-11-07 12:41:18 +00:00
  • f9abc154be Autodetect the location of the compiler and tools. cuz 2004-11-07 11:33:30 +00:00
  • a939b2b7e9 Added the IRQ entry cuz 2004-11-07 11:33:08 +00:00
  • 6ab41edc72 Removed the tgi_header structure because it is of no use for C programs anyway, but needs maintainance. cuz 2004-11-07 11:32:49 +00:00
  • b1afca6bb3 Use a structure for the TGI header as with other drivers. cuz 2004-11-07 11:30:45 +00:00
  • 8b0c3d3425 Use the new TGI_HDR structure. Added an interrupt entry point for the drivers. Rewrote tgi_unload to avoid problems with the tgi_drv pointer. cuz 2004-11-07 11:30:26 +00:00
  • 3088254f57 Cosmetic changes cuz 2004-11-07 11:24:33 +00:00
  • f044f9d6b5 Added the irq vector cuz 2004-11-07 10:45:24 +00:00
  • 84be744418 Moved additional zeropage variables into an extra module. Added interrupt vector to joystick driver. New code from Karri. Rewrote joystick initialization to make it somewhat shorter. cuz 2004-11-06 13:51:02 +00:00
  • dc781be7f9 Add the irq entry point cuz 2004-11-06 13:27:38 +00:00
  • 16c81eb942 Add the irq entry point cuz 2004-11-06 13:12:57 +00:00
  • 59d2e4e1f4 Make _joy_masks global cuz 2004-11-06 13:09:17 +00:00
  • 5aee1c5397 Export the interrupt entry point cuz 2004-11-06 13:09:01 +00:00
  • 116ade035c Added the IRQ entry point cuz 2004-11-06 13:05:26 +00:00
  • 0ad0a2e138 Added IRQ entry point, bumped the version number cuz 2004-11-06 13:01:15 +00:00
  • ff36915c79 Added IRQ entry point cuz 2004-11-06 13:00:17 +00:00
  • ea75fef1bf Disable the IRQ before calling mouse_uninstall cuz 2004-11-06 12:58:43 +00:00
  • f9c8634346 Set view and draw pages cuz 2004-11-03 18:33:23 +00:00
  • ec3dc8f73d New submakefile use cuz 2004-10-26 21:21:06 +00:00
  • 9ecc9c044f The NES does now have a joystick driver cuz 2004-10-26 21:04:38 +00:00
  • 3a70b3bc2f Some renaming cuz 2004-10-26 21:03:47 +00:00
  • 4e34062fde Ignore the drivers cuz 2004-10-26 21:02:20 +00:00