Hi all,
I recently heard about FowardCom and I am pretty interested in playing around with the bintools and emulator, since the website said it is available. However, looking at code in the GitHub it looks like the emulator (and also the linker) is not there. Does the emulator still need to be written? Just curious what the status actually is of the bintools and maybe I can help out for the emulator if it is not finished.
Current status of bintools
Moderator: agner
Re: Current status of bintools
Thanks for your interest. All the tools are there, including emulator. What may confuse you is that all the tools are combined into a single executable file. See the manual for how to use it.
You can find a windows executable in forw.zip. In other operating systems, you have to compile the executable using makefile.
You can find a windows executable in forw.zip. In other operating systems, you have to compile the executable using makefile.
Re: Current status of bintools
Sorry, I had jumped to conclusions. I wasn't clear on why I didn't think the emulator was there. I was trying to run the hello.as example by running and got the following output:
I do have libc.li, hello.as and forw in the same directory as the script.
The main reason I didn't think the emulator was there was because I was looking at the code and it look like the '-link' and '-emu' options didn't seem to do anything
https://github.com/ForwardCom/bintools/ ... mdline.cpp
Am I doing something wrong with executing make_example.sh? Does the GitHub not have the latest code? Thanks!
Code: Select all
./make_example.sh hello
Code: Select all
$ ./make_example.sh hello
Input file: hello.as, output file: hello.ob
Converting from Assembly to ForwardCom ELF
Error 8199: No more than one input file and one output file can be specified
Error 8201: Cannot read input file hello.ex
The main reason I didn't think the emulator was there was because I was looking at the code and it look like the '-link' and '-emu' options didn't seem to do anything
https://github.com/ForwardCom/bintools/ ... mdline.cpp
Code: Select all
case CMDL_JOB_LINK:
break;
case CMDL_JOB_LIB:
break;
case CMDL_JOB_EMU:
break;
...
void CCommandLineInterpreter::interpretLinkOption(char * string) {
// Interpret linker options
}
void CCommandLineInterpreter::interpretEmulateOption(char * string) {
// Interpret emulate options
}
Re: Current status of bintools
Thank you for reporting this problem.
Now I have updated the code and fixed a problem with Linux. Does it work now?
Now I have updated the code and fixed a problem with Linux. Does it work now?
Re: Current status of bintools
Updated the git repo and it works now! Tried it on macOS too. Thank you for the fix. Looking forward to playing around with this