Commit Graph

  • 8d8da4394e Use new DOS compile make.bat from Keith cuz 2001-04-28 20:59:18 +00:00
  • 2f722e4779 Started to redo the backend cuz 2001-04-25 19:41:32 +00:00
  • 4fdd595007 New module strutil cuz 2001-04-25 13:50:35 +00:00
  • 9cb63b679c Renamed GetLabel to GetLocalLabel cuz 2001-04-19 06:49:08 +00:00
  • 71e40d42f5 Working on the ..scanf functions cuz 2001-04-19 06:46:30 +00:00
  • dccc89edae Squeezed a few cycles/bytes out of tolower and toupper. cuz 2001-04-19 06:46:01 +00:00
  • 72e27092d4 Fixed a bug. Function declarations where the type of the first parameter is a typedef and the name of the parameter is omitted where parse as old style (K&R) function declarations leading to errors. cuz 2001-04-06 09:07:48 +00:00
  • a6fa922b10 Added segment type zp cuz 2001-04-06 08:48:29 +00:00
  • 5627f27586 Renamed a file with more than 8 chars in its name cuz 2001-04-04 20:27:33 +00:00
  • 67aed641db Fixed an internal error on too few params in function call cuz 2001-04-04 20:20:48 +00:00
  • b8e26d3612 Repeat opts until there are no more changes cuz 2001-04-04 20:20:29 +00:00
  • cf61bd0b40 steaxspi.o was missing cuz 2001-04-02 20:24:24 +00:00
  • b2e0ed603e cbm_write() added changed/added some comments all cbm_* IO functions are using _oserror now mrintsch 2001-03-30 18:18:40 +00:00
  • 2d77e8b35f Make the last change more generic cuz 2001-03-27 22:57:20 +00:00
  • 8e5d8b9e4f Added optimization for g_inc and g_dec (remove handling of high byte if not used). cuz 2001-03-27 22:52:16 +00:00
  • e07945e9fc Changed an error message cuz 2001-03-26 22:05:05 +00:00
  • 2eab65ad24 Remove the hardcoded limit from the literal pool. cuz 2001-03-26 21:57:07 +00:00
  • 1ced0327ed Added xrealloc cuz 2001-03-26 21:46:37 +00:00
  • c3e37a287a Changed the implementation of g_leavariadic. Generate calls to the additional decax functions. cuz 2001-03-26 20:49:54 +00:00
  • c6c752ef8b Added mor specialized decax functions cuz 2001-03-26 20:47:12 +00:00
  • c3ec23aed0 Use one function exit point cuz 2001-03-26 20:07:05 +00:00
  • b0f3e85d44 Changed header cuz 2001-03-26 16:41:11 +00:00
  • 32535083e7 Correct wrong optimizer infos cuz 2001-03-26 16:40:40 +00:00
  • c2a88fd697 Removed an obsolete import cuz 2001-03-26 14:43:39 +00:00
  • 092c0a2620 Recode decsp8 cuz 2001-03-26 14:41:45 +00:00
  • b4da972eb7 Fixed a typo cuz 2001-03-26 14:26:27 +00:00
  • 2fead58243 Allow a more exact specification which growth factor is allowed when generating code and favouring speed over size. cuz 2001-03-24 23:33:38 +00:00
  • 4ab743143b Adjust several optimizer information pieces cuz 2001-03-24 16:28:18 +00:00
  • d1530bc0a2 Squeeze one cycle and several bytes out of the pushax routine. cuz 2001-03-24 16:25:08 +00:00
  • 1e1199cb2b Rewrite the decsp and subysp functions now since they are used more often. cuz 2001-03-24 16:15:01 +00:00
  • eec01763c4 Remove unused imports cuz 2001-03-24 16:00:48 +00:00
  • e93f1574f4 Use decsp instead of subysp cuz 2001-03-24 15:59:54 +00:00
  • 0bac28d96f decspX will no longer save a cuz 2001-03-24 15:57:32 +00:00
  • c18453ebcb Inline parameter frame building cuz 2001-03-24 13:00:16 +00:00
  • 59bcc726b6 Make AddConstSym from AddEnumSym cuz 2001-03-23 21:27:48 +00:00
  • 4a6f7cadd0 Added Greg King cuz 2001-03-23 20:34:17 +00:00
  • 57d2199bb3 Ignore some auto generated files cuz 2001-03-23 20:20:23 +00:00
  • 93433f4023 Add section about cost of accessing params in a variadic function cuz 2001-03-23 20:19:22 +00:00
  • 300acc8175 Remove comment about stdarg.h being non standard cuz 2001-03-23 20:19:02 +00:00
  • e7b80c4e8d va_start has also changed since the address of a fixed parameter is now calculated by the compiler. cuz 2001-03-23 20:07:42 +00:00
  • b5914306cd Remove va_fix cuz 2001-03-23 19:21:27 +00:00
  • 7e6005c999 The va_fix macro is no longer needed cuz 2001-03-23 19:19:02 +00:00
  • 544705e6f4 * Added several type casts to increase C++ compatibility. * __fixargs__ is now an actual function symbol and no longer handled in the scanner. * Additional symbol __argsize__ that is a constant in normal functions and a const local variable for variadic functions. Using this symbol, the va_arg macro gets a lot simpler and smaller. * Added special code to handle the fixed parameters of a variadic function. The code has some overhead, but the va_fix macro is no longer needed (and the compiler generated code is better than va_fix anyway). cuz 2001-03-23 19:17:04 +00:00
  • 59db8bdf1f Increased h/w stack safety zone to 12 bytes cuz 2001-03-23 19:08:07 +00:00
  • 080500d0a0 Type change cuz 2001-03-23 17:59:23 +00:00
  • 45cf0c2dd9 Changed TgtTranslateBuf cuz 2001-03-23 17:56:28 +00:00
  • 1bc86c9c78 Last checkin was a cr/lf converted version:-( cuz 2001-03-23 10:30:02 +00:00
  • 5b68ec1591 Use the new __argsize__ pseudo variable cuz 2001-03-23 10:28:11 +00:00
  • 594a941ee9 Make __fixargs__ an actual symbol table entry. Add a new pseudo variable __argsize__. cuz 2001-03-23 10:16:50 +00:00
  • 4357bb4760 Allow __fastcall__ for C function. Contrary to the name, this is a size optimization for C functions. The last parameter is not pushed onto the stack by the caller but in the function entry code, so there is no speed but a size gain. cuz 2001-03-22 21:02:01 +00:00
  • 00706daa49 Fix a compiler crash that happens after a function definition with two or more identical parameter names. The input is of course wrong, but the compiler shouldn't crash. cuz 2001-03-22 20:54:52 +00:00
  • 787ca6a9dd completed and testet cbm_read() mrintsch 2001-03-21 20:59:27 +00:00
  • 9528c379c1 Added code to check the 6502 stack cuz 2001-03-20 22:34:08 +00:00
  • fb76e97575 Added comments to cbm.h. load/save returns oserror code. Added open/close and read (which is not tested yet). mrintsch 2001-03-20 21:06:04 +00:00
  • 83f8ce6f39 Describe new --check-stack option and related #pragma. Added missing descriptions for the options to set the segment names from the command line. cuz 2001-03-20 10:24:54 +00:00
  • 9bf849151d Describe changed .incbin command cuz 2001-03-20 10:24:05 +00:00
  • 6f604239c7 Help text alignment was wrong cuz 2001-03-20 10:18:56 +00:00
  • 857a362e78 Partially fixed a bug with the long addressing modes that was introduced with a change in the scanner and went undetected since then. Use of symbols as lower part of the address does still not work. cuz 2001-03-19 23:02:38 +00:00
  • 3e5ed62469 Added new option and pragma to generate calls to a stack checking routine cuz 2001-03-19 23:01:35 +00:00
  • 01ffedd363 Removed the old stack checking routine cuz 2001-03-19 23:00:45 +00:00
  • 4c8f35ea97 Fixed a typo cuz 2001-03-19 23:00:19 +00:00
  • dce87b81db Ignore intermediate files cuz 2001-03-19 22:59:38 +00:00
  • 1df22c6452 Added a stack checking routine cuz 2001-03-19 22:26:47 +00:00
  • b86a6b9749 Some more debuginfo implementation cuz 2001-03-18 17:55:36 +00:00
  • 16fded6d0c Loading and saving memory areas on cbm platforms mrintsch 2001-03-13 22:48:19 +00:00
  • 7c4bcbd569 scanf modules (currently not working) cuz 2001-03-13 07:59:17 +00:00
  • 1411097746 Remove bash pecularities. cuz 2001-03-13 07:56:56 +00:00
  • d57f57db55 Add new symbol __STACKSIZE__ to all linker configurations. cuz 2001-03-10 14:24:58 +00:00
  • e32d5a4a4b Use the linker define stacksize instead of a variable. cuz 2001-03-10 14:19:21 +00:00
  • 1923199dad Allow to define symbols in the linker config cuz 2001-03-10 14:10:38 +00:00
  • 1eff067ff9 Moved verbose output to a shared module in the common/ directory. cuz 2001-03-10 10:21:03 +00:00
  • d10079ccdc Added module for program output. cuz 2001-03-10 10:04:42 +00:00
  • 27a55ba085 Added optional start and count arguments to .INCBIN cuz 2001-03-09 23:12:34 +00:00
  • 697abf3ed7 Added command line response files cuz 2001-03-09 21:59:23 +00:00
  • 18b9977039 Removed the read module from the Makefile cuz 2001-03-08 15:18:38 +00:00
  • bed304dafe Added the 2.6.1 spec cuz 2001-03-08 15:16:53 +00:00
  • 1bcad88c3a Define symbols for the RAM area cuz 2001-03-08 14:49:31 +00:00
  • 22b55ae7fe Don't hardcode the stack location cuz 2001-03-08 14:48:00 +00:00
  • a4b921ca7e Fixed email address cuz 2001-03-03 12:04:01 +00:00
  • 724262fb90 Fixed a bug with different load/run areas, where a segment was marked as dumped if the run area preceeded the load area, so it was not output into the file for the load area (and not for the run area either). cuz 2001-03-03 12:01:46 +00:00
  • 083f0aee44 Fixed errors in the incaxn functions cuz 2001-02-21 08:39:25 +00:00
  • 2610a3df10 added more error codes (from http://www.atari-central.com/programming/cio_errors.txt) cpg 2001-02-07 23:27:54 +00:00
  • 2e48ce195d Remove trailing underlines from struct names cuz 2001-01-10 19:10:05 +00:00
  • 46a2a610e1 Use IsQuote instead of IsQuoteChar cuz 2001-01-05 19:26:25 +00:00
  • 9c02fb3ec0 Minor updates cuz 2001-01-05 19:25:24 +00:00
  • 8add1ad057 Use chartype.h instead of ctype.h cuz 2001-01-05 19:24:47 +00:00
  • 37da7dff98 Add a new chartype module for character classification. Use the new function IsDigit in target.c. cuz 2001-01-05 19:06:20 +00:00
  • 608f27b274 Added OS/2 compile instructions cuz 2001-01-05 17:21:59 +00:00
  • 1bb9d0fa70 Changed the makefiles to work under OS/2 using EMX (Changes from Mirco Miranda). cuz 2001-01-05 16:59:41 +00:00
  • 1ecd742496 Added Mirco Miranda cuz 2001-01-05 16:58:51 +00:00
  • 77ec52a06d OS/2 EMX fix cuz 2001-01-03 20:49:07 +00:00
  • 51e5a7cf84 Fixed several dangling pointer bugs in 65C0 2optimizations cuz 2000-12-24 14:37:18 +00:00
  • 45de0a49ec Replaced several // style comments cuz 2000-12-20 17:44:12 +00:00
  • 764c7edfba added some more atari special char ATxxx defines cpg 2000-12-11 21:06:09 +00:00
  • 3b472c7b91 Cosmetic changes cuz 2000-12-10 10:40:28 +00:00
  • 579b48c522 Watcom fixes cuz 2000-12-10 10:38:42 +00:00
  • 99052e546d Fixed a problem with the Watcom compiler cuz 2000-12-10 10:36:44 +00:00
  • fb9da60180 adapted constructor function names to initxxx convention cpg 2000-12-09 22:31:07 +00:00
  • 4d34ce83d7 Remove unused flags cuz 2000-12-09 21:09:52 +00:00
  • 69bf323736 Add linker config files cuz 2000-12-09 16:43:25 +00:00