Commit graph

80 commits

Author SHA1 Message Date
norayr
d0cfd06289 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


Former-commit-id: 42ecf2464c
2015-03-12 21:39:13 +04:00
Norayr Chilingarian
5c9ef62469 updated OPV Convert to support 64bit type. -- noch
Former-commit-id: fb960f552f
2015-03-11 20:26:05 +04:00
Norayr Chilingarian
d76a806cbb small addition in system functions
Former-commit-id: fe36147392
2015-03-11 19:05:45 +04:00
Norayr Chilingarian
cb9cf67876 fixed forceNewSym/Verbose mistake, working on new types relations. -- noch
Former-commit-id: a2e64ff15f
2015-03-11 18:49:01 +04:00
Norayr Chilingarian
9d6a71eb59 introducing new integer types in SYSTEM module. -- noch.
Former-commit-id: 747943b008
2015-03-11 14:03:49 +04:00
Norayr Chilingarian
7de984b46a added newt example with buttons. updated newt wrapper. -- noch.
Former-commit-id: 0aecdbd935
2015-03-11 02:13:06 +04:00
Norayr Chilingarian
ae02654300 Revert "added SYSTEM.INT8, SYSTEM.INT16, SYSTEM.INT32, SYSTEM.INT64. tested only"
This reverts commit 060ec5134d [formerly 38794808ac].


Former-commit-id: 712244b161
2015-03-10 19:32:11 +04:00
Norayr Chilingarian
cfe72ae364 Revert "new system types tested on x86 and armv6, bootstrap binaries updated. --"
This reverts commit ec6f3220cd [formerly 5a6725d7da].


Former-commit-id: b899460455
2015-03-10 19:31:57 +04:00
Norayr Chilingarian
ec6f3220cd new system types tested on x86 and armv6, bootstrap binaries updated. --
noch


Former-commit-id: 5a6725d7da
2015-02-27 19:46:36 +04:00
Norayr Chilingarian
060ec5134d added SYSTEM.INT8, SYSTEM.INT16, SYSTEM.INT32, SYSTEM.INT64. tested only
on x86_64 yet. -- noch


Former-commit-id: 38794808ac
2015-02-27 19:08:57 +04:00
Norayr Chilingarian
f2e15511a0 got rid of ecvt completely. reals.mod and texts test updated. -- noch
Former-commit-id: 606c23d096
2015-02-18 16:51:40 +04:00
norayr
e35950b8b8 unix module now compiles under freebsd -- noch
Former-commit-id: 9f452e66b7
2015-02-13 11:18:29 +00:00
Norayr Chilingarian
d57c8991bf Files are architecture dependent, texts are not. cleaned this up. --
noch


Former-commit-id: 6ace15a0dc
2015-02-13 14:23:13 +04:00
Norayr Chilingarian
d3f196d215 got rid of ecvt outdated function. -- noch
Former-commit-id: 2bd826c965
2015-02-13 02:23:22 +04:00
Norayr Chilingarian
afcd1f5b86 unufied makefiles
Former-commit-id: 451bb287fe
2015-02-10 18:06:41 +04:00
Norayr Chilingarian
d29b4a0427 x86_86 gcc/clang low level modules update, types clarified. -- noch
Former-commit-id: 59e489ea43
2015-02-10 15:06:04 +04:00
Norayr Chilingarian
5a2aceb681 finished removing unnecessary architecture files -- noch
Former-commit-id: aaa2ee2288
2015-02-09 19:53:12 +04:00
norayr
9160758c60 updated raspberry bootstrap image and makefile.
Former-commit-id: cfad61c8f7
2015-01-31 22:06:56 +00:00
norayr
6d86e29db5 small changes in OPC and OPM, updated powerpc bootstrap binaries. -- noch
Former-commit-id: d68b3c2575
2015-02-02 21:14:50 +04:00
Norayr Chilingarian
c3e0b3a9cb 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.


Former-commit-id: 8ef9e6fc88
2015-02-02 11:55:23 +04:00
Norayr Chilingarian
20e9470c1f added Oberon.Mod which can be used to read command line arguments by
reading Oberon.Par.text like in Oberon system.


Former-commit-id: 461148de7e
2015-01-29 00:03:17 +04:00
Norayr Chilingarian
ca407472a0 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.


