Skip to content
This repository has been archived by the owner on Feb 14, 2020. It is now read-only.

compile to .COM/.EXE file? #2

Open
aquynh opened this issue Sep 14, 2015 · 6 comments
Open

compile to .COM/.EXE file? #2

aquynh opened this issue Sep 14, 2015 · 6 comments

Comments

@aquynh
Copy link

aquynh commented Sep 14, 2015

this is such a great game. but can you get Makefile to compile this to .COM (or .EXE) file to run in DosBox or DosEmu?

thanks.

@causal-agent
Copy link
Collaborator

It's programmed as an OS, not to run in DOS. It runs in any x86 emulator.

@aquynh
Copy link
Author

aquynh commented Sep 14, 2015

yes but with some little modification, you can compile it to a .COM file as well. running this in DosBox/DosEmu is way more convenient than in a system emulator.

an example: a .COM file can run in DOS emulator on IOS/Android.

thanks.

@causal-agent
Copy link
Collaborator

I'd be willing to accept a PR for this.

This looks like it contains useful information: http://nullprogram.com/blog/2014/12/09/

@aquynh
Copy link
Author

aquynh commented Sep 14, 2015

the other game was in a very similar situation with your game, and they just made this possible:
icebreaker/floppybird@588bc20.

@causal-agent
Copy link
Collaborator

That approach doesn't work here, since Tetrasm assembles object files then links them, rather than %include all of the source files.

@causal-agent
Copy link
Collaborator

Managed to hack around that in feature/com-build, but I get a whole slew of errors from DOSBox such as:

Illegal read from b1e201c, CS:IP      192:     bd3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants