f98c3a0758Use 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
9c7d2191aaNew calling conventions for read
cuz
2002-11-20 14:21:10 +00:00
e688abde1fMoved the zero page locations for the PET machines
cuz
2002-11-20 01:34:56 +00:00
6d498d8187Use 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
3b081086f3Fixed open flags for append mode
cuz
2002-11-19 14:35:07 +00:00
b2a06ab041Add support for append mode
cuz
2002-11-19 14:27:06 +00:00
ca905a8705Allow more chars in filenames
cuz
2002-11-18 19:37:02 +00:00
3a95ae002bFixed 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
ad1a4c370dDon't check the IEEE status
cuz
2002-11-18 18:22:26 +00:00
89dfca1eb5Use C file I/O
cuz
2002-11-18 18:21:21 +00:00
22047d8086Removed duplicate line
cuz
2002-11-18 17:37:49 +00:00
911d5c0703Store directly into zeropage
cuz
2002-11-18 17:37:13 +00:00
fd2b108cd0Set the file name bank to bank zero on startup to make our file routines work.
cuz
2002-11-18 11:16:18 +00:00
a68be3c601replaced reference to vlink utility with grc call with proper options
izydorst
2002-11-16 13:27:10 +00:00
a3c8336725Fix open flags, minor optimization
cuz
2002-11-15 23:52:39 +00:00
fc81b379d8cbm_write is not __fastcall__
cuz
2002-11-15 18:42:06 +00:00
ef9edbe357Rewrite cbm_write() in assembler
cuz
2002-11-15 18:21:32 +00:00
8ef3447248Fixed 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
b98a3bd537zap also deletes *.tgi files
cpg
2002-11-06 21:58:00 +00:00
786b3a7fe8Moved _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
511b3b45f2Add _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
abec29c613Make realloc a __fastcall__ function
cuz
2002-11-05 20:21:14 +00:00
163c421db0Renamed randomize to _randomize
cuz
2002-11-05 20:17:38 +00:00
839b425890Change initial seed to 1
cuz
2002-11-05 13:19:43 +00:00
3fae969b5bNew randomize() function for nearly all platforms
cuz
2002-11-05 10:48:20 +00:00
444aa7c944turn on cursor before returning to DOS
cpg
2002-11-05 00:35:16 +00:00
345bec94f1some fixes for last change
cpg
2002-11-04 23:30:19 +00:00
4cc56dacbdExtend description of %v inline assembler format specifier
cuz
2002-11-04 13:57:27 +00:00
e8afafce78improved handling of cursor display and position
cpg
2002-11-03 22:54:52 +00:00
dadd136ae1Use constants for datatype sizes
cuz
2002-11-02 12:39:10 +00:00
2275e4c2a8Moved 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
46e7fbd9e5Remove the casts, they are no longer needed
cuz
2002-11-01 21:27:59 +00:00
8810e38bb7Move 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
5548b6fd56Work on better type casts - not yet finished
cuz
2002-11-01 15:16:16 +00:00
571ea849d9Fixed a bug
cuz
2002-10-29 17:53:17 +00:00
9f8887fe6bNo support files in atmos dir
cuz
2002-10-28 23:35:13 +00:00
3ceb9e86deExpanded entry for Greg King
cuz
2002-10-25 20:54:44 +00:00
bd06bc2e73Added stdbool.h provided by Greg King
cuz
2002-10-25 20:53:22 +00:00
047ecd1955Division test program by Greg King
cuz
2002-10-25 20:48:35 +00:00
55baa52735Added the div function
cuz
2002-10-25 20:46:57 +00:00
1ee3ccfdc2Added new div() function written by Greg King
cuz
2002-10-25 20:42:18 +00:00
82684d98fbMinor optimization suggested by Greg King
cuz
2002-10-24 19:23:24 +00:00
89fe03a728Fixed 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
914b2a7e37New 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
4da19658c2Fixed 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