devilutionX icon indicating copy to clipboard operation
devilutionX copied to clipboard

Support original targets

Open AJenbo opened this issue 5 years ago • 4 comments

Now that we have SDL1 and BigEndian support mostly in place it would be fun to start supporting some of the original target platforms

For Mac OS 9 there is: https://github.com/autc04/Retro68

For Windows 95 I'm not exactly sure what would be required, maybe it enough to simply compile with SDL1 enabled?

Targeting the PS1 might be a struggle, the team that ported the game first of all cut a lot of animations and rescaled the game to 60% resolution, and even then they had to split the exe up to fit it all in memory. Never the less here is the needed tools if any one feel inclined to try :) https://github.com/ggdrt/psxsdk-20190410 https://github.com/root670/docker-psxsdk (this doesn't include SDL, I did see some reference to there migth being a version for PSX, but didn't fine it on first try)

Lastly if some one want to go even deeper DOS is also an option since it was the original intended platform for the developers (probably while most where still written in ASM). There is an at least partial DOS port of SDL https://github.com/jayschwa/SDL/tree/dos-vga And some context: https://discourse.libsdl.org/t/porting-sdl-to-dos/27361/6

AJenbo avatar Sep 30 '19 04:09 AJenbo

The only framework that comes to my mind when I think "DOS" is Allegro. But I don't think it's remotely compatible with SDL. Are there others as well?

Heck, if Diablo was available for DOS, I'd surely try it out on FreeDOS (which I haven't installed in years...), just because it's possible! :smiling_imp:

kraileth avatar Oct 01 '19 14:10 kraileth

The game can now run from the original CD https://www.youtube.com/watch?v=fk9GwVIhOGc

AJenbo avatar Dec 30 '19 19:12 AJenbo

Can you add "platforms" to the title as well @AJenbo ? Had to open this one to see what it was about.

julealgon avatar Mar 27 '21 03:03 julealgon

Found a DOS port of SDL :P

AJenbo avatar Jul 06 '22 00:07 AJenbo

There is a good post on cross-compiling to Windows 98 here: https://fanael.github.io/stockfish-on-windows-98.html

and a backport of the missing TryEnterCriticalSection function needed by winpthreads here: https://github.com/Fanael/fanael.github.io/blob/source/source/static/try-enter-critsec-9x.cc

glebm avatar Mar 11 '23 17:03 glebm

It now works on Windows 95+, with the caveat that you need a Pentium Pro or better (Pentium II) to run it.

AJenbo avatar Sep 24 '23 05:09 AJenbo