Commit graph

80 commits

Author SHA1 Message Date
norayr
42ecf2464c on line 605 of OPT.Mod typ := impCtxt.ref[-tag] read let's say, 19, i.
e. int64 typ, but because in procedure Close set to NIL everything upper
than FirstRef, which is 16, that's why obj.typ was not set in InStruct,
which caused crash later.
for now fixed by starting to NIL array from Comp + 1, not from FirstRef.
changing FirstRef causes crashes, which I did not investigate yet.

-- noch
2015-03-12 21:39:13 +04:00
Norayr Chilingarian
fb960f552f updated OPV Convert to support 64bit type. -- noch 2015-03-11 20:26:05 +04:00
Norayr Chilingarian
fe36147392 small addition in system functions 2015-03-11 19:05:45 +04:00
Norayr Chilingarian
a2e64ff15f fixed forceNewSym/Verbose mistake, working on new types relations. -- noch 2015-03-11 18:49:01 +04:00
Norayr Chilingarian
747943b008 introducing new integer types in SYSTEM module. -- noch. 2015-03-11 14:03:49 +04:00
Norayr Chilingarian
0aecdbd935 added newt example with buttons. updated newt wrapper. -- noch. 2015-03-11 02:13:06 +04:00
Norayr Chilingarian
712244b161 Revert "added SYSTEM.INT8, SYSTEM.INT16, SYSTEM.INT32, SYSTEM.INT64. tested only"
This reverts commit 38794808ac.
2015-03-10 19:32:11 +04:00
Norayr Chilingarian
b899460455 Revert "new system types tested on x86 and armv6, bootstrap binaries updated. --"
This reverts commit 5a6725d7da.
2015-03-10 19:31:57 +04:00
Norayr Chilingarian
5a6725d7da new system types tested on x86 and armv6, bootstrap binaries updated. --
noch
2015-02-27 19:46:36 +04:00
Norayr Chilingarian
38794808ac added SYSTEM.INT8, SYSTEM.INT16, SYSTEM.INT32, SYSTEM.INT64. tested only
on x86_64 yet. -- noch
2015-02-27 19:08:57 +04:00
Norayr Chilingarian
606c23d096 got rid of ecvt completely. reals.mod and texts test updated. -- noch 2015-02-18 16:51:40 +04:00
norayr
9f452e66b7 unix module now compiles under freebsd -- noch 2015-02-13 11:18:29 +00:00
Norayr Chilingarian
6ace15a0dc Files are architecture dependent, texts are not. cleaned this up. --
noch
2015-02-13 14:23:13 +04:00
Norayr Chilingarian
2bd826c965 got rid of ecvt outdated function. -- noch 2015-02-13 02:23:22 +04:00
Norayr Chilingarian
451bb287fe unufied makefiles 2015-02-10 18:06:41 +04:00
Norayr Chilingarian
59e489ea43 x86_86 gcc/clang low level modules update, types clarified. -- noch 2015-02-10 15:06:04 +04:00
Norayr Chilingarian
aaa2ee2288 finished removing unnecessary architecture files -- noch 2015-02-09 19:53:12 +04:00
norayr
cfad61c8f7 updated raspberry bootstrap image and makefile. 2015-01-31 22:06:56 +00:00
norayr
d68b3c2575 small changes in OPC and OPM, updated powerpc bootstrap binaries. -- noch 2015-02-02 21:14:50 +04:00
Norayr Chilingarian
8ef9e6fc88 makefile changed to forcibly generate symbol files under x86_64 gcc backend
bootstrap binary updated. need to update bootstrap binaries for other
platforms too in order to be able to change their makefiles.
2015-02-02 11:55:23 +04:00
Norayr Chilingarian
461148de7e added Oberon.Mod which can be used to read command line arguments by
reading Oberon.Par.text like in Oberon system.
2015-01-29 00:03:17 +04:00
Norayr Chilingarian
0d85205cfd fixed bug in Reals.Mod which was actual on x86_64
without prototype, return type of ecvt was int, which has 4 byte size on
x86 but still has the same size on x86_64, that's why pointer which is 8
byte long could not fit in the variable holding return value. And it
could get negative value causing programs to explode. Fixed with casting
the result to LONGINT.
2014-09-19 00:28:51 +04:00
Norayr Chilingarian
90a0dc3ae2 updated version.Mod and makefiles to reflect the new version. 2014-09-18 23:56:28 +04:00
Norayr Chilingarian
69defc9ce0 fix 2014-09-17 20:01:24 +04:00
Norayr Chilingarian
05b8d63835 no overflow in OPM anymore 2014-09-17 15:21:33 +04:00
root
04662f9e7d updated arm bootstrap binary 2014-09-15 19:00:59 +00:00
norayr chilingarian
1acddf0fb9 found problem in OPV.stat, not properly handled yet. needs investigation. 2014-09-14 22:53:24 +04:00
Norayr Chilingarian
c900218965 re re revised oberon compiler for RISC works -- noch 2014-09-14 06:09:09 +04:00
Norayr Chilingarian
bef25cd7a7 added crlf handling partly following discussion at
https://code.google.com/p/ofront/issues/detail?id=3

