Hello guys I have a tremendous task
I'm wanting to write in assembly,c,c++ I'm trying to get the videogame doom from 1996 to work on my phone which is arm64 aarch64 assembly I'm using termux as a Linux system on my phone recently I found a repo for doom Linux and I cloned it and it just doesn't want to work with the make file and also the games source code was not written in arm64 aarch64 assembly it was 16bit or x86 which doesn't work with ARM64 aarch64 I've done a bit of research and found that the architecture can be ported and an easier method using a cross compiler and my goals are to get the game assembled and compiled to run on my phone and test it out a bit then I'm wanting to make a WAD mod for the game and also add multiplayer and I found something using kubernetti to get it to work can someone help me please
#assembly ARM64 Doom
367 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
Please!
Use punctuation.
I'm not good at communicating
Why does it need to be written in assembly? I could be misunderstanding as I barely comprehend what you're saying.
you're doing this on a phone?
as in, you're going to write an entire cross assembler and interface with all the tools on a phone?
What ever to do to get doom working compiled and assembled then ran
I can't understand what you're saying
Don't you understand
very sorry
I have to go-to hell
What don't u understand
@iron forum
Let's take it step by step
Apologize but your english is very broken
Git clone repo done
Trying to get it compile not working
Requires converting dooms source assembly into ARM64
Should compile and run maybe requires cross assembly to convert
What are you going to do about the cross assembly then, write it yourself?
GPT isn't going to write an entire x86->AArch64 cross assembler.
Porting?
You did not use a single bit of punctuation in your opening sentence...
I'm using vim
on a phone?
Yes
well good luck with that
In termux
a phone is an incredibly unfit environment to be writing code
To some people that's more important
no, it's not.
if you're on android why not build remotely in android studio?
you can debug remotely too
android studio doesn't run on a phone
what does viewing memory have to do with developing and debugging
I'm not interested in android studio
Bro just leave me alone if your not gonna help
I am helping you, you're the one who keeps denying it and throwing bullshit comebacks at me.
I'm telling you that a phone is a very unfit environment to write, debug, and test code on.
And that since you're on android you can make use of tools to remotely compile and debug software on a desktop.
At this point you're trolling.
not trolling, just unwilling or unable to change I would guess
but also baically any computer will better than a phone
^^
Phones are practically like computer
Yeah, screw it
Dude I'm gonna block u
don't ping/mention me to help. i'm with Veelox and skull::king here
All I'm gonna say is try to write, debug, and test a whole cross-assembler between two distinct architectures on a mobile phone.
you can only see like 5 lines on a phone. On a computer you can see the entire lenght of the line and you can see more lines (like 20-40) and you keyboard doesn't take up half the screen and you have better control over where you are typing
Also there is better tooling for basically any computer (since at minimum you can run linux)
this is quite a complex task btw
extremely
it doesn't just port. They're completely different architectures
and especially games struggle
because they often rely on specific timings, which can be thrown off when changing
and even the assembly has different semantics, what you do in x86 could be a mess to do in ARM and vice versa
There is a reason we still use emulators for old games, and don't just port the assembly
doom is different. YOu have the source code, you could compile it for any architeecture you want, you don't need to go via the assembly
its written in c
exactly^^, I don't see why this needs assembly it wasn't even written in assembly
yes this is the source code
Specifically
this article is irrelevant?
Change doom from it's arch to arrch64
its talking about something completely unrelated
Read it
doom doesn't run in the cloud like what
Is doom x86 or 16bit
this seems incredibly advanced and barely related
x86 is 16-bit (well, it can be)
Yo man u don't know me
this artcle is explainig specifically how to migrate cloud-base processes to different architectures, for running on googles kubernetes services.
Its not really relevant to just re-compiling for different platforms
now obviously, doom is a cloud computing task split across multiple machines.
neither. Doom is written in c
pretty cross platform c I would guess
since its been running on machines for literally decades
the barrier is pretty low
I don't like adrenaline
you can run doom on a fridge
it has been ported to a lot of embedded devices
which often are not x86
regardless its definitely been ported to android already if thats what you want
No
what do you mean no?
at this point I'd give up, the information is not getting across to the point of defiance
I'm bailing, good luck
what does this mean?
like
Convert
I don't want to elaborate
how can I help if I don't know what you want to do?
But I'll tell u the steps
First clone doom and assemble and compile an run all in termux which is like linux
I write c and assembly
What to do with the README.asm
What's that
It's at the bottom of the repo
@cinder pelican
The later after the game works
I want to make WADS
like mods
I've read it
what confuses you then?
Do make o file
Of doomdef.c
Or use make
Make don't work
Make isn't working
Probably cuz it's different arch
Makefile
try making that folder
Bro I want to hurry up and go-to hell
To take over hell
He's a Duke in hell
@cinder pelican
do you own doom btw?
because you can't actually run this without a doom copy anyway
it doesn't have any of the assets
its just the code
Oh
you should try making a linux folder wherever you are calling make from
You still need real DOOM data to work with this code.
its in the readme
I want final doom for PlayStation version
Can use anything for the data
Like custom made
?
are you calling make from this location?
make inside the linux source folder wants a relative folder called linux for it to write the output files into
which would not be here
idk maybe
also suggest you check out https://zdoom.org/index which is an existing port of doom to modern hardware, maybe they already have a playstation version
no thats not what I said
you know how you said you write c and assembly, Im starting to think thats not true
Since you don't seem to understand build systems
im very confused
Mm
but you need to put the linux folder as a relative folder to the makefile
you don't move the make file
there isn't a label for make im not entirely sure what you mean
literally just do what you were doing originally
but make a folder first
Hey?
Idk what you mean
Okay
@cinder pelican
then call make?
apparently its an only linux file that isn't used anymore
What's that mean
Im not really sure you have the know-how to be doing this btw
like
you kinda need to understand these things
and its fine if you don't
but you might want to start with an easier project
well there are ways to find compatibility versions of this header
idk if it was fully removed, but it appears you don't have it
Like
yes
its not part of the repo
its part of linux
old linux
and it got replaced by different things
Ok
so it no longer exists anymore
again. This is just something someone trying to do this should probably know
Mm
What to do
To fix it
@cinder pelican
make your own, or replace all the uses with more modern versions

