marsdev icon indicating copy to clipboard operation
marsdev copied to clipboard

Add Blastem emulator

Open tapule opened this issue 4 years ago • 4 comments

What do you think about adding Blastem to the toolchain?

tapule avatar Dec 05 '20 08:12 tapule

I do use BlastEm most of the time and would be happy to add it to the toolchain. However I would prefer to compile from source rather than pulling the binary for a specific OS. Maybe the mercurial repo has tags for released versions like 0.6.2?

If not we could instead change the filename of the binary package based on OS. As messy as this looks it'll probably work

BLASTEM_BITS = 64
BLASTEM_VER  = 0.6.2
BLASTEM_EXT = tar.gz

UNAME=
ifeq ($(OS),Windows_NT) 
    UNAME := Windows
else
    UNAME := $(shell sh -c 'uname 2>/dev/null || echo Unknown')
endif

ifeq ($(UNAME), Windows)
    BLASTEM_BITS := win32
    BLASTEM_EXT := zip
endif
ifeq ($(UNAME), Darwin)
    BLASTEM_BITS := osx
endif

andwn avatar Dec 05 '20 17:12 andwn

I agree with you, compiling from sources would be great but I think some libs like sdl were needed to compile. I will take a look on this ;) Btw, thank you so much for this fantastic toolchain, it made me easy starting on md programming.

tapule avatar Dec 05 '20 17:12 tapule

Yes, source please, compiling from sources is preferable for those of us not on x86-64.

dleslie avatar Dec 31 '20 02:12 dleslie

Nevermind, blastem is x86-only; it includes significant x86 instructions. It'd be a fair amount of work to make it portable.

dleslie avatar Dec 31 '20 03:12 dleslie