Quote:
|
Originally Posted by mikew
The ifi loader distribution comes with a copy of the dll. I think I extracted my copy from a win98 system.
|
Good to know... Was this documented somewhere, and I just missed the boat? Please don't take this the wrong way or anything, but would you mind if I help you out with the documentation? Either I'm missing threads on here with regard to getting this thing to work, or documentation is just lacking at the moment. Either way, I think everyone will benefit if we can get some good docs regarding Linux as a development environment.
If all goes well, I might even be able to set up a CVS server with a repository for any team that might want one. Might be useful. Would be nice we we can reduce the code to cvs update && make && ifi_loader_clone foo.hex /dev/ttyS0 or something of that nature.
Also, again not to step on your toes regarding the great work you're doing, but are we legally allowed to distribute the two dll files you have? It might be worth it just to be "clean" to instruct people to copy them from a Windows98 install, or obtain them by some other means. Not sure what the status is, but they're probably copyrighted Microsoft property.
OK, so I copied the crt.dll and msvcrt.dll from the ifiloader tarball into my fake_windows/Windows/System (Not System32, as I did last time) and then changed the win version line in the config to:
Code:
[Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win2k3,win20,win30,win31)
"Windows" = "winxp"
; DOS version to imitate
; "DOS" = "6.22"
and the mcc18.exe compiler is giving me some complaints about not being able to find a header file. Looking good.
Trying to compile user_routines.c by hand, from the command line, I get this:
Code:
silas@frink:code$ wine -- mcc18.exe -p=18F8520 -fo user_routines.o user_routines.c /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Wine exited with a successful status
SWEET! OK, so would anyone like to comment on what content I should include in any documentation type things I'm planning on preparing? I personally run Debian GNU/Linux, so my instructions and examples will probably be from this perspective. Thoughts?