1. Dos-Like DLL
- Posted by Icy_Viking 2 months ago
- 1465 views
Hi all,
Has anyone came across this neat little library? [https://github.com/mattiasgustavsson/dos-like]
It let's you make apps in the style of MS-DOS, but on modern operating systems. I was hoping to make a DLL of it, but all my attempts at getting it to build into an DLL have been futile. I know the library itself isn't really setup for DLL, but it doesn't seem super hard to do, I tried using chatgpt to help get some code going, but I keep coming across linker and build errors.
2. Re: Dos-Like DLL
- Posted by ChrisB (moderator) 2 months ago
- 1378 views
Hi Andy
I'd not heard of that before, but it looks very interesting.
Now to get rid of that anoyying frame!
Incidentally it looks so easy to use as-is, why would you want to dll it? Why not just translate it to eu?
Chris
3. Re: Dos-Like DLL
- Posted by euphoric (admin) 2 months ago
- 1398 views
Nice! I wonder if there's a C64-like or Amiga-like out there.
4. Re: Dos-Like DLL
- Posted by ChrisB (moderator) 2 months ago
- 1371 views
Hi
Have you looked at Commodore OS 3.0? Might satisfy those commodore needs.
C
5. Re: Dos-Like DLL
- Posted by Icy_Viking 2 months ago
- 1445 views
Hi Andy
I'd not heard of that before, but it looks very interesting.
Now to get rid of that anoyying frame!
Incidentally it looks so easy to use as-is, why would you want to dll it? Why not just translate it to eu?
Chris
To make a DLL so that a euphoria wrapper can be made for it. I guess it wouldn't be super hard to convert to Eu code.
6. Re: Dos-Like DLL
- Posted by ChrisB (moderator) 2 months ago
- 1377 views
Ah, I see - it's the 'because it's there' mountain.
Good luck, I enjoy your efforts.
Chris
7. Re: Dos-Like DLL
- Posted by Icy_Viking 2 months ago
- 1335 views
After removing the or rather commenting out the dosmain functions, I was able to get it to build as a DLL, I checked and the functions were exported into a DLL.
gcc -c dos.c gcc -shared -o doslike.dll dos.o -lgdi32 -lwinmm
This got it to build as a DLL
9. Re: Dos-Like DLL
- Posted by ChrisB (moderator) 2 months ago
- 1217 views
Hi Andy
Have you wrapped this yet - looking forward to try this one out a bit.
Cheers
Chris
10. Re: Dos-Like DLL
- Posted by Icy_Viking 2 months ago
- 1165 views
Hi Andy
Have you wrapped this yet - looking forward to try this one out a bit.
Cheers
Chris
Hi Chris, I ran into some issues while trying to wrap it. I can give out what I have wrapped so far if you'd like.
EDIT: While the wrapper part of it runs fine. Every time I try to make a example program with it, it crashes as soon as I call a function from the doslike DLL.
11. Re: Dos-Like DLL
- Posted by ChrisB (moderator) 2 months ago
- 1153 views
Hi Andy
Certainly happy to have a look at it, but note that I take forever to do anything, and not sure how much extra I can add any way.
Just another ridge on the way to the peak!
Cheers
Chris
12. Re: Dos-Like DLL
- Posted by jmduro 1 month ago
- 579 views
Hi all,
Has anyone came across this neat little library? [https://github.com/mattiasgustavsson/dos-like]
It let's you make apps in the style of MS-DOS, but on modern operating systems. I was hoping to make a DLL of it, but all my attempts at getting it to build into an DLL have been futile. I know the library itself isn't really setup for DLL, but it doesn't seem super hard to do, I tried using chatgpt to help get some code going, but I keep coming across linker and build errors.
DOS Rescue seems to do the same job and is 100% Ephoria based: https://github.com/insolor/dos_rescue
Jean-Marc
13. Re: Dos-Like DLL
- Posted by jmduro 1 month ago
- 637 views
Hi all,
Has anyone came across this neat little library? [https://github.com/mattiasgustavsson/dos-like]
It let's you make apps in the style of MS-DOS, but on modern operating systems. I was hoping to make a DLL of it, but all my attempts at getting it to build into an DLL have been futile. I know the library itself isn't really setup for DLL, but it doesn't seem super hard to do, I tried using chatgpt to help get some code going, but I keep coming across linker and build errors.
DOS Rescue seems to do the same job and is 100% Ephoria based: https://github.com/insolor/dos_rescue
Jean-Marc
However, I can't get it work on Windows 11 with EU64.
14. Re: Dos-Like DLL
- Posted by Icy_Viking 1 month ago
- 574 views
Hi all,
Has anyone came across this neat little library? [https://github.com/mattiasgustavsson/dos-like]
It let's you make apps in the style of MS-DOS, but on modern operating systems. I was hoping to make a DLL of it, but all my attempts at getting it to build into an DLL have been futile. I know the library itself isn't really setup for DLL, but it doesn't seem super hard to do, I tried using chatgpt to help get some code going, but I keep coming across linker and build errors.
DOS Rescue seems to do the same job and is 100% Ephoria based: https://github.com/insolor/dos_rescue
Jean-Marc
However, I can't get it work on Windows 11 with EU64.
Dos_Rescue works for me on Euphoria 32-bit and Windows 11.
15. Re: Dos-Like DLL
- Posted by jmduro 1 month ago
- 560 views
Dos_Rescue works for me on Euphoria 32-bit and Windows 11.
Thank you. I installed a fresh 32 bit EU 4.1 and it works now also for me.
16. Re: Dos-Like DLL
- Posted by Icy_Viking 4 weeks ago
- 450 views
Dos_Rescue works for me on Euphoria 32-bit and Windows 11.
Thank you. I installed a fresh 32 bit EU 4.1 and it works now also for me.
Good to hear. I think to make dos_rescue work under Eu 64-bit, some of the values would have to be changed for it to work in 64-bit.