yes that is the link I sent with an example values.h file
you could put that in the project and it might help
not in the linux folder
in the same folder as everything else
its a source file not a binary file
ah okay well the problem is that gcc is expecting it to be a library file
hence why its telling you to replace <> with ""
and you should probably do that, since its no longer a library file
okay man like there is only so much I can spoonfeed before Im just doing it all for you
Mm
the error message basically tells you exactly what to do in a very clear manner
I have cancer and I want to go-to hell
im sorry but im not sure what either of those things have to do with the current situation
if you want someone to do something for you, maybe you could pay someone to do it idk
or just buy a copy of doom
I'm on a pension and public trustee
I gat barley enough
Header guards
Or #include some file
With ""
so that error tells you exactly what the problem is
and where it is
and even how to fix it
no
line 42 of doomtype.h
./doomtype.h:42:10 means line 42, column 10 in file doomtype.h
please read
is sys/shm.h in the kernel headers?
There isn't that file
apparently its the shared memory file but idk if its normally shipped with linux
I could understand value.h missing
Mm
not sure about this one
Shared mem
let me check and see if shm is in the linux headers package
or, conversely, you could open google
thats a description of the file yes
the difficult thing is that you probably can't just find a copy of this somewhere
Mm
its going to need to be specific to the linux distrubution
What's the grep
The second one doesn't work
define "doesn't work"
what OS is in that terminal
Termux app
what are you actually building on though
I think so
It's 9 am, can I start drinking?
@brave cape Has your question been resolved? If so, type !solved :)
Sup guys
No
@rigid ledge can i use this thread to shitpost now? 
let's just move on
fair
