Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   RoboEmu & RoboGUI (http://www.chiefdelphi.com/forums/showthread.php?t=22168)

rbayer 07-10-2003 22:50

Quote:

Originally posted by Dave Flowerday
If it's possible, maybe you could use gcc. That way you could include the compiler as part of the package. And as far as having to recompile it every time, you could probably have your GUI do it automatically, so when someone opens their C file it automatically compiles it into a library. The RC code should be simple enough that it should compile in a matter of seconds.
Hmmm... intriguing. I definately like the idea, and it would be really easy to do as just a .bat file. The only issue I have is that gcc is freaking HUGE and its availability for Windows is sketchy at best (Cygwin can be a complete pain). Anyone know of any smaller compilers?

Dave Flowerday 07-10-2003 23:16

Quote:

Originally posted by rbayer
The only issue I have is that gcc is freaking HUGE and its availability for Windows is sketchy at best (Cygwin can be a complete pain). Anyone know of any smaller compilers?
I'm not sure of all the libraries that you'd need to accompany gcc, but:

gcc.exe 86k
cygwin1.dll 948k
libc.a (stripped) 416k
libm.a (stripped) 113k

Depending on how much else would be needed for a functional gcc environment, that's about 1.5M, which isn't too bad...

FotoPlasma 07-10-2003 23:32

Two other free win32 C compilers are lcc and djgpp.

Hope this helps a little.

Dave... 24-10-2003 17:25

Sounds great; let me know when its ready.

WizardOfAz 27-10-2003 23:35

Quote:

Originally posted by Adam Y.
I thought MPLAB allowed for limited simulation of codes. I guess I really should reinstall it.
I have been unable to find much interaction about the MPLAB simulation features but I'm starting to try to grokk it. Anybody know much about it? Anybody care to contrast it with RoboEmu?

For the record, RoboEmu was a fantastic tool for our team last year. We were a budget constrained first year team, so without RoboEmu we would have had only one way to run programs.

THANK YOU ROB!

Mercutio 07-12-2003 18:51

Re: RoboEmu & RoboGUI
 
that would make me VERY HAPPY!!!!!

The other programmer on my team decided to take the Edu controller home until he knows C -- which could take a while, since he seems to program entirely by trial and error. :rolleyes: So, I have no way to get used to the new chip except writing a bunch of test programs, giving them to him, and hoping he runs them and gives me back the results. Talk about tedious.

Even if the new RoboEmu can't simulate the EduBot, it will still be very useful. Thank you so much!!!!! :D

~Aaron

P.S. Another nice C++ compiler is MinGW. I don't know if it fits your needs, but I got it with Dev C++ and I like it a lot!

Anthony Kesich 09-12-2003 00:01

Re: RoboEmu & RoboGUI
 
Yes, minGW is quite nice. It works very well with Dev C++, which i would also recomend to anyone who wants a C/C++ compiler. Its free, open-source, colorcoded, and looks good. Plus it has power to boot.

P.S.Doesn't it also come with GCC for C compiling?

Raven_Writer 09-12-2003 14:58

Re: RoboEmu & RoboGUI
 
Quote:

Originally Posted by Anthony Kesich
Yes, minGW is quite nice. It works very well with Dev C++, which i would also recomend to anyone who wants a C/C++ compiler. Its free, open-source, colorcoded, and looks good. Plus it has power to boot.

P.S.Doesn't it also come with GCC for C compiling?

Yes, GCC comes with it. But there's some trouble w/ both of them (I forgot what it was though).

Almost (I THINK) every (C/++) compiler out there has syntax highlighting (color corded).

Mercutio 09-12-2003 20:47

Re: RoboEmu & RoboGUI
 
Quote:

Originally Posted by Raven_Writer
Almost (I THINK) every (C/++) compiler out there has syntax highlighting (color corded).

Most IDEs have syntax highlighting. Most compilers don't. ;)

Raven_Writer 10-12-2003 18:14

Re: RoboEmu & RoboGUI
 
Quote:

Originally Posted by Mercutio
Most IDEs have syntax highlighting. Most compilers don't. ;)

Woops..sorry :) I was really sick yesterday, so I wasn't really sure what I was really saying.

LBK Rules 13-12-2003 22:50

Re: RoboEmu & RoboGUI
 
Ok, I think I am lost. If you are talking about recompiling the emu for each program, I think that would be a little overkill. (If that's the case, please use Dev-C++)

How hard would it be to creat an emulator for the HEX files that are downloaded to the RC?

Raven_Writer 13-12-2003 22:56

Re: RoboEmu & RoboGUI
 
Quote:

Originally Posted by LBK Rules
Ok, I think I am lost. If you are talking about recompiling the emu for each program, I think that would be a little overkill. (If that's the case, please use Dev-C++)

How hard would it be to creat an emulator for the HEX files that are downloaded to the RC?

That was my point...but since Rob is already working on it, I decided to drop the project idea.

As for the emulation for HEX files, it might be difficult. You'd need the file specs I think. Anywho, the specs for .hex files aren't out, I don't think. If anyone can prove me wrong, please...because I'd love to see the specs for the format.

Jay Lundy 13-12-2003 23:08

Re: RoboEmu & RoboGUI
 
Quote:

Originally Posted by Raven_Writer
That was my point...but since Rob is already working on it, I decided to drop the project idea.

As for the emulation for HEX files, it might be difficult. You'd need the file specs I think. Anywho, the specs for .hex files aren't out, I don't think. If anyone can prove me wrong, please...because I'd love to see the specs for the format.

Here is a document on the HEX format:

http://www.microchip.com/download/ap...cxx/91026a.pdf

It's for the C16 but it should still apply to the C18.

Also try searching google for "INHX32" or "INHX8M."

Raven_Writer 14-12-2003 09:12

Re: RoboEmu & RoboGUI
 
Quote:

Originally Posted by Jay Lundy
Here is a document on the HEX format:

http://www.microchip.com/download/ap...cxx/91026a.pdf

It's for the C16 but it should still apply to the C18.

Also try searching google for "INHX32" or "INHX8M."

Thank you. That is pretty useful for it.

Wouldn't Robo* have to have an emulator for the HEX file anyways though?

randomperson 15-12-2003 22:26

Re: RoboEmu & RoboGUI
 
Hmm... a emulator for the new PIC controller... now that would be awesome.


All times are GMT -5. The time now is 19:53.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi