1. Dos-Like DLL
- Posted by Icy_Viking 3 weeks ago
- 692 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) 3 weeks ago
- 659 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) 3 weeks ago
- 653 views
Nice! I wonder if there's a C64-like or Amiga-like out there.
4. Re: Dos-Like DLL
- Posted by ChrisB (moderator) 3 weeks ago
- 652 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 3 weeks ago
- 632 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) 3 weeks ago
- 631 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 3 weeks ago
- 617 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 weeks ago
- 481 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 weeks ago
- 442 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 weeks ago
- 412 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