Commit Graph

15 Commits

Author SHA1 Message Date
Serge Vakulenko
1b15bcff49 Fixed bug in assembler: incorrect offset in LUI instruction. 2014-04-24 11:56:01 -07:00
Alexey Frunze
bc98f62608 Fix a benign typo 2014-04-22 02:57:42 -07:00
Alexey Frunze
fd04710c23 Fix initialization
In the following
typedef struct S0 { char ac[4]; } T1;
int v26 = (int)&((T1*)0)->ac[3];
int v27 = &((T1*)0)->ac[3];
v27 should be initialized to 3 just as v26.
2014-04-21 01:08:49 -07:00
Alexey Frunze
a0a4e242e6 Improve variable initialization in Smaller C
Improvements:
- support initialization of multidimensional arrays
- support initialization of structures
- support initialization of structures and arrays inside functions
- support static inside functions

Notes:
- Only fully-bracketed (sic) initialization of arrays is supported.
- && and || have been partially replaced with & and | to slightly reduce
code size when self compiling for DOS using -seg16.
2014-04-20 20:59:47 -07:00
Matt Jenkins
a7d0838ea8 Created global version variable 2014-04-20 20:24:18 +01:00
Matt Jenkins
b5a8255248 Changed %2 to %s in string format 2014-04-19 13:37:42 +01:00
Matt Jenkins
22c2f77d84 Added "create" flag to AR commands 2014-04-19 11:46:17 +01:00
Matt Jenkins
ad74c37318 Disabled verbose execution 2014-04-19 11:39:55 +01:00
Matt Jenkins
7205bb7ef2 Switched from mktemp to mkstemp 2014-04-19 11:36:18 +01:00
Sergey
d404fca13a Fixed bug in assembler: incorrect offset of far symbols in LUI instruction.
Added .gitignore files for most subdirs.
2014-04-18 01:12:49 -07:00
Matt Jenkins
4a83f1ab98 Merge branch 'master' of https://github.com/igor-m/retrobsd-1 2014-04-11 11:57:30 +01:00
igor-m
f3d7970ac1 Mods to ZMODEM, rz works a little bit smoother now 2014-04-11 11:55:28 +02:00
Alexey Frunze
75eebef473 Fix compilation warnings/errors in smux, tip, virus
Fix compilation warnings/errors primarily due to unused variables.
2014-04-11 01:26:45 -07:00
Matt Jenkins
0c86462977 Fixed for git repo compilation 2014-04-09 15:07:21 +01:00
Matt Jenkins
895f96d2f7 Initial Import from SVN 2014-04-09 14:27:18 +01:00