rust_dos
DOjS
rust_dos | DOjS | |
---|---|---|
5 | 9 | |
140 | 667 | |
- | - | |
0.0 | 5.7 | |
over 1 year ago | 3 months ago | |
Rust | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust_dos
-
Djgpp
You do not need segment registers much if you stick to the tiny model. Here is someone compiling Rust to a 16-bit DOS COM executable:
https://github.com/o8vm/rust_dos
Not sure what the approach would be for them to expand that to support segments.
In DJGPP there are macros to allow your protected mode application access physical real-mode addresses (like when you want to write to video RAM). I don't know if IA-16 also does something like that, or if they added far/near keywords to the language like old 16-bit C compilers did (at least the ones I used).
Free Pascal has helper-functions to work with segment+offset pointer pairs, also without having to modify the language itself. I think that would work well enough in C, but I guess the old method of adding non-standard keywords was seen as slightly more convenient.
- Who invented file extensions in file names?
-
Moving from Rust to C++
Demo: https://github.com/o8vm/rust_dos
-
Resources for programs they used back in the 90s/early 00s?
It is probably possible for almost any old platform with some cross-compilation magic, but not anything that will be officially supported as the compiler-makers focus on modern systems. There is for instance an unofficial 16-bit DOS backend for GCC and at least one or two projects to compile Rust to DOS-executables (that I assume use Clang?) (in addition to 32-bit DJGPP(gcc) for MSDOS that I linked to above). Probably are similar projects to target 68k somewhere?
- Rust DOS: Creating a DOS Executable with Rust
DOjS
-
Djgpp
I did not know of a Java port, but this reminds me there is some kind of JavaScript-based environment for DOS that I see linked now and then (think it is bundled with FreeDOS?). Probably this one:
https://github.com/SuperIlu/DOjS
"DOjS is a JavaScript programming environment for systems running MS-DOS, FreeDOS or any DOS based Windows (like 95, 98, ME). It features an integrated editor, graphics & sound output, mouse/keyboard/joystick input and more"
Never tried it.
- DOjS is a JavaScript programming environment for systems running MS-DOS
- DOjS a DOS JavaScript Canvas with Sound
- GitHub - SuperIlu/DOjS: A DOS JavaScript Canvas with sound
-
Let's write Operating System in JavaScript
A guy I know is working on a DOS compatible JS OS. It's out at least 10 years and runs on the original hardware if the time. https://github.com/SuperIlu/DOjS
- DOjS – A DOS JavaScript Canvas with Sound