cnlohr / embeddeddoom Goto Github PK
View Code? Open in Web Editor NEW"emdoom" - a port of DOOM targeted for memory-strapped systems.
License: Other
"emdoom" - a port of DOOM targeted for memory-strapped systems.
License: Other
I'm trying to compile for Linux x11, no changes made to the source code. But it fails with
gcc -o support/wadder support/wadder.c
(cd support;./wadder;cd ..)
Table: 1264 4175796
gcc -m32 -O1 -g -w -flto -DNORMALUNIX -DLINUX -c -o tmp.o support/rawwad.c
mv tmp.o support/rawwad.o
gcc -m32 -O1 -g -w -flto -DNORMALUNIX -DLINUX -L/usr/X11R6/lib -m32 -O1 -g -w -flto -DNORMALUNIX -DLINUX i_main.c support/rawwad.o -o emdoom.gentables -lXext -lX11 -lnsl -lm -lpthread -DGENERATE_BAKED doomdef.c doomstat.c dstrings.c i_system.c i_video.c tables.c f_finale.c f_wipe.c d_main.c d_items.c g_game.c m_menu.c m_misc.c m_argv.c m_bbox.c m_fixed.c m_swap.c m_cheat.c m_random.c am_map.c p_ceilng.c p_doors.c p_enemy.c p_floor.c p_inter.c p_lights.c p_map.c p_maputl.c p_plats.c p_pspr.c p_setup.c p_sight.c p_spec.c p_switch.c p_mobj.c p_telept.c p_tick.c p_saveg.c p_user.c r_bsp.c r_data.c r_draw.c r_main.c r_plane.c r_segs.c r_sky.c r_things.c w_wad.c wi_stuff.c v_video.c st_lib.c st_stuff.c hu_stuff.c hu_lib.c z_zone.c info.c os_generic.c XDriver.c DrawFunctions.c i_net.c d_net.c stubs.c sounds.c s_sound.c i_sound.c
./emdoom.gentables
./emdoom.gentables: 1: ./emdoom.gentables: Syntax error: word unexpected (expecting ")")
make: *** [Makefile:94: support/baked_texture_data.c] Error 2
(this is a suggestion to add this to the readme because I did not want to bother with a pull request)
dependencies :
sudo pacman -S lib32-libx11 lib32-libxext lib32-libnsl gcc-multilib
then compilation works flawlesly
Hey, I'm looking to port DOOM to Computerraria which is baremetal rv32i. This project seems perfect and you're Youtube video on it was awesome!
The project builds perfectly for my Linux desktop and it outputs to the screen properly. However when I try to build for riscv (right now rv32ima) by uncommenting the block in the makefile, I get various different errors. I can't tell if the RISCV build is targetting embedded Linux or baremetal, the compiler in the makefile says riscv64-unknown-elf-gcc, but when I try uncommenting the relevant block in the makefile it complains that it can't find sys/ioctl.h
which is definitely Linux . Also the makefile references startup.S
, which as far as I can tell isn't referenced anywhere else and doesn't exist. These are solvable issues insofar as I can just remove these dependencies given I don't need sound and network capabilities, but I want to make sure that I'm not missing how I'm supposed to build for RISCV.
To do things like remove sprites from the spritemap list.
Hi,
Is 32 bits required? There exists a good 16 bit gcc compiler. Would you code compile ?
Maybe this way I could try it on a 8086/8088 using terminal output?
This appears to be something that might be bakeable.
lighttable_t* scalelight[LIGHTLEVELS][MAXLIGHTSCALE];
lighttable_t* scalelightfixed[MAXLIGHTSCALE];
lighttable_t* zlight[LIGHTLEVELS][MAXLIGHTZ];
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.