Commit Graph

  • 4f9f06c20a Fixed a bug cuz 2002-11-21 23:28:32 +00:00
  • fc714f33c2 Removed comment about a cast that is no longer necessary cuz 2002-11-21 21:29:15 +00:00
  • e41c0adbb2 New target c16 cuz 2002-11-21 21:22:26 +00:00
  • c80596458c Renamed NMI segment to LOWCODE cuz 2002-11-21 21:15:19 +00:00
  • f205950f54 Fixed a bug cuz 2002-11-21 21:10:10 +00:00
  • 42463beaee Rewrote code for better readability cuz 2002-11-21 20:46:16 +00:00
  • 0ba44bb2d4 Small but significant shift optimization cuz 2002-11-21 01:08:14 +00:00
  • 263b17605c Working on the auto build cuz 2002-11-20 21:16:14 +00:00
  • 257e1a32b9 Working on the auto build cuz 2002-11-20 21:00:29 +00:00
  • b56f8ebab5 Working on the auto build cuz 2002-11-20 20:55:14 +00:00
  • 5c864720ba Fixed bad date cuz 2002-11-20 20:47:49 +00:00
  • 30d7d9b7c3 Preparing auto build cuz 2002-11-20 20:40:20 +00:00
  • f65039f490 Add declaration of __errno cuz 2002-11-20 18:14:53 +00:00
  • cd552515fb Move more common code into rwcommon.s. Move declaration of __errno into errno.inc. cuz 2002-11-20 18:14:35 +00:00
  • cfbe5ec5b4 Commiting some old changes cuz 2002-11-20 17:04:29 +00:00
  • ead7de2b42 Ignore module.inc cuz 2002-11-20 17:03:14 +00:00
  • f98c3a0758 Use the POSIX file I/O functions instead of the high level C routines to save some overhead. Adapt to the new read conventions in modload. cuz 2002-11-20 14:22:26 +00:00
  • 9c7d2191aa New calling conventions for read cuz 2002-11-20 14:21:10 +00:00
  • e688abde1f Moved the zero page locations for the PET machines cuz 2002-11-20 01:34:56 +00:00
  • ae38242db9 Added kernal replacement routines cuz 2002-11-20 01:31:56 +00:00
  • 6d498d8187 Use external symbols for the CBM kernal jump table functions. This allows to emulate these functions on platforms where one or more of these functions are not available (PET, CBM-II). cuz 2002-11-19 23:02:47 +00:00
  • 3b081086f3 Fixed open flags for append mode cuz 2002-11-19 14:35:07 +00:00
  • b2a06ab041 Add support for append mode cuz 2002-11-19 14:27:06 +00:00
  • 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