Commit Graph

  • 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
  • 45b6a6f20c Added nes-stdjoy.s from Stefan Haubenthal cuz 2004-10-26 21:01:50 +00:00
  • 1cb722ba7d The absolute X indirect addressing mode for the 65C02 CPU was missing. cuz 2004-10-26 20:20:55 +00:00
  • 56656eac69 interruptor is now supported by the runtime cuz 2004-10-26 19:46:26 +00:00
  • 463712217c Add interrupt handling code from Stefan Haubenthal cuz 2004-10-26 19:44:30 +00:00
  • b74f658b93 Add definitions for tools so the makefile is useful by itself. cuz 2004-10-26 19:35:40 +00:00
  • 303304fe90 Add definitions for tools so the makefile is useful by itself. cuz 2004-10-26 19:28:26 +00:00
  • 44197d3708 Use get_tv.inc. Fix high byte of returned value. cuz 2004-10-26 19:15:23 +00:00
  • b5db6e9e7b New function get_tv cuz 2004-10-26 19:07:38 +00:00
  • 7b13d79bde Use get_tv.inc cuz 2004-10-26 19:05:19 +00:00
  • 75f7b6cf4e Add definitions for tools so the makefile is useful by itself. Added the get_tv module. cuz 2004-10-26 18:58:48 +00:00
  • aef7a94730 Removed an unused rts cuz 2004-10-21 21:37:41 +00:00
  • f0775b3845 New module cuz 2004-10-16 19:35:05 +00:00
  • 9043e10165 TV_OTHER and availability for more platforms cuz 2004-10-16 19:32:07 +00:00
  • c2f003449d New upload module cuz 2004-10-15 21:26:34 +00:00
  • ca1cefa000 _tgi_ioctl is a global symbol cuz 2004-10-15 21:25:48 +00:00
  • 08ee93cbad Added tgi_ioctl cuz 2004-10-14 18:24:52 +00:00
  • 567f264320 Added skeleton for the Atari Lynx cuz 2004-10-14 18:03:19 +00:00
  • acfe060afb Minor fix cuz 2004-10-14 17:40:09 +00:00
  • 72f7d1e706 Handle lynx joystick and tgi drivers cuz 2004-10-14 17:36:14 +00:00
  • 3c678ec2cc Added eeprom routines cuz 2004-10-14 17:31:23 +00:00
  • 20d1cb2054 New module eeprom.s cuz 2004-10-14 17:29:22 +00:00
  • 4964382c67 Added joystick and tgi driver by Karri Kaksonen cuz 2004-10-14 16:50:50 +00:00
  • d7c36aad43 Adjusted startup code for new linker config cuz 2004-10-14 16:50:13 +00:00