I meant date modified.Your part about "time modified" has me a bit confused
Does the newer PBPL save a .pbp in place of a .bas file for compile?
In windows run
E:\1PicBasicPro\PBP\PBPL.exe -ampasmwin -p18f4520 "E:\1PBP\Headings\09-06-26-05 18F4520 4MHz Heading,Int OK.pbp"
gets a brief flash of a DOS screen but no updated .hex file.
Norm
pbp or bas. both are valid.
Check the error file to maybe see what is wrong. Could be an error in the code. If so then a hex will not be created or updated.
Dave
Always wear safety glasses while programming.
This is what I use when on a Linux box and do not have the "paths" set.
Basically what happen is PIC BASIC does it's thing by making an ASM file per MPASM's standards, and then MPASM runs to convert the ASM to HEX.Code:cd /home/shop/MAC/PIC\ LINUX/SweepBot wine c:/pbp/pbpw -e -s -ac:/Program\ Files/Microchip/MPASM\ Suite/MPASMWIN -p16f676 z:/home/shop/MAC/PIC\ LINUX/SweepBot/SB1.bas wine c:/Program\ Files/Microchip/MPASM\ Suite/mpasmwin /e /l SB1.asm
Should work on windows too...Once you get rid of the "wine" and fix up the "/ \ / \ / \"![]()
Dave
Always wear safety glasses while programming.
Path set as:Do you have C:\Program Files\Microchip\MPASM Suite; in your PATH?
I:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\;I:\P rogram Files\Borland\BDS\4.0\Bin;%SystemRoot%\system32;%S ystemRoot%;%SystemRoot%\System32\Wbem;I:\Program Files\Microchip\MPASM Suite
Windows run doesn't take a "cd" no quotes.cd /home/shop/MAC/PIC\ LINUX/SweepBot
Also trying in a Delphi program ShellExecute(Handle, 'open', PChar(Edit1.TEXT), nil, nil, SW_SHOWNORMAL);
My conversion, not working from windows run(brief DOS flash) or Delphi shell(nothing):
wine c:/pbp/pbpw -e -s -ac:/Program\ Files/Microchip/MPASM\ Suite/MPASMWIN -p16f676 z:/home/shop/MAC/PIC\ LINUX/SweepBot/SB1.bas
e:\1PicBasicPro\PBP\PBPL -e -s -ai:\Program Files\Microchip\MPASM Suite\MPASMWIN -p18f4520 e:\1PBP\Headings\test.pbp
e:\1PicBasicPro\PBP\PBPL -e -s -ampasmwin -p18f4520 e:\1PBP\Headings\test.pbp
Norm
Last edited by Normnet; - 21st July 2009 at 04:53.
You are writing an editor correct?
That was my point of showing you the guts of a windows *.bat file.
Have your editor create the BAT then have the editor run it. Or you can put the shebang
line in a window DOS prompt window. And yes you will have to CD into it.
Windows RUN is not quite the same as a DOS prompt.
Dave
Always wear safety glasses while programming.
Bookmarks