chaos4ever / chaos

The chaos Operating System
https://chaos4ever.github.io/
15 stars 6 forks source link

Make it possible to start programs from cluido again #128

Closed perlun closed 4 years ago

perlun commented 5 years ago

I have a fully compilable tetris binary in this tree, but whenever I try launching it it fails here:

image

By judging from the EIP range where it crashed, I think this is inside the system call for executing ELF binaries. We should probably single-step through it with gdb to see more closely why it fails; this code hasn't been used for at least 15 years so it's not a big wonder that it doesn't fully work right away. 😂

perlun commented 4 years ago

Can't remember what the problem was here actually, but this is working now and tested with the modplayer code (available since #145 got merged). Closing issue. If Tetris still requires some special treatment, we will deal with it as we get to #131 sooner or later.