Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
PERN Project SDK's and Emulators   Message List  
Reply | Forward Message #4833 of 15019 |
Re: [gbadev] PERN Project SDK's and Emulators

Sounds good. I'm also planning on writing a GBA IDE using ATL and WTL. I
recently start doing ATL programming at work so I think this is a good
project for me to get more familiar with template based programming. Of
course a good interface is needed to communicate between the emulator and
the IDE, thats why I mentioned that GDB uses TCP in my original response. I
wasn't trying to argue, I mean, you completely agreed with me. GCC is a
console mode program and thats appropiate to call that externally. I mean, I
know I cant write an emulator, and there's certainly no way to compile GCC
under Visual C++ (which is stupid, imho, you can compile SDL under Visual
C++ and thats cross-platform). But in my opinion the less console mode apps
we use the better. There's no real reason for example to ues GDB, when you
can just like you said have the IDE communicate to the emulator directly.
Granted an emulator can be designed to work with GDB only and everything
else like an IDE marshall through calling GDB, but I know another emulator
(falch.net) that does that and its very slow when stepping through code,
because it has to keep on using GDB as the middle man.

As far as the emulator, its probably better to make it an ActiveX control.
DLL's share process space inside memory. Its probably better to isolate the
ActiveX control into out of process so a bug in the emulator wont crash the
IDE. Only problem with this is intercommunication is slightly slower since
you have to use proxy/stub DLL's. But since your probably just sending a
list of breakpoints or other type commands, that kind of speed isn't really
necessary.

Matt Johnson

> When I wrote CGBide, I got console stuff working nicely. What you need is
a decent debugging interface to the emulator (shared memory, COM object, or
more simply as a DLL) and then the ide writer can adapt to that interface.
> And anyway, I know of a particular emulator author planning on using it.






Sun Jul 1, 2001 7:25 pm

matt2000@...
Send Email Send Email

Forward
Message #4833 of 15019 |
Expand Messages Author Sort by Date

First of all Hat's off to the PERM project and it's author. Such a GREAT way for someone to get started using GBA. Just being able to run the tutor1 demo...
eagle@...
Send Email
Jun 30, 2001
6:46 pm

I have never used the project manager that comes with arm sdt as I much prefer the visual C ide. There are a few tools that make compiling directly from the...
Rogers, Jason L. ET2 ...
rogersjl@...
Send Email
Jul 1, 2001
2:41 am

By modifying the template, I can actually build [your] tutor.bin directly in the project manager. with a one liner shortcut to a .bat file containing Igba...
eagle@...
Send Email
Jul 1, 2001
3:17 pm

I highly doubt thats possible. I'm investigating the ELF format now, and its use with EloGBA as some sort of source level debugging. But thats way far in ...
Matt Johnson (DH)
matt2000@...
Send Email
Jul 1, 2001
3:22 pm

There is a nice little tool that comes with the binutils called addr2line. You can use the debugging information output by the compiler in combination with...
Andrew Rollings
andrew_rollings@...
Send Email
Jul 1, 2001
3:47 pm

I dont see emulator authors using it. It seems better to import the information directly from the debug output file. There's no clean way to facilate console...
Matt Johnson (DH)
matt2000@...
Send Email
Jul 1, 2001
6:05 pm

When I wrote CGBide, I got console stuff working nicely. What you need is a decent debugging interface to the emulator (shared memory, COM object, or more...
Andrew Rollings
andrew_rollings@...
Send Email
Jul 1, 2001
6:55 pm

I kind of missed this conversation, but I'm guessing it's about adding full C-source debugging to the emulators. Parsing an elf file for debug information...
Jeff S
jeff@...
Send Email
Jul 1, 2001
7:16 pm

An alternative would be to generate a map as part of the build process, so that it wasn't necessary to constantly spawn addr2line. I took a brief look at the...
Andrew Rollings
andrew_rollings@...
Send Email
Jul 1, 2001
7:20 pm

Sounds good. I'm also planning on writing a GBA IDE using ATL and WTL. I recently start doing ATL programming at work so I think this is a good project for me...
Matt Johnson (DH)
matt2000@...
Send Email
Jul 1, 2001
10:21 pm

It seems a lot of us have the same goals. Perhaps we can group efforts? That is, Andrew, if your willing to give up MFC in favor of ATL/WTL ;-) There's an...
Matt Johnson (DH)
matt2000@...
Send Email
Jul 1, 2001
10:23 pm

What about this: Is there a way to [at least] via one of the emulators (say, Igba for example), to include some print statements tyhat would go to some kind...
eagle@...
Send Email
Jul 2, 2001
9:50 am

... Hash: SHA1 ... Apropos IDE: I plan to add GBA support to the coming KDevelop 3.0 (an Linux/Unix IDE,http://www.kdevelop.org) so it will be a complete IDE...
Sandy Meier
smeier@...
Send Email
Jul 2, 2001
9:50 am

I'm thinking that even if you got sound working, there enough things missing from release 1 of EloGBA that you'd end up having to re-write such large portions...
Thomas
sorcererxiii@...
Send Email
Jul 2, 2001
7:22 pm

Feedback would be more than welcome. As far as source level debugging I beileve the only option curently available is via jeffs cable and using a stub ( a...
Rogers, Jason L. ET2 ...
rogersjl@...
Send Email
Jul 2, 2001
5:04 pm

... that it wasn't necessary to constantly spawn addr2line. I took a brief look at the elf docs, but haven't delved in yet. Too many other things on my plate. ...
Neil Graham
lerc@...
Send Email
Jul 2, 2001
5:04 pm

... As addr2line is part of the GNU binutils, the sources are indeed available. However, it is licensed under the GPL, which you must take into account if you...
Anders M Montonen
ammonton@...
Send Email
Jul 2, 2001
7:23 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help