Comments (14)
from dtcyber.
Hi Kevin,
Unfortunately I do as its the only version that seems to work with my hardware. Is there a work around for this?
from dtcyber.
from dtcyber.
I pulled out a copy of sarge via the magic of docker and played around, it looks like what we need is hidden behind feature macro tests.
Try replacing the CFLAGS line in your Makefile with this and tell me how it goes, I got it to compile with the latest github checkout with this in the sarge docker container but I haven't tested the resulting binary.
CFLAGS = -O2 -D_GNU_SOURCE -I. $(INCL) -std=gnu99
from dtcyber.
@wschaub Amazing thanks :) That seemed to compile ok. I forgot to install the libx11-dev package as well so I added them. I now need to configure and see if I can get it loading. I'll keep you posted. Regards.
from dtcyber.
I just did another test on the sarge container, this time to test if the ancient glibc supports nanosleep. looks like it does, and without any need to set a define, pulling in <time.h> will get you the definition of timespec and nanosleep.
The sarge manpage for nanosleep has this in the BUGS section:
`BUGS
The current implementation of nanosleep is based on the normal kernel timer mechanism, which has a resolution of 1/HZ s (i.e, 10 ms on Linux/i386 and 1 ms on Linux/Alpha).
Therefore, nanosleep pauses always for at least the specified time, however it can take up to 10 ms longer than specified until the process becomes runnable again. For the same
reason, the value returned in case of a delivered signal in *rem is usually rounded to the next larger multiple of 1/HZ s.
Old behaviour
In order to support applications requiring much more precise pauses (e.g., in order to control some time-critical hardware), nanosleep would handle pauses of up to 2 ms by busy
waiting with microsecond precision when called from a process scheduled under a real-time policy like SCHED_FIFO or SCHED_RR. This special extension was removed in kernel
2.5.39, hence is still present in current 2.4 kernels, but not in 2.6 kernels.
`
from dtcyber.
from dtcyber.
I went through and tried to get everything working possible on sarge, I got enough working to run the automation scripts to build NOS1.3 and NOS2.8.7 but I wasn't able to get git-lfs working because Go does not support 2.6 and below kernels anymore.
I uploaded the updated curl, openssl, git, tcl and expect here https://steubentech.com/sarge-tools/
from dtcyber.
Hi @wschaub,
Does this mean NOS won't run then. Not having support for git-lfs-3.2.0 and go1.18.2? Should I concentrate getting my hardware to work with maybe Debian Lenny?
from dtcyber.
dtcyber and NOS will run just fine, only git-lfs doesn't work. Basically what that means is you would probably need to fetch dtcyber on a machine that you can install git-lfs on and then copy the tap.bz2 files over to the sarge machine. I have a snapshot of Dtcyber on that page from earlier today that has all the tape files expanded so you can easily test.
from dtcyber.
@wschaub ok thanks for clarifying that. I've manged to get it compiled. I have all the files that Tom Hunter gave me back in the day.
dtcyber loads but then dumps back to Debian with a "could not open display" error. Could this be because Xwindows is holding the resources?
Desktop CYBER 5.6.1 - Copyright (C) Tom Hunter
Licensed under the terms of the GNU General Public License version 3
Starting initialisation
Unexpected length of CM backing file, clearing CM
CPU model CYBER865 initialised (CM: 4000000, ECS: 0)
Unexpected length of PPM backing file, clearing PPM
PPs initialised (number of PPUs 24)
Channels initialised (number of channels 40)
Using gettimeofday() clock at 1.000000 MHz
Status/Control Register initialised on channel 16
Status/Control Register initialised on channel 36
Disk with 843 cylinders initialised on channel 1 unit 0
Disk with 843 cylinders initialised on channel 2 unit 0
Disk with 843 cylinders initialised on channel 3 unit 0
Disk with 843 cylinders initialised on channel 4 unit 0
Disk with 843 cylinders initialised on channel 1 unit 1
Disk with 843 cylinders initialised on channel 2 unit 1
Disk with 843 cylinders initialised on channel 3 unit 1
Disk with 843 cylinders initialised on channel 4 unit 1
Disk with 843 cylinders initialised on channel 1 unit 2
Disk with 843 cylinders initialised on channel 2 unit 2
Disk with 843 cylinders initialised on channel 3 unit 2
Disk with 843 cylinders initialised on channel 4 unit 2
Console initialised on channel 10
Equipment 07, Unit 00 attached to DCC6681 on channel 7
LP3555/512 initialised on channel 7 equipment 7
Equipment 07, Unit 00 attached to DCC6681 on channel 11
CR3447 initialised on channel 11 equipment 7
Equipment 06, Unit 00 attached to DCC6681 on channel 11
CP3446 initialised on channel 11 equipment 6
MT679 initialised on channel 13 equipment 0 unit 0
MT679 initialised on channel 13 equipment 0 unit 1
MT679 initialised on channel 13 equipment 0 unit 2
MT679 initialised on channel 13 equipment 0 unit 3
Two port MUX initialised on channel 15
NPU initialised on channel 5 equipment 7
Host ID: CYBER
Coupler node: 1
NPU node: 2
Desktop CYBER 5.6.1 - Copyright (C) Tom Hunter.
Licensed under the terms of the GNU General Public License version 3.
For details see included text file 'license-gpl-3.0.txt' or visit
'http://www.gnu.org/licenses'.
Operator interface
Please enter 'help' to get a list of commands
Operator>/cyber/CybisRelease1#
from dtcyber.
from dtcyber.
Got it working :) Thanks to you both. Problem was with Xwindows.
from dtcyber.
from dtcyber.
Related Issues (17)
- Append ".txt", or something similar, to line printer output that is created when paper is unloaded. HOT 2
- Make commands case insensitive in the operator window HOT 2
- NOS 2.8.7 telnet issues HOT 6
- Nothing runs on macOS for me HOT 2
- Redesigned printer driver lp3000.c does not handle multiple device control commands properly HOT 5
- XRebindKeysym hangs HOT 5
- CPU Idle does not work any more under NOS/BE since commit eba4eac HOT 1
- Using virtual card reader HOT 1
- Cybis - Application not present. HOT 4
- Failed to listen for TCP connection / Can't create socket HOT 5
- Cybis install issue. HOT 4
- TDUEX in OPL871 HOT 1
- web console alignment and behavior isn't quite right compared to X11/windows. HOT 9
- PSU and RTIME rollover HOT 7
- Crash when issuing sync_tms on operator console HOT 2
- CYBIS doesn't start if password of user PLATOMF is changed HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dtcyber.