Xoutpost.com

Xoutpost.com (https://xoutpost.com/forums.php)
-   Navigation System (https://xoutpost.com/electronics/navigation-system/)
-   -   Emulator and Decompiler (https://xoutpost.com/electronics/navigation-system/70596-emulator-decompiler.html)

fnc1 02-19-2010 04:18 PM

Emulator and Decompiler
 
So I've seen someone had said he figured out a way to get the emulator working.

I was wondering if anyone else has been able to get this going? So far I've figured out what the emulator is, and how to decompile the navboot file, and tried to get the shell to run, but i can't seem to get it to work..

I'm posting this here, hoping that someone else wants to play with this, and share information.

Decompiler Download

os9exec - os9 Emulator Download


neiloakley 02-20-2010 06:30 AM

Is this to emulate the nav software on a PC? Been looking for this for a long time.

Tell me how you set it up and i;ll try it out.

Rgds

KiwiJochen 02-20-2010 07:24 AM

Were you getting these errors?



# OS9exec V3.33: OS-9 User Runtime Emulator
# Copyright (C) 2006 Lukas Zeller / Beat Forster
# This program is distributed under the terms of
# the GNU General Public License
#
# Building CPU table for configuration: 68020/881
# 1852 CPU functions
# Building CPU function table (3 0 0).
# Platform: 'Windows - PC' (x86)
# - Windows Console Version
# - Using 68k-Emulator from UAE - Un*x Amiga Emulator (c) 1995 B. Schmidt

# Emulation could not start due to OS-9 error #000:216 (E_PNNF): 'shell'
# Path Name Not Found

# OS9 emulation ends here.

Me too :-(

KiwiJochen 02-20-2010 07:31 AM

# Usage: os9app [options] <os9program> [<os9parameters>,...]
# Function: Executes OS9-Program (which may start other os9 processes
# itself).
# <os9program> must be present within the tool's 'OS9C' resources,
# in the {OS9MDIR} directory or in the {OS9CMDS} directory
# Note: Options can also be entered using the /-char instead of the hyphen
# Options:
# -a num Use SCSI adapter <num>. (IDE interfaces also count as SCSI)
# -b num Use Bus <num> on specified SCSI adapter.
# -ah Show all devices on all SCSI (and IDE) adapters
# Note that devices in use by Windows cannot be used by OS9exec
# -c comment output to MPW window (preceede lines with #)
# -i disable internal commands
# -ih show internal command help
# -o disable output filtering (error message conversion)
# -oh show available output filters
# -t enable timing measurements
# -m n[k|M] Give 1st OS9 process extra static storage (kilo/mega)
# -mm n[k|M] Give all OS9 process extra static storage (kilo/mega)
# -p prio Run 1st OS9 process with prio (default=128, NOIRQ>=250)
# -d[n] msk set debug info mask [of level n, default=0] (default=1)
# -s msk set debug stop mask (default=0)
# -dh show debug/stop mask help
# -n [name] set name to trigger (causes debug stop)
# -w n set waitnextevent() interval in 1/60 sec (default=15)
# -fe use Fetch FTP name translation: '.' at filename beginning
# will be converted to '/' on Mac HFS)
# -f[o] use os9exec 1.14 dummy F$Fork emulation (no fork, but
# only writing command line to stdout; -fo causes
# cmd line generation for execution with 'os9' MPW tool)
# -x width define MGR screen width
# -y height define MGR screen width
# -z define MGR fullscreen mode
# -u user defined option
# -g ip_addr open MGR screen at IP address
# -h[h] show this help [and conditions for using the software]
#
# OS9exec V3.33
# 1993-2006 by luz/bfo ( [email protected] / [email protected] )

KiwiJochen 02-20-2010 07:32 AM

So... what is the executable to run on the nav OS?

fnc1 02-20-2010 12:27 PM

Hey Jochen: I see your back from holiday, i sent you some navcoder files the other day...

Anyway, that's about where I'm at....

Some things for people to look try:
- Open the files in the root of the Firmware upgrade CD in Notepad, Lots of junk in those files, but some useful info in plain text
- Decompile the navboot file.. go to a command prompt > and type decompile navboot (you might want to copy navboot and the decompiler to thier own directory)... once extracted you'll see lots of files, including one called shell... (which to me looks like the beginings of the os9 OS)

vince59it 02-23-2010 02:08 PM

Does this mean that someone was able to create a software to run the nav os on a PC?
Is the nav os the navboot ??? :dunno:

JBerto 02-24-2010 03:15 AM

Quote:

Originally Posted by neiloakley (Post 715217)
Is this to emulate the nav software on a PC? Been looking for this for a long time.

Tell me how you set it up and i;ll try it out.

Rgds

:yikes:

Is this possible? I must try it!

vince59it 02-24-2010 04:57 AM

myabe a little bit OT...did anybody succeeded in modifying romcol_1 in the navboot?

PS: I decompiled the navoboot...interesting but most of the stuff has not much meaning for me...:confused:

ccfj1 02-24-2010 06:38 AM

Quote:

Originally Posted by KiwiJochen (Post 715222)
Were you getting these errors?



# OS9exec V3.33: OS-9 User Runtime Emulator
# Copyright (C) 2006 Lukas Zeller / Beat Forster
# This program is distributed under the terms of
# the GNU General Public License
#
# Building CPU table for configuration: 68020/881
# 1852 CPU functions
# Building CPU function table (3 0 0).
# Platform: 'Windows - PC' (x86)
# - Windows Console Version
# - Using 68k-Emulator from UAE - Un*x Amiga Emulator (c) 1995 B. Schmidt

# Emulation could not start due to OS-9 error #000:216 (E_PNNF): 'shell'
# Path Name Not Found

# OS9 emulation ends here.

Me too :-(

Yeap me too...

ccfj1 02-24-2010 06:51 AM

Hmm, Ok the decomplier works with the 3.38 version of the os9exec files.

"c:\decomplie navboot"

not found the emulator yet

fnc1 02-25-2010 09:14 PM

There is very little information on getting the emulator to work, and even less info on getting the nav software to run..

But once decompiled, it looks to me, like that is indeed an OS inside the navboot file - just trying to figure out how to get it working is that part I was having issues with... Lots and lots of googling got me to this point so far.

If you do some searching you'll find that the os needs to be in the dd directory... but so far, ive yet to get it working...

Keep plugging along guys and post any developments you may have.

fnc1 02-26-2010 09:12 PM

Link fixed

fnc1 02-26-2010 10:01 PM

Ok try decompile some of the other files, in the same directory as the navboot file...
gsw_tools has some interesting looking test files....

big bob 03-07-2010 02:16 PM

Can I throw in a cheeky early request for automatic night mode when turning on the dash illumination? :D Does it come accross the K-Bus?

pete_c 03-07-2010 07:07 PM

Info on OS9 emulator
 
1 Attachment(s)
Quote:

# OS9exec V3.38: OS-9 User Runtime Emulator
# Copyright (C) 2007 Lukas Zeller / Beat Forster
# This program is distributed under the terms of
# the GNU General Public License
#
# Platform: 'Windows - PC' (x86)
# - Windows Console Version
# - Using 68k-Emulator from UAE - Un*x Amiga Emulator (c) 1995 B. Schmidt
# Building CPU table for configuration: 68020/881
# 1852 CPU functions
# Building CPU function table (3 0 0).
# Emulation could not start due to OS-9 error #000:216 (E_PNNF): 'shell'
# Path Name Not Found
# OS-9 emulation ends here.
From some searches

Quote:

lupito wrote:
Thanks again.

I also tried os9exec for linux and for win.

This is the result when run os9App.exe under win :

<snipped both examples>

That's because you need one of:

- an actual OS9 disk
- a file in your base directory called dd that contains an image of
a working OS9 disk
- a native (i.e. 'doze or Linux) filing system that contains a copy
of a working OS9 filing system and based on a directory called dd in
your base directory.

os9exec consists of a 68000 software emulation and code to emulate an OS9 kernel. The rest of the bits needed to make a working OS9 system are all run inside this environment and, as I said before, are all either OS9 executables (including the shell) put where they normally live or the configuration files, libraries, etc which muse also be put in the usual places.
I can download tOS9 development toolkit ? or i must order it ?

Talk to Allan Bateiger (aka OS9-Al), who's a US agent, or to Radisys (RadiSys) to find the nearest agent to yourself. They also have a free evaluation CD.


--
martin@ | Martin Gregorie
gregorie. | Essex, UK
Yes many files in navboot

ccfj1 07-29-2010 10:31 AM

Hmmm, Sorry to resurect an old post, but...

I've just had a small step forward with this and managed to get hold of an os9000 microwave disc image that "boots" the os9app into an unix/linux type shell.

os9000 disc image, Here

Download and then unzip, then make a copy of the mw.dsk and rename it to dd (thats it just dd), have it in the same dir as the os9app.exe and then run os9app.exe (in a cmd window).

I've only had a small play with it but it could be a small step forward.

Commands found so far:-

Load, mdir, ls and init (to quit).

Dir.

big bob 07-29-2010 10:43 AM

I don't know what this all means, but it sounds promising. :)

ccfj1 07-29-2010 10:47 AM

Well hopefully it means that we can "load" the decompiled nav modules into the emulator shell and mod stuff.

It looks like the disc image is missing a few tools ("ls dd", is empty), so it a baby step.

JBerto 07-29-2010 01:15 PM

Quote:

Originally Posted by ccfj1 (Post 758726)
Hmmm, Sorry to resurect an old post, but...

I've just had a small step forward with this and managed to get hold of an os9000 microwave disc image that "boots" the os9app into an unix/linux type shell.

os9000 disc image, Here

Download and then unzip, then make a copy of the mw.dsk and rename it to dd (thats it just dd), have it in the same dir as the os9app.exe and then run os9app.exe (in a cmd window).

I've only had a small play with it but it could be a small step forward.

Commands found so far:-

Load, mdir, ls and init (to quit).

Dir.

"That's one small step for a man, a giant leap for mankind" :thumbup:

Angelych 07-30-2010 01:19 PM

Quote:

Originally Posted by JBerto (Post 758756)
"That's one small step for a man, a giant leap for mankind" :thumbup:

:thumbup:

pete_c 07-31-2010 08:24 AM

Great news!

Reverse engineering the OS / setup would lead to a new chapter of DIY regarding the navigation system.

ccfj1 08-03-2010 08:55 AM

More commands:

Group 1: Basic Utilities
attr, backup, build, chd, chx, cop,y date, del, deldir, dir, dsave, echo, edt, format, free, help, kill, list, makdir, merge, mfree, pd, pr, procs, rename, set, setime, shell, w, wait.

Group 2: Programmer Utilities
binex, cfp, cmp, code, compress, count, dump, ex, exbin, expand, frestore, fsave, grep, load, logout, make, printenv, profile, qsort, save, setenv, tape, tee, tmode, touch, tr, unsetenv.

Group 3: System Management Utilities
break, dcheck, deiniz, dev,s diskcache, events, fixmod, iden,t iniz, irqs, link, login, mdir, moded, os9gen.

Some work some don't.

hell 11-07-2010 07:57 PM

a serious problem might be that os9exec emulates motorola68k CPU, thus run os9/m68k programs while the mk2-mk4 series based on MIPS platform... I think mk1 is based on m68k though

pete_c 11-14-2010 02:16 AM

Did a google search relating to the CPU. Found this instead. It almost looks like its plug n play. It must talk to the IBUS.

Anyone buy one of these yet? Dynavin E46 Radio

I understand that this will not replace the NAV in the E83 and is specifically for the E46 and not everyone that has an E83 also has an E46.

dynavin

This is a custom E46 style GPS HU. Looked over threads from V1 to current V5. Sounds impressive. Looks plug n play. With this in place would most likely take the CarPC out.

Dynavin Frequently Asked Questions....READ First - E46Fanatics

Samerqatar 08-28-2011 03:00 PM

obviously those are viruses for your PC guys

pampyras 02-28-2012 05:54 PM

What news about emulating OS9?

ccfj1 02-29-2012 04:04 AM

None mate, its stalled :(

pampyras 02-29-2012 04:43 AM

OK, I will try do some experiments, if any luck I will post :)

ccfj1 02-29-2012 04:45 AM

If you need any of the tools I have then I'm happy to send you them mate.

pampyras 02-29-2012 04:47 AM

Well I would need OS9 decompiler, because I couldn't find it anywhere

ccfj1 02-29-2012 04:50 AM

you have PM

iMini1D 03-08-2012 08:46 AM

Bu using NavTweak I can extract files from navboot.
It that the same as Decompiler?

I tried to run os9exec version 338 for Windows (os9exec_338_Windows) with files I extracted but no success. Maybe I am doing something wrong?

Here is what I did
1. in Window 7, start CMD with admin right
2. in cmd got to directory with os9exec and bin directory.
3. extract file from navboot to the same folder as os9exec using NavTweak
4. in cmd type os9app.exe kernel

no matter which program I extracted from navboot, it returns the same thing

# OS9exec V3.38: OS-9 User Runtime Emulator
# Copyright (C) 2007 Lukas Zeller / Beat Forster
# This program is distributed under the terms of
# the GNU General Public License
#
# Platform: 'Windows - PC' (x86)
# - Windows Console Version
# - Using 68k-Emulator from UAE - Un*x Amiga Emulator (c) 1995 B. Schmidt
# Building CPU table for configuration: 68020/881
# 1852 CPU functions
# Building CPU function table (3 0 0).
# Emulation could not start due to OS-9 error #000:216 (E_PNNF): 'shell'
# Path Name Not Found
# OS-9 emulation ends here.
H:\OS9\os9exec_338_Windows>os9app.exe kernel
# Emulation could not start due to OS-9 error #000:216 (E_PNNF): 'kernel
'
# Path Name Not Found


ccfj1:
Can I have a copy of decompiler too?
Can you show me how you got Emulator work also

Many thanks

ccfj1 03-08-2012 08:54 AM

Quote:

Originally Posted by iMini1D (Post 869471)
Bu using NavTweak I can extract files from navboot.
It that the same as Decompiler?

Yes, in effect it is.

Quote:

I tried to run os9exec version 338 for Windows (os9exec_338_Windows) with files I extracted but no success. Maybe I am doing something wrong?

Here is what I did
1. in Window 7, start CMD with admin right
2. in cmd got to directory with os9exec and bin directory.
3. extract file from navboot to the same folder as os9exec using NavTweak
4. in cmd type os9app.exe kernel
Have you loaded the os9 disc image mate?? (you need a os9 disc image called DD in the same dir as the os9app.exe file).

Quote:

no matter which program I extracted from navboot, it returns the same thing

# OS9exec V3.38: OS-9 User Runtime Emulator
# Copyright (C) 2007 Lukas Zeller / Beat Forster
# This program is distributed under the terms of
# the GNU General Public License
#
# Platform: 'Windows - PC' (x86)
# - Windows Console Version
# - Using 68k-Emulator from UAE - Un*x Amiga Emulator (c) 1995 B. Schmidt
# Building CPU table for configuration: 68020/881
# 1852 CPU functions
# Building CPU function table (3 0 0).
# Emulation could not start due to OS-9 error #000:216 (E_PNNF): 'shell'
# Path Name Not Found
# OS-9 emulation ends here.
H:\OS9\os9exec_338_Windows>os9app.exe kernel
# Emulation could not start due to OS-9 error #000:216 (E_PNNF): 'kernel
'
# Path Name Not Found
That wont work, as there is no link between the disc image and the "real world" dir (that the kernel file sits in).

This is essentially the problem, I can decompile the navboot, but I cant get them into the OS9 environment (to be able to run the config_tool).

Quote:

ccfj1:
Can I have a copy of decompiler too?
I do.

Quote:

Can you show me how you got Emulator work also

Many thanks
You pretty much have it mate, you just need the DD disc image and the decompiler. PM you real email and I'll sent them to you.

zyz 11-18-2013 11:01 AM

Hi guys,

I registered here specially to resurrect this topic. Was there any progress?

Found may be interesting info:
Wiki :: en_OS9_x86_Install

Did anyone know about QEMU? It supports MIPS as well, so it might be possible to create virtualbox for navboot, I hope...

Don't have much time at the moment, so would be grateful if you share what have you found by now...

ccfj1 11-19-2013 04:34 AM

Very interesting, I've downloaded and tried it.

However, I cant get the network part to install as the installer says "invalid use of install", I may require installing on a native XP machine.

As for updates, None... if this provides a way of allowing the navboot (or files therein) to be "loaded" into the os9 install AND the config_tool runs then that would be a huge step forward.

Good find though :)

zyz 01-15-2014 01:16 PM

Sorry for rare posting,
unfortunately I also could not get network part working, seems the TAP driver does not fit Win7, and then one installed from latest version of OpenVPN does not fit current OS image...

Just to share another finding:
OS-9 LV II and OS-9000 x86 images

There is a link (still working) to the Microware evaluation CD, (only for x86 tough) with Hawk development environment, unfortunately not checked yet and no idea, whether it might be useful somehow or not...

zyz 01-30-2014 11:40 AM

Finally got working the network part with the emulator above on Win7.
Simply download latest OpenVPN package, unpack end extract x64 tap driver. Then go to Device Manager->Action->Add Legacy Hardware, then point to the .inf file of the driver extracted. Et voila! Now I can connect from host to emulated OS as in doc above.
Note: if the driver from previous install approaches is present in Device Manager (typically as "unknown device"), it needs to be removed manually, "update driver" does not work.

The .bat file included to .zip package needs to be adapted for a new driver path and also "run as Administrator".

Also works fine with latest QEMU binaries for Win that could be found here: Qemu On Windows

ccfj1 01-30-2014 12:01 PM

Hey zyz, good work,

I cant seem to find the x64 tap driver though, all the files I can find are .exe or msi, so I cant extract them, do you have a location for the driver part only?

ccfj1 01-30-2014 12:25 PM

Scratch that I now have a login on 10.0.2.14!!!

now to try and upload and use the configtool

ccfj1 01-31-2014 11:17 AM

OK, uploaded the config_toolm, but I can run it or even get into the dir thats holding the files!!!

anyone have any syntax options for things like dir/ls or run etc???

zyz 01-31-2014 12:46 PM

Sorry I didn't get what are you trying to do.
Walked through the directories, it seems like the image was built based on eval CD I provided link to.
Now I guess we have to think the way of building an image for MIPS VM...

tixik 05-04-2017 04:20 AM

Hi,

I am working on hacking of E65 MOST bus with implementation of Raspberry Pi.

Project page
https://www.youtube.com/watch?v=Lf_BmMbcn3E

It would be helpfully to me to disassembly navigation firmware source codes. To get detailed information about MOST commands.

Would you mind sending decompiler to me? Megaupload no longer exists and I can't find decompiler on internet.

Thank you very much.


All times are GMT -4. The time now is 12:46 AM.

vBulletin, Copyright 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0
© 2017 Xoutpost.com. All rights reserved.