1
0
mirror of synced 2026-01-13 07:09:24 +00:00

59 Commits

Author SHA1 Message Date
Andras Tantos
1b1ebb30b8 Cleaned up C example. 2024-04-25 15:31:29 -07:00
Andras Tantos
7c59c4bd02 Added ASM and C examples. 2024-04-25 14:45:46 -07:00
Andras Tantos
958bac1858 Fixed typo in comment 2024-04-25 14:45:15 -07:00
Andras Tantos
d7174460c6 Introduced settings to disable unknown and unimplemented instruction asserts. 2024-04-04 08:31:06 -07:00
Andras Tantos
0c0d8a53f9 Merge branch 'master' of github.com:andrastantos/cray-sim 2023-01-31 16:46:36 -08:00
Andras Tantos
fae57fcf12 Fixes for mingw and cygwin builds. 2023-01-31 16:46:20 -08:00
Andras Tantos
3cec95203b Some more ignores. 2023-01-30 14:59:26 -08:00
Andras Tantos
7d0c73ea47 Fixing 'install' to work with CD from Archives.org 2023-01-30 14:59:11 -08:00
Andras Tantos
f323876d02 More files to ignore 2023-01-29 11:12:49 -08:00
Andras Tantos
dc11ecf6a5 Followed up with latest changes on Windows:
- Updated to boost 1.82
- Fixed TAP driver enumeration change
- Added .bat files to start simulator
- Updated to platform tolset v143
- Removed NuGET boost dependency
- Added gitignore to hide most stuff that we don't want to track
- Removed profile from putty command line
- Changed TAP driver name to what is the default with OpenVPN install
2023-01-29 11:11:22 -08:00
andrastantos
ac26629e29
Merge pull request #4 from davide125/map
Add missing include
2022-07-07 16:22:52 -07:00
Davide Cavalca
ae5b4f7af6 Add missing include 2022-07-05 21:37:06 -07:00
andrastantos
bca82a2542
Merge pull request #3 from kej715/master
Expand implementation of FEI protocol and make it interoperable with DtCyber, the CDC mainframe simulator
2022-06-16 09:34:51 -07:00
Kevin Jordan
b4a44d5029
Merge branch 'andrastantos:master' into master 2022-06-13 19:35:03 -04:00
andrastantos
f89873349c
Merge pull request #2 from jrrk2/maybe-uninitialized
Suggest fix for maybe-uninitialized problem
2021-12-29 07:59:13 -08:00
Jonathan Kimmitt
d4b502be9f Suggest fix for =maybe-uninitialized problem 2021-12-29 11:58:19 +00:00
Kevin Jordan
ff5d24af3a Implement front end data communication protocol, in compliance with
"COS FRONT-END PROTOCOL INTERNAL REFERENCE MANUAL SM-0042", and make it
compatible with the implementation in DtCyber, the CDC Cyber 6000 series
emulator.
2021-11-27 17:25:04 -05:00
Andras Tantos
52c9639808 Merge branch 'master' of https://github.com/andrastantos/cray-sim 2021-08-22 09:38:12 -07:00
andrastantos
0e7e835e0d
Merge pull request #1 from davide125/stream
Fix scope for streampos and streamoff
2021-08-22 09:36:13 -07:00
Andras Tantos
00e544f8dc Merge branch 'master' of https://github.com/andrastantos/cray-sim 2021-08-22 09:32:12 -07:00
Andras Tantos
59e8935a90 Some small fixes to the console code. Mostly about correctness... 2021-08-22 09:31:42 -07:00
Andras Tantos
d6965185ee Some small fixes to the documentation 2021-08-22 09:31:07 -07:00
Davide Cavalca
69449c5d83 Fix scope for streampos and streamoff 2021-07-31 21:14:13 -07:00
Andras Tantos
7c3d70e81c Fixed (hopefully) crash when console window is colosed. 2021-03-21 17:35:55 +00:00
Andras Tantos
031832222d Fixed (?) stack overflow in console code.
I've commented the loop out that was causing the infinite recursion.
Not sure why the code was there, I thought it had to do with
sluggish console. I don't see that though with the code removed,
so let's hope this is sufficient. That would be easy...
2021-03-13 03:53:56 +00:00
Andras Tantos
7991cfd770 Fixed crash with IOSD and expander disk file transfers. 2021-03-01 16:34:31 +00:00
Andras Tantos
06a8476248 Merge branch 'master' of https://github.com/andrastantos/cray-sim 2021-02-23 18:58:21 +00:00
Andras Tantos
92207fc9cf Install script now (hopefully) properly patches 10.0.0 kernel as well. 2021-02-23 18:57:47 +00:00
Andras Tantos
f505d65242 Added installation directions. 2021-02-22 19:54:56 -08:00
Andras Tantos
0b1947370c Install has support for 3 variants of UNICOS 10 2021-02-23 02:55:49 +00:00
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