MS2DL

This is a forum for discussing the development and testing of alpha MS2/Extra code. Documentation
(Runs on MS2 and Microsquirt)

Moderators: jsmcortina, muythaibxr

Post Reply
shiftless
MS/Extra Newbie
Posts: 15
Joined: Sun May 09, 2004 10:50 am

MS2DL

Post by shiftless »

Where can I find the source for ms2dl? I am interesting in porting it to Linux.
6040solder
Experienced MS/Extra'er
Posts: 307
Joined: Mon Oct 22, 2007 7:15 am
Location: Auckland, New Zealand

Post by 6040solder »

you might want to start with kens existing port included with each beta. or at least, it was included with each beta. if you cant find it, i can attach a copy here.
muythaibxr
Site Admin
Posts: 8228
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

That wasn't so much a port as it was a rewrite in C.

It always worked fine for me as well, but several others seemed to have trouble with it. I'm thinking because the default state of the serial port settings differs by machine.

Ken
6040solder
Experienced MS/Extra'er
Posts: 307
Joined: Mon Oct 22, 2007 7:15 am
Location: Auckland, New Zealand

Post by 6040solder »

muythaibxr wrote:That wasn't so much a port as it was a rewrite in C.
muythaibxr wrote:/* This program is a VERY quick and dirty hack which will be cleaned up later
* I wrote it very quickly in order to be able to reflash the MS2 from linux, so
* things like comport speed, etc... are hardcoded
* and I'm using blocking I/O when non-blocking would be better, and
* I can get into situations that require the boot jumper on occasion
* This program is based on efahl's ms2dl C++ program, but ported to Linux. and
* rewritten in C.
*
*
* $Id: lin_ms2dl.c,v 1.3.2.1 2007/03/25 16:28:35 culverk Exp $
*/
Just going by what you said in the file :-)

Attached for his/others reference.
UnaClocker
Super MS/Extra'er
Posts: 1933
Joined: Fri May 07, 2004 12:59 pm
Location: Tacoma, WA
Contact:

Post by UnaClocker »

Sweet.. Now if someone could port MegaTune to Linux.. hehe.. I'd love to be able to use Linux with my MSII..
Brian
'84 Dodge Rampage
6040solder
Experienced MS/Extra'er
Posts: 307
Joined: Mon Oct 22, 2007 7:15 am
Location: Auckland, New Zealand

Post by 6040solder »

UnaClocker wrote:Sweet.. Now if someone could port MegaTune to Linux.. hehe.. I'd love to be able to use Linux with my MSII..
Your efforts might be better spent learning how to use glade and helping design the front end for MTX ready for David to complete his ground up rework of the core components.

MT is written in C++ using M$ Visual studio, I believe that it uses M$ libraries too, if thats the case you would basically need to rewrite all the GUI stuff and probably everything that interfaces with it. I could be a bit off the mark there.

Having said that, it already works pretty well with wine at least most of the time.
muythaibxr
Site Admin
Posts: 8228
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

I believe there is also someone doing a ground-up effort in Java... which would work pretty much anywhere.

Ken
6040solder
Experienced MS/Extra'er
Posts: 307
Joined: Mon Oct 22, 2007 7:15 am
Location: Auckland, New Zealand

Post by 6040solder »

Have you got a link? I had a solid look around and failed to find any reference to that :-|
muythaibxr
Site Admin
Posts: 8228
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

No link as it has not been released yet.
Post Reply