Former-commit-id: 0d85205cfd
2014-09-19 00:28:51 +04:00
Norayr Chilingarian
4a77f04720 updated version.Mod and makefiles to reflect the new version.
Former-commit-id: 90a0dc3ae2
2014-09-18 23:56:28 +04:00
Norayr Chilingarian
f77625f434 fix
Former-commit-id: 69defc9ce0
2014-09-17 20:01:24 +04:00
Norayr Chilingarian
4a32c7d5c1 no overflow in OPM anymore
Former-commit-id: 05b8d63835
2014-09-17 15:21:33 +04:00
root
4210848dfd updated arm bootstrap binary
Former-commit-id: 04662f9e7d
2014-09-15 19:00:59 +00:00
norayr chilingarian
97860bae19 found problem in OPV.stat, not properly handled yet. needs investigation.
Former-commit-id: 1acddf0fb9
2014-09-14 22:53:24 +04:00
Norayr Chilingarian
7cf90615c8 re re revised oberon compiler for RISC works -- noch
Former-commit-id: c900218965
2014-09-14 06:09:09 +04:00
Norayr Chilingarian
7666ed94ae 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.


Former-commit-id: bef25cd7a7
2014-09-11 15:46:09 +04:00
Norayr Chilingarian
7a1dd40a64 added ReadByte wrapper for compatibility with latest NW Oberon system
Former-commit-id: 0b2f1902ef
2014-08-04 14:15:47 +04:00
Norayr Chilingarian
011aedbab1 fixed games with compatIn module
Former-commit-id: 5f508b16bb
2014-05-30 10:19:32 +04:00
Norayr Chilingarian
c3af38cdfc 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.


Former-commit-id: 74f47aa69c
2014-05-07 20:09:30 +04:00
Norayr Chilingarian
cf29c4721b main program msg is also green
Former-commit-id: 561137e16d
2014-04-14 02:29:33 +04:00
Norayr Chilingarian
5e1da388fa x86_64 and powerpc bootstrap binaries update
Former-commit-id: fc3af7e3af
2014-04-14 02:23:52 +04:00
norayr
6a948de787 raspberry pi bootstrap binary
Former-commit-id: 72b53f61f7
2014-04-14 02:20:31 +04:00
norayr
2fcad9db3b darwin bootstrap binary
Former-commit-id: ca80f58e94
2014-04-14 06:01:11 +08:00
norayr
72e3679b72 green output, powerpc binaries
Former-commit-id: 175a480412
2014-04-14 01:57:06 +04:00
norayr
580db0d788 darwin bootstrap binary
Former-commit-id: f4d3bb13ff
2014-04-14 05:32:39 +08:00
Norayr Chilingarian
485e27a287 first colored messasges in OPM using vt100, 'f' option added to disable
it


Former-commit-id: 338c3f47e8
2014-04-14 01:22:03 +04:00
norayr
88215c3480 powerpc clang bootstrap binary updated
Former-commit-id: fd34af424e
2014-04-13 14:56:28 +04:00
norayr
74a5748f76 updated raspberry pi gcc bootstrap binary
Former-commit-id: c35e1e499e
2014-04-13 14:50:25 +04:00
norayr
77ba22e109 updated powerpc bootstrap binary
Former-commit-id: 6ba3d53693
2014-04-13 14:35:34 +04:00
norayr
6563e223cf darwin bootstrap binary updated
Former-commit-id: 018b64defc
2014-04-13 18:26:46 +08:00
Norayr Chilingarian
b9bc8f2a39 gnuc -> gcc, more abstraction in makefiles and extTools
Former-commit-id: 01664df2ee
2014-04-13 14:15:48 +04:00
Norayr Chilingarian
27cd609dad extTools.Mod, fix warnings like "argument unused during compilation:
'-L.'"


Former-commit-id: cd69786833
2014-04-13 13:17:00 +04:00
norayr
9f9033f667 clang powerpc platform
Former-commit-id: 61ef35ff33
2014-04-13 12:12:44 +04:00
root
c1164380aa raspberry pi bootstrap binary updated (;
Former-commit-id: 7c1a5ebea3
2014-04-12 02:06:17 +04:00
Norayr Chilingarian
98bfa994fa vt100 and crt units, some changes in Unix.Mod
Former-commit-id: 7f11185f6a
2014-04-11 21:41:49 +04:00
Norayr Chilingarian
74488d88de silences clang warnings of type "place parentheses around the '&' expression". small fix in OPV to
make it


Former-commit-id: f066c42eb9
2014-04-10 17:51:05 +04:00
Norayr Chilingarian
44dd584190 added includes to not use internal write, read in Console and Unix
Former-commit-id: b25a810007
2014-04-10 17:02:55 +04:00