5b0ad76cd9Recoded the last change
cuz
2005-01-14 18:52:30 +00:00
8cd583d591Fixed a bug (Report from Greg King)
cuz
2005-01-14 18:40:33 +00:00
bd2185c57bImproved mainargs code from Stefan Haubenthal
cuz
2005-01-11 07:02:43 +00:00
d63dc84262Improve doc for .struct/.union
cuz
2005-01-11 06:51:24 +00:00
e06d9d0d84Fixed 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
6a1ff58499Don'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
9a6a7bdd24Test file for illegal 6502 opcodes
cuz
2005-01-09 19:07:45 +00:00
5c1bc2d740Output warnings for implicit int types if std >= C99.
cuz
2005-01-09 18:03:55 +00:00
9cd0b7705cFixed 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
a456e503e4More 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
8559581d9fFixed 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
e128341854Replace obsolete "wprot" segment type by "ro".
cuz
2005-01-08 21:08:04 +00:00
696f664050Describe the new asminc feature
cuz
2005-01-08 20:33:27 +00:00
83147e5fceNew 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
1596692501Describe new align_load attribute
cuz
2005-01-08 13:52:07 +00:00
7774e57eaeNew segment attribute ALIGN_LOAD. Some cleanup.
cuz
2005-01-08 13:44:11 +00:00
18e3e7cb11Added a comment
cuz
2005-01-05 21:05:35 +00:00
842ff39d4cNew used block structure for the heap
cuz
2005-01-05 21:05:11 +00:00
802f259b37Fixed an identifier (cosmetic change)
cuz
2005-01-05 21:04:35 +00:00
2342052bc3Slice blocks even if the remainder is just sizeof(freeblock) bytes in size.
cuz
2005-01-05 20:06:13 +00:00
d8fa43d7a6Save a few bytes
cuz
2005-01-05 20:05:27 +00:00
fd9226fe4aSmall changes by Oliver Schmidt
cuz
2004-12-21 16:25:29 +00:00
71650c64e4Added Oliver Schmidt
cuz
2004-12-21 16:01:21 +00:00
10431b1067Added an exit handler - code from Oliver Schmidt
cuz
2004-12-21 15:56:48 +00:00
e55a4bcfd4Changed the way, used blocks are managed
cuz
2004-12-19 23:09:38 +00:00
49d1a47269Several improvements and a few bug fixes
cuz
2004-12-19 22:15:43 +00:00
218e722b91Fixes 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
ad8a481a9efix tmp3 return value if DEFAULT_DEVICE is enabled
cpg
2004-12-17 14:33:32 +00:00
47054d90d3rename defdev to __defdev and export it; add support for DEFAULT_DEVICE and DYNAMIC_DD
cpg
2004-12-16 22:46:28 +00:00
ae70828938Some improvements using the new SB_Printf for string buffers
cuz
2004-12-16 22:43:52 +00:00
1727d49c8dDYNAMIC_DD support
cpg
2004-12-16 22:43:47 +00:00
d27b06ecd2use DEFAULT_DEVICE definition for the default drive
cpg
2004-12-16 22:19:46 +00:00
0ce95ffe6aFixed another bug
cuz
2004-12-16 20:26:46 +00:00
5b851fb621Fixed several bugs
cuz
2004-12-16 20:07:49 +00:00
e43766ea93Added 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
569f57bc1bFixed 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
5ecda9d204va_copy is only available from C99 and up
cuz
2004-12-11 14:59:05 +00:00
95f66b8ca9Disable interrupts while modifying the signal table
cuz
2004-12-10 11:50:54 +00:00
fb4613f4eaRemoved a comment about the scanf functions
cuz
2004-11-26 22:41:01 +00:00
b1d4e1613bRewrote _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
e35b91ed3bFixed a bug
cuz
2004-11-25 13:18:20 +00:00
38f27c1c16Add the lynx
cuz
2004-11-25 11:57:03 +00:00
cae4f9b1e8SIZEP2 was misnamed (SIZEF2) - noticed by Fatih Aygün
cpg
2004-11-23 21:45:25 +00:00
6db6a58225fix CH_VLINE definition (noticed by Fatih Aygün)
cpg
2004-11-23 21:43:53 +00:00
d46b1a395bFixed a bug in code generation for left shifts
cuz
2004-11-23 10:04:34 +00:00
14e40851e9New kbhit and cgetc functions from Karri
cuz
2004-11-13 10:34:06 +00:00
4db225ae4aProfreading by Stefan Haubenthal
cuz
2004-11-09 20:09:16 +00:00
71669b5ae3Make _mouse_geterrormsg public
cuz
2004-11-07 13:00:29 +00:00
4e81c529d9Update 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
cbacbb5222Add constant for number of error codes
cuz
2004-11-07 12:42:30 +00:00
9037886381New function mouse_geterrormsg()
cuz
2004-11-07 12:41:18 +00:00
f9abc154beAutodetect the location of the compiler and tools.
cuz
2004-11-07 11:33:30 +00:00
a939b2b7e9Added the IRQ entry
cuz
2004-11-07 11:33:08 +00:00
6ab41edc72Removed 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
b1afca6bb3Use a structure for the TGI header as with other drivers.
cuz
2004-11-07 11:30:45 +00:00
8b0c3d3425Use 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
f044f9d6b5Added the irq vector
cuz
2004-11-07 10:45:24 +00:00
84be744418Moved 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
dc781be7f9Add the irq entry point
cuz
2004-11-06 13:27:38 +00:00
16c81eb942Add the irq entry point
cuz
2004-11-06 13:12:57 +00:00
59d2e4e1f4Make _joy_masks global
cuz
2004-11-06 13:09:17 +00:00
5aee1c5397Export the interrupt entry point
cuz
2004-11-06 13:09:01 +00:00
116ade035cAdded the IRQ entry point
cuz
2004-11-06 13:05:26 +00:00
0ad0a2e138Added IRQ entry point, bumped the version number
cuz
2004-11-06 13:01:15 +00:00
ff36915c79Added IRQ entry point
cuz
2004-11-06 13:00:17 +00:00
ea75fef1bfDisable the IRQ before calling mouse_uninstall
cuz
2004-11-06 12:58:43 +00:00
f9c8634346Set view and draw pages
cuz
2004-11-03 18:33:23 +00:00
ec3dc8f73dNew submakefile use
cuz
2004-10-26 21:21:06 +00:00
9ecc9c044fThe NES does now have a joystick driver
cuz
2004-10-26 21:04:38 +00:00