mpw
mpw copied to clipboard
Unbelievable....
I wrote pretty much exactly the same thing last week. I wonder why your project did not pop up when I researched the issue.
Anyway, congrats! Avery nice and clean implementation. I will try later today if this app already does everything I need. I plan to run the original Apple developer tools, cross compiler, etc. .
If you are interested, feel free to take a look at my code. If you like suggestions, help, or maybe even like to merge, please let me know: [email protected]
Matthias
http://code.google.com/p/dynee5/source/browse/trunk/Alienate/mosrun/Notes.txt
Wow, that's quite interesting. The same approach and the same problems with undocumented MPW interface. I've been working on this since March or April but the repo wasn't public until 4 days ago.
I also found this project when I was researching, but it didn't seem to get very far: https://github.com/lordhoto/macloader-ex https://github.com/lordhoto/macloader
Kelvin
Hah, that explains why I did not find it. I searched about a week ago ;-). I added some stuff today, making the ARM cross assembler work AFAIK. It's quite fascinating how they put a minimal Unix interface into MPW.
The Posix header files in the MPW CIncludes directory were quite helpful. The rest is reading the Code Dump from the tools. I never could get MacBugs to run on BasiliskII to do some traces.
Ah, macloader, yet another attempt. We should really be able to extract a perfect emulator out of all the collective knowledge. Oh, and I envy you guys for your beautiful code. Mine's always such a mess ;-)
On 30.07.2013, at 03:12, ksherlock [email protected] wrote:
Wow, that's quite interesting. The same approach and the same problems with undocumented MPW interface. I've been working on this since March or April but the repo wasn't public until 4 days ago.
I also found this project when I was researching, but it didn't seem to get very far: https://github.com/lordhoto/macloader-ex https://github.com/lordhoto/macloader
Kelvin
— Reply to this email directly or view it on GitHub.
It's kind of funny, you're interested in MPW for the arm cross development tools, I'm interested in MPW for the 65816 cross development tools. I guess anybody still doing mac classic development just uses MPW.
Anyhow, if the arm stuff doesn't work with my emulator, I'd be glad to add whatever support it needs. I don't have the tools to test, though.
And my code was much messier at first :)
Kelvin
Hi Kelvin,
On 03.08.2013, at 22:40, ksherlock [email protected] wrote:
It's kind of funny, you're interested in MPW for the arm cross development tools, I'm interested in MPW for the 65816 cross development tools. I guess anybody still doing mac classic development just uses MPW.
Yeah, I could not think of another reason. After using MPW for a few minutes, I really want to go back to Xcode or even to Unix, vi, and gmake... .
Is that for SNES? That must be exciting work.
Anyhow, if the arm stuff doesn't work with my emulator, I'd be glad to add whatever support it needs. I don't have the tools to test, though.
I am pretty good at this point. All tools that I need seem to work (I will test an actual build tonight). Vice versa, if you like to try your tools with 'mosrun', I have attached the command line tool for OS X Intel. Just go into the shell and type
mosrun ---run path/to/my/tool args
(that is a triple dash)
If called stand-alone, it will run the integrated ARM6asm assembler. And the source code is current and online as well.
And my code was much messier at first :)
Phew ;-)
Matthias
Hi you two, thanks for creating mpw and mosrun. I used MPW too. BasiliskII has been frustrating. I was going to go and work on something like this, hoping that the few tools I use from MPW don't do any self modifying code and translate them to C using the guts of the emulator in bII, but now I have a great shortcut!
I don't know how to contribute to code.google.com so here's a little Makefile I created to remove dependancy on cmake:
LDFLAGS = -m32
CFLAGS = ${LDFLAGS} -Wno-multichar -Wno-unused-result
CXXFLAGS = ${CFLAGS}
CXXSRCS = names.cpp main.cpp log.cpp memory.cpp breakpoints.cpp fileio.cpp \
resourcefork.cpp cpu.cpp rsrc.cpp traps.cpp filename.cpp systemram.cpp \
MosResource.cpp
CSRCS = musashi331/m68kops.c musashi331/m68kopac.c musashi331/m68kopnz.c \
musashi331/m68kdasm.c musashi331/m68kcpu.c musashi331/m68kopdm.c
OBJS = ${CXXSRCS:.cpp=.o} ${CSRCS:.c=.o}
mosrun : ${OBJS}
${CXX} ${LDFLAGS} -o $@ ${OBJS}
Also I could not grab newt0 and fltk per the instructions, but I did not need them:
$ svn co svn://so-kukan.com/gnue/NEWT0/branches/DyneTK newt0
svn: E000061: Unable to connect to a repository at URL 'svn://so- kukan.com/gnue/NEWT0/branches/DyneTK'
svn: E000061: Can't connect to host 'so-kukan.com': Connection refused
$ svn co http://svn.easysw.com/public/fltk/fltk/branches/branch-1.1 fltk
Redirecting to URL 'http://www.easysw.com':
svn: E175002: Unable to connect to a repository at URL 'http://www.easysw.com'
svn: E175002: The OPTIONS request returned invalid XML in the response: XML parse error at line 104: mismatched tag (http://www.easysw.com)
Thanks again!