Damn Small Linux (DSL) Forums
Welcome, Guest. Please login or register.
August 06, 2020, 01:02:45 AM

Login with username, password and session length
News
The new DSL forums are now open.
Stats
11606 Posts in 310 Topics by 292 Members
Latest Member: mik3ca
Search:     Advanced search
* Home Help Search Login Register
Get The Official Damn Small Linux Book. Great VPS hosting provided by Tektonic

  Show Posts
Pages: [1]
1  Damn Small Linux / DSL Ideas and Suggestions / Linux in real-time (like DOS) on: July 22, 2019, 04:03:16 AM
I made special hardware for a game that can connect to the computer via serial (rs232).

I have ordered a thin client PC that I will put Damn Small Linux on since it worked OK on my other PC.

Now I haven't quite figured it out, but there is software out there (RTlinux and RTAI) that is supposed to patch a kernel so that a priority kernel exists so that if one were to access a serial port with customized C code, all other actions stop until the critical section ends. This is what I need with my hardware because I tried my hardware with a normal slackware linux setup and I constantly got poor results at high baud rates.

Anyways, whats the best way to seemlessly install RTAI or RTlinux or anything else that would allow a serial port to be accessed real-time from within a compiled C program?

I am currently using the latest DSL distro at time of this writing.
Pages: [1]
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines
Mercury design by Bloc