Commit Graph

  • ca905a8705 Allow more chars in filenames cuz 2002-11-18 19:37:02 +00:00
  • 3a95ae002b Fixed a bug: Because of a wrong label position the code that cleared the BSS was skipped. cuz 2002-11-18 18:54:36 +00:00
  • ad1a4c370d Don't check the IEEE status cuz 2002-11-18 18:22:26 +00:00
  • 89dfca1eb5 Use C file I/O cuz 2002-11-18 18:21:21 +00:00
  • 22047d8086 Removed duplicate line cuz 2002-11-18 17:37:49 +00:00
  • 911d5c0703 Store directly into zeropage cuz 2002-11-18 17:37:13 +00:00
  • fd2b108cd0 Set the file name bank to bank zero on startup to make our file routines work. cuz 2002-11-18 11:16:18 +00:00
  • 1075d1e193 New module fileio-test.c cuz 2002-11-17 23:00:14 +00:00
  • 544ff5b900 Working on the CBM file functions cuz 2002-11-17 22:45:55 +00:00
  • 43d5800702 Added posixio-test.c cuz 2002-11-17 22:44:55 +00:00
  • 751aaee63d Finally: Commodore file I/O cuz 2002-11-16 23:45:15 +00:00
  • 9e74c2b26f Make close() fastcall cuz 2002-11-16 19:38:37 +00:00
  • 70bc177714 Renamed fmode.inc -> fcntl.inc cuz 2002-11-16 16:35:47 +00:00
  • be10b3374c Moved fmode.inc -> fcntl.inc, add new constants cuz 2002-11-16 16:35:15 +00:00
  • a68be3c601 replaced reference to vlink utility with grc call with proper options izydorst 2002-11-16 13:27:10 +00:00
  • a3c8336725 Fix open flags, minor optimization cuz 2002-11-15 23:52:39 +00:00
  • fc81b379d8 cbm_write is not __fastcall__ cuz 2002-11-15 18:42:06 +00:00
  • ef9edbe357 Rewrite cbm_write() in assembler cuz 2002-11-15 18:21:32 +00:00
  • 8ef3447248 Fixed an error in struct compare. For one, the behaviour was not standard compliant, because struct tags were not compare, second, this lead to an endless loop of recursive calls for a special case of wrong C code. cuz 2002-11-15 13:19:46 +00:00
  • ca1386e9d4 Removed unused code cuz 2002-11-14 22:52:29 +00:00
  • b1cc64faaa Fixed a bug cuz 2002-11-14 22:52:10 +00:00
  • 57d6c2f51e New function ReplaceType cuz 2002-11-14 22:51:59 +00:00
  • c6abc5d9d4 Make small functions inline cuz 2002-11-14 22:51:39 +00:00
  • cb389a50a1 added cursor.c and seek.c cpg 2002-11-13 18:59:12 +00:00
  • 1407208c4c Fixed %W/%U cuz 2002-11-13 18:08:36 +00:00
  • fccf00aa14 Extended the test cuz 2002-11-13 13:36:28 +00:00
  • 521f30c011 Call strftime instead of formatting the time manually cuz 2002-11-13 13:28:45 +00:00
  • 3ed8d565d4 Fixed a bug cuz 2002-11-13 13:26:05 +00:00
  • 1455555c57 Fixed precision bug in printf family cuz 2002-11-13 13:17:28 +00:00
  • 5dba474030 Added strftime cuz 2002-11-13 13:08:46 +00:00
  • e7db3d83ea Cosmetic changes cuz 2002-11-13 08:56:45 +00:00
  • 704ce5ae22 Added _systime for all platforms cuz 2002-11-12 22:49:38 +00:00
  • de7bb15dee Call _systime instead of always returning -1 cuz 2002-11-12 22:36:02 +00:00
  • 2cd37d74e4 Added _systime cuz 2002-11-12 22:35:40 +00:00
  • 43d8ecd567 Added lots of functions from time.h cuz 2002-11-12 22:06:02 +00:00
  • cae19c1a8a More time functions cuz 2002-11-12 22:01:32 +00:00
  • 730a75cce5 New module time-test.c cuz 2002-11-12 22:01:17 +00:00
  • 35aaf34e20 Add the time() function cuz 2002-11-12 19:54:30 +00:00
  • f95340fc44 Make exit a fastcall function cuz 2002-11-11 23:24:17 +00:00
  • 5a3e29bacd Document some more functions cuz 2002-11-11 23:23:49 +00:00
  • bafba1d673 Handle arguments outside char range correctly cuz 2002-11-11 11:58:20 +00:00
  • c9fb9cb7b4 more info about GetRandom vs. rand izydorst 2002-11-10 15:52:26 +00:00
  • c8597283ef added _randomize() implementation izydorst 2002-11-10 15:48:57 +00:00
  • d1754b7457 Removed GEOS rand.s implementation in favor of random number generator from common library. izydorst 2002-11-10 15:35:10 +00:00
  • c7f9321ff8 Started a function reference cuz 2002-11-07 19:10:34 +00:00
  • 2f3f1df00f New _randomize() function, do some cleanup on apple2.inc cuz 2002-11-07 12:16:15 +00:00
  • f708a05d61 use always a sector size of 128 for sectors 1 to 3, ignore sst_sectsize cpg 2002-11-06 23:02:48 +00:00
  • 82696446fc added randomize cpg 2002-11-06 22:21:15 +00:00
  • b98a3bd537 zap also deletes *.tgi files cpg 2002-11-06 21:58:00 +00:00
  • 786b3a7fe8 Moved _vic.h to _vic2.h. Renamed __vic to __vic2. Added a new file _vic.h for the VIC (1) used in the VIC20. Added the VIC chip to vic20.h. cuz 2002-11-05 20:33:50 +00:00
  • 511b3b45f2 Add _randomize. Make realloc __fastcall__. Make identifiers with a leading underscore visible even if __STRICT_ANSI__ is defined, since those don't pollute the application namespace. cuz 2002-11-05 20:23:06 +00:00
  • abec29c613 Make realloc a __fastcall__ function cuz 2002-11-05 20:21:14 +00:00
  • 163c421db0 Renamed randomize to _randomize cuz 2002-11-05 20:17:38 +00:00
  • 839b425890 Change initial seed to 1 cuz 2002-11-05 13:19:43 +00:00
  • 3fae969b5b New randomize() function for nearly all platforms cuz 2002-11-05 10:48:20 +00:00
  • 444aa7c944 turn on cursor before returning to DOS cpg 2002-11-05 00:35:16 +00:00
  • 345bec94f1 some fixes for last change cpg 2002-11-04 23:30:19 +00:00
  • 4cc56dacbd Extend description of %v inline assembler format specifier cuz 2002-11-04 13:57:27 +00:00
  • e8afafce78 improved handling of cursor display and position cpg 2002-11-03 22:54:52 +00:00
  • b304f04cc0 initial check-in cpg 2002-11-03 22:52:39 +00:00
  • 6078dea817 honour cursor setting cpg 2002-11-03 22:10:55 +00:00
  • dadd136ae1 Use constants for datatype sizes cuz 2002-11-02 12:39:10 +00:00
  • 2275e4c2a8 Moved divt.s from runtime into common because it's a C library function, not a runtime support function. cuz 2002-11-02 10:52:36 +00:00
  • 46e7fbd9e5 Remove the casts, they are no longer needed cuz 2002-11-01 21:27:59 +00:00
  • 8810e38bb7 Move the assignment parser into a separate module. When assigning structures, copy them using the primary register when the size is 1, 2, or 4. When assigning structures, allow structures by value when the size is 1, 2, or 4. These structures are expected to be in the primary register. The only case when this can happen is by return from function, so this change makes div() work. cuz 2002-11-01 21:27:31 +00:00
  • 5548b6fd56 Work on better type casts - not yet finished cuz 2002-11-01 15:16:16 +00:00
  • 571ea849d9 Fixed a bug cuz 2002-10-29 17:53:17 +00:00
  • 9f8887fe6b No support files in atmos dir cuz 2002-10-28 23:35:13 +00:00
  • 3ceb9e86de Expanded entry for Greg King cuz 2002-10-25 20:54:44 +00:00
  • bd06bc2e73 Added stdbool.h provided by Greg King cuz 2002-10-25 20:53:22 +00:00
  • 047ecd1955 Division test program by Greg King cuz 2002-10-25 20:48:35 +00:00
  • 55baa52735 Added the div function cuz 2002-10-25 20:46:57 +00:00
  • 1ee3ccfdc2 Added new div() function written by Greg King cuz 2002-10-25 20:42:18 +00:00
  • 82684d98fb Minor optimization suggested by Greg King cuz 2002-10-24 19:23:24 +00:00
  • 89fe03a728 Fixed a problem with perror: The error code may get overwritten before it can be output. Report from Greg King. cuz 2002-10-18 13:38:23 +00:00
  • 914b2a7e37 New store optimization. New functions RegValIsKnown and RegValIsUnknown should be used instead of direct compares against zero, so we can change the "unknown" representation one day. cuz 2002-10-17 21:37:01 +00:00
  • 4da19658c2 Fixed error "variable has unknown size" for a local array where the size was not given (introduced by last change). cuz 2002-10-17 21:14:40 +00:00
  • 49fd7134e5 Fixed a buffer overflow (report from Christian Groessler). cuz 2002-10-14 16:23:26 +00:00
  • 277e5ff77d Fixed some bad looking stuff cuz 2002-10-10 21:51:14 +00:00
  • e02d973316 List of short options were missing cuz 2002-10-10 21:47:43 +00:00
  • c4d44dc55a Remove statement about initialization of locals cuz 2002-10-10 21:45:44 +00:00
  • c3661446ee Document the new #pragma syntax. Add comment about not using the asm names of global symbols in inline assembler statements. cuz 2002-10-10 21:44:19 +00:00
  • ab4a9eb5db Remove paragraph about initializaton of locals cuz 2002-10-10 21:16:08 +00:00
  • 83fb2c8ab4 Allow initialization of local variables of compound type cuz 2002-10-10 21:15:24 +00:00
  • dcdaf8fd49 Restructured DeclareLocals() cuz 2002-10-10 20:24:16 +00:00
  • 872c2b4453 Made a lot of short functions inline cuz 2002-10-10 20:23:41 +00:00
  • 2e5fa9575c Add info about more functions cuz 2002-10-09 19:39:45 +00:00
  • 13642fc6c4 Fixed a bug cuz 2002-10-09 19:39:36 +00:00
  • e68b8160ed Added more size optimizations, separate module cuz 2002-10-08 20:56:00 +00:00
  • 9ca21c07e0 Output an error if an invalid address is used cuz 2002-10-06 20:58:22 +00:00
  • 3c31d063f7 New optimizer pass OptShift3. Renamed CE_IsCall to CE_IsCallTo. cuz 2002-10-06 20:54:01 +00:00
  • a0496ca53d Fixed an omission in AdjustStackOffset. Use CS_IsBasicBlock in OptStackOps. cuz 2002-10-06 19:03:12 +00:00
  • 9a62c92489 Improved implementation of OptPushPop cuz 2002-10-06 19:01:46 +00:00
  • 1647c6783f New functions CS_ResetMarks, CS_ResetAllMarks and CS_IsBasicBlock. cuz 2002-10-06 19:01:16 +00:00
  • 62b3576f5f Use other representations for SCHAR_MIN, SHORT_MIN, INT_MIN and LONG_MIN. Among other things that avoids the compiler warning "constant is long" when using INT_MIN. cuz 2002-10-06 18:59:08 +00:00
  • b0559a4b19 Fixed a string in the help screen cuz 2002-10-06 12:03:24 +00:00
  • 6047165325 Fixed problem with earlier change cuz 2002-10-05 22:55:42 +00:00
  • e9da20f961 Fix codesize setting cuz 2002-10-05 22:37:36 +00:00
  • 7ce4196829 New/changed optimizations cuz 2002-10-05 20:32:31 +00:00
  • 3f1eba36f3 Remove the swapeax routine, it is obsolete cuz 2002-10-05 17:59:42 +00:00