and by introducing corresponding changes in ShowLine and ShowLineErr
functions
in OPM module.
2014-09-11 15:46:09 +04:00
Norayr Chilingarian
0b2f1902ef added ReadByte wrapper for compatibility with latest NW Oberon system 2014-08-04 14:15:47 +04:00
Norayr Chilingarian
5f508b16bb fixed games with compatIn module 2014-05-30 10:19:32 +04:00
Norayr Chilingarian
74f47aa69c 0. fixed OPM.Mark bug, now when pos = -1 it shows error correctly.
1. added cool error message handling with showing "^" under the line
which points exactly where the error is.
2014-05-07 20:09:30 +04:00
Norayr Chilingarian
561137e16d main program msg is also green 2014-04-14 02:29:33 +04:00
Norayr Chilingarian
fc3af7e3af x86_64 and powerpc bootstrap binaries update 2014-04-14 02:23:52 +04:00
norayr
72b53f61f7 raspberry pi bootstrap binary 2014-04-14 02:20:31 +04:00
norayr
ca80f58e94 darwin bootstrap binary 2014-04-14 06:01:11 +08:00
norayr
175a480412 green output, powerpc binaries 2014-04-14 01:57:06 +04:00
norayr
f4d3bb13ff darwin bootstrap binary 2014-04-14 05:32:39 +08:00
Norayr Chilingarian
338c3f47e8 first colored messasges in OPM using vt100, 'f' option added to disable
it
2014-04-14 01:22:03 +04:00
norayr
fd34af424e powerpc clang bootstrap binary updated 2014-04-13 14:56:28 +04:00
norayr
c35e1e499e updated raspberry pi gcc bootstrap binary 2014-04-13 14:50:25 +04:00
norayr
6ba3d53693 updated powerpc bootstrap binary 2014-04-13 14:35:34 +04:00
norayr
018b64defc darwin bootstrap binary updated 2014-04-13 18:26:46 +08:00
Norayr Chilingarian
01664df2ee gnuc -> gcc, more abstraction in makefiles and extTools 2014-04-13 14:15:48 +04:00
Norayr Chilingarian
cd69786833 extTools.Mod, fix warnings like "argument unused during compilation:
'-L.'"
2014-04-13 13:17:00 +04:00
norayr
61ef35ff33 clang powerpc platform 2014-04-13 12:12:44 +04:00
root
7c1a5ebea3 raspberry pi bootstrap binary updated (; 2014-04-12 02:06:17 +04:00
Norayr Chilingarian
7f11185f6a vt100 and crt units, some changes in Unix.Mod 2014-04-11 21:41:49 +04:00
Norayr Chilingarian
f066c42eb9 silences clang warnings of type "place parentheses around the '&' expression". small fix in OPV to
make it
2014-04-10 17:51:05 +04:00
Norayr Chilingarian
b25a810007 added includes to not use internal write, read in Console and Unix 2014-04-10 17:02:55 +04:00