Commit graph

25 commits

Author SHA1 Message Date
David Brown
4ec2e61ed0 Completely update addresing vars in heap from LONGINT to SYSTEM.UINTPTR. 2016-09-03 18:55:55 +01:00
David Brown
db18774de1 Allow SYSTEM.VAL of constant in CONST and use in Heap.Mod. 2016-09-03 17:47:55 +01:00
David Brown
a730d6c96b Switch SYSTEM.h uintptr type from int64 to size_t, 32 bit working again. 2016-09-03 12:01:04 +01:00
David Brown
cdd8a26481 Moving Heap.Mod to SYSTEM.UINTPTR. Only 64 bit working for now. 2016-09-03 11:56:17 +01:00
David Brown
11de6b8512 uintptr for alloc/free, some sys fns from LONGINT to int64. 2016-09-02 13:02:44 +01:00
David Brown
6851833a1e Remove some temporary bottstrapping types. Change 'U_' to 'u'. 2016-09-01 14:45:23 +01:00
David Brown
ee8342ef0d Moving to config independent types stage 1 - generate intxx types. 2016-09-01 14:14:06 +01:00
David Brown
b3c71fb2f0 Include int size in .sym files, fix __IN for out of range values, better naming. 2016-08-30 19:01:24 +01:00
David Brown
5033d09f32 Record constant size in symbol tables, make full is now successful. 2016-08-27 18:49:52 +01:00
David Brown
b6385f8b8c Add basic SYSTEM.ADRINT type. 2016-08-26 16:28:07 +01:00
David C W Brown
da88496c5f Tidy (#41)
* Deduplicate common constants into OPM and do some source format tidying.

* Fix postpush buildall script to force checkout of updated buildall.

* Show enlistment branch in makefiles

* Support non-printables in string literals and tidy case alignment and constant literals.

* Common code for MIN and MAX of integer types.

* Common code for SInt/Int/LInt in ConstOp parameter preparation.

* Common code for SInt/Int/LInt in Op parameter preparation.

* Refactor SetIntType to work with byte size directly. Prepare to revert my incorrect VAL changes.

* Original meaning of VAL restored. Many library files disabled until use of VAL in 64 bits fixed.

* Make Reals.Mod independent of INTEGER size and add reals tests.

* Implement fraction, IsInfinity and IsNaN in oocLowReal.Mod.

* OPB little simplifications and ShorterSize/LongerSize functions.

* Add test for alignment computability

* Replace alignment constants with calculated alignment.

* typ.size aware OPV.Convert

* Add SYSTEM_INT64 and make tests name independent.

* Remove SYSTEM.H includes (string.h and stdint.h).

* Replace uses of uintptr_t and size_t with SYSTEM_ADDRESS.

* Sad hack to make FreeBSD and OpenBSD happy with memcpy declaration.

* Detect 64 bit on FreeBSD, and size_t defined on OpenBSD.

* %zd not supportd by mingw, cast strnlen return to int.

* Add debug for intermittent failure only on OpenBSD.

* Add textTexts as a confidence test and tidy up a couple of other tests.

* Update binary test process.
2016-08-25 14:41:00 +01:00
David Brown
6d957bf0bb Remove unused variable and export. Thanks Oleg. 2016-07-22 18:56:14 +01:00
David Brown
d9c319ef3a Fix initial Time() value and fix GetTimeOfDay on Windows. Thanks Oleg. 2016-07-22 14:25:39 +01:00
David Brown
c21975dc2a Remove limit on numeric value of OS file handle. 2016-07-21 12:26:20 +01:00
David Brown
3f6c6243cb Fix typo in typedef of U_INTEGER. Thanks Oleg! 2016-07-18 16:41:52 +01:00
David Brown
5b77460e4f Use typedefs rather than defines for basic types. 2016-07-15 20:26:40 +01:00
David Brown
8e4367e5c9 ReadMe tweaking. Simplify. Add References and links. 2016-07-06 17:20:12 +01:00
David Brown
2b3b6a822a File mode corrections. Add lol filetype to 'lf' eolns. 2016-06-16 18:14:58 +01:00
David Brown
4245c6e8b3 Update system source to V2. 2016-06-16 14:14:39 +01:00
David Brown
b7536a8446 Move Args.Mod out of system as it's not part of the compiler build. 2016-06-16 13:07:17 +01:00
David Brown
49e9fd3533 Move Oberon.Mod to system. 2016-06-16 13:00:46 +01:00
David Brown
c374e343af Rename system files to v2 conventions. 2016-06-16 12:36:03 +01:00
David Brown
f48876d5db Remove unneeded Files and Kernel variants. 2016-06-16 12:30:52 +01:00
David Brown
5b3062f475 Consolidate files in system directory. 2016-06-16 12:29:25 +01:00
David Brown
72dedc9bf6 Remove par directory and mv system directory under src. 2016-06-16 12:09:14 +01:00