1
0
mirror of synced 2026-01-13 15:17:07 +00:00

29 Commits

Author SHA1 Message Date
Andras Tantos
cd35247e63 Fixed (hopefully) most UNICOS 10.0.1.2 install issues 2021-02-22 16:40:11 +00:00
Andras Tantos
88678fb0f4 Updated config. 2021-02-21 18:50:20 +00:00
Andras Tantos
09a574c3e8 Merge branch 'master' of https://github.com/andrastantos/cray-sim 2021-02-21 10:39:10 -08:00
Andras Tantos
a2f43228f6 Updated install script. 2021-02-21 10:38:29 -08:00
Andras Tantos
ef04c37a37 Merge branch 'master' of https://github.com/andrastantos/cray-sim 2021-02-21 03:04:58 +00:00
Andras Tantos
a5cd32ae8e Changes during UNICOS install experiments. Mainly:
- Waitpid SYSCALL statistics dumping added
- 'core' hard drive added to configs
2021-02-21 03:01:56 +00:00
Andras Tantos
fd26f0d364 More goodies added 2021-02-20 18:58:55 -08:00
Andras Tantos
c0aa4327a1 Added goodies. 2021-02-20 18:55:24 -08:00
Andras Tantos
98cfe0a5a6 Changed handling of years for COS emulation.
Instead of a constant offset, now we bracket
the year to be within 1980 and 1999, which
seems to be acceptable for COS.
2021-02-03 17:17:41 -08:00
Andras Tantos
ec676c06cf Updated project to build on latest Visual Studio (2019).
This involves:
- updated project files,
- removal of support for XP
- update to latest boost (1.75)
- updating code to work around new deprecation warnings

There is also some cleanup in the project files here.
2021-02-02 17:24:20 -08:00
Andras Tantos
3e08db5099 Merge branch 'master' of https://github.com/andrastantos/cray-sim 2021-01-26 16:29:14 -08:00
Andras Tantos
d9456e4dec Changed default YearOffset to be 30 (time flies, I guess). 2021-01-26 16:26:25 -08:00
Andras Tantos
24b615cba1 Finally fixed the cc hang for good.
The problem was that two consequtive reads of the RTC in quick
succession within the compiler was used to validate the
results in the buffer filled by the mtimes syscall.

This syscall buffer is potentially filled by another processor
or by the same one, so the programmers decided to use two
techniques to decide if the results are reliable:
1. Read the buffer twice and compare
2. Make sure that the two reads happened within 200 clock-cycles
   from one another.

Since our RTC is based on the host clock, the actual time
passed between those two instructions depends on the host
speed.

This fix allows for a - programmable - interval within which
if two RTC queries are made, we return an artificially low
delta time. This makes cc happy, while doesn't interfere
with normal OS operation and scheduling.

The setting (RealTimeClockChunkLimit, which defaults to 5000)
might need to be adjusted for slow machines, such as the
RaspberryPi4 or similar.
2020-10-02 02:05:40 +00:00
Andras Tantos
7f4fdc8144 Missing install script added 2020-09-18 15:39:55 +00:00
Andras Tantos
fac6d3ba76 Much more complete setup and run environment.
Fixed clock scaling for SV1, changed clock name from
CPU clock to System clock to better match actual
HW terminology.
2020-09-14 16:32:58 +00:00
Andras Tantos
fd9c6df713 Small config change to force a 100MHz clock rate. 2020-09-13 17:19:35 +00:00
Andras Tantos
0c5ab84c89 Fixed (?) cc hang related to RTC readings: in this version, the simulator is making certain
that no two subsequent RTC readings will produce the same output.
2020-09-12 23:36:36 +00:00
Andras Tantos
d14f08e161 Fixed SYSCALL table addresses 2020-09-10 00:44:32 +00:00
Andras Tantos
c8e403881e UNICOS RAMfs loader config. 2020-09-10 00:25:07 +00:00
Andras Tantos
9a63ba5bac Merge branch 'master' of https://github.com/andrastantos/cray-sim 2020-09-09 16:43:23 -07:00
Andras Tantos
792607ea6b UNICOS install files started. 2020-09-09 16:42:48 -07:00
Andras Tantos
6ec30422ba Fixed directory names in scripts.y 2020-09-09 23:27:50 +00:00
Andras Tantos
5ff3488eba Merge branch 'master' of https://github.com/andrastantos/cray-sim 2020-09-09 16:26:17 -07:00
Andras Tantos
5f762fa7e0 Missing config file 2020-09-09 16:25:27 -07:00
andrastantos
3fa0e878cf
Update README 2020-09-09 16:08:28 -07:00
andrastantos
791baf50d0
Update README 2020-09-09 15:19:44 -07:00
andrastantos
8feaea0478
Update README 2020-09-09 15:18:12 -07:00
Andras Tantos
95b2381d05 Inial population of repository. 2020-09-09 15:11:45 -07:00
andrastantos
2989973ef5
Initial commit 2020-09-09 14:40:09 -07:00