??? 05/06/05 08:45 Read: times Msg Score: +1 +1 Informative |
#93045 - emu51 under GNU/Linux |
Hi folks,
a recent thread at comp.arch.embedded showed the question on any suitable 8051 emulator for use under Linux. Except for a flamewar, it didn't produce much useful output. But it renewed my interest as I'm looking for a suitable emulator for ages. Now I found emu51 at Sourceforge (http://emu51.sourceforge.net/) which comes as sources but for Windows only. I toyed around a bit and I managed to compile emu51 under GNU/Linux. This emulator is very early alpha but better than nothing and free software, free as in freedom and not as free beer ofcourse. As it comes as sourcecode + Windoze binary only, I altered the Makefile so it now compiles under GNU/Linux as long as you have a working installation of the Allegro library. See the altered Makefile at the bottom of this posting. I know this is not a commercial grade emulator but I hope this proves useful for hobbyists and students like me who cannot afford commercial grade software for 100EUR and more. # Project: emu51 # Makefile adopted for GNU/Linux by Matthias Arndt <marndt@asmsoftware.de> CPP = g++ CC = gcc OBJ = emu51.o LINKOBJ = emu51.o LIBS = `allegro-config --libs` INCS = `allegro-config --cflags` CXXINCS = `allegro-config --cflags` BIN = emu51 CXXFLAGS = -O3 $(CXXINCS) CFLAGS = -O3 $(INCS) .PHONY: all all-before all-after clean clean-custom all: all-before $(BIN) all-after clean: clean-custom rm -f $(OBJ) $(BIN) $(BIN): $(OBJ) $(CPP) $(LINKOBJ) -o $(BIN) $(LIBS) emu51.o: emu51.cpp $(CPP) -c emu51.cpp -o emu51.o $(CXXFLAGS) I hope this helps a bit! cheers, Matthias |
Topic | Author | Date |
emu51 under GNU/Linux | 01/01/70 00:00 | |
Nice work. | 01/01/70 00:00 | |
thanks | 01/01/70 00:00 | |
SImulator (cross platform) | 01/01/70 00:00 | |
movc buggy | 01/01/70 00:00 | |
bug reporting infrastructure at sf.net | 01/01/70 00:00 | |
font patch![]() | 01/01/70 00:00 |