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
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
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
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