F:\-Morph-Temp\_NANO_\Emulator\P2Terminal_cordic\p2load._M>p2load -v driver_NTSC.obj -r e80:0
Trying COM1
error: hardware lost
Trying COM9
Found propeller version 32 on COM9
Loading 'driver_NTSC.obj' at 0x00000e80
.
Loading 'e80' at 0x00000e80
error: can't open 'e80'
Okay, I think I've fixed this. Try downloading the Windows version in the top post again. You don't really need "-r e80:0" though since that is the default. Well, not quite. The 0xe80 address is the default but the default value for param is 0x20000 which is the highest address in hub memory. That is used by PropGCC programs to set the initial stack pointer.
Okay, I think I've fixed this. Try downloading the Windows version in the top post again. You don't really need "-r e80:0" though since that is the default. Well, not quite. The 0xe80 address is the default but the default value for param is 0x20000 which is the highest address in hub memory. That is used by PropGCC programs to set the initial stack pointer.
F:\-Morph-Temp\_NANO_\Emulator\P2Terminal_cordic\p2load._M>p2load -v driver_NTSC
.obj,1000 -r 1000:0
Trying COM1
error: hardware lost
Trying COM9
Found propeller version 32 on COM9
Loading 'driver_NTSC.obj' at 0x00001000
.
Loading '1000' at 0x00000e80
error: can't open '1000'
Okay, I think I've fixed this. Try downloading the Windows version in the top post again. You don't really need "-r e80:0" though since that is the default. Well, not quite. The 0xe80 address is the default but the default value for param is 0x20000 which is the highest address in hub memory. That is used by PropGCC programs to set the initial stack pointer.
F:\-Morph-Temp\_NANO_\Emulator\P2Terminal_cordic\p2load._M>p2load -v driver_NTSC
.obj,1000 -r 1000:0
Trying COM1
error: hardware lost
Trying COM9
Found propeller version 32 on COM9
Loading 'driver_NTSC.obj' at 0x00001000
.
Loading '1000' at 0x00000e80
error: can't open '1000'
Odd. I just tried this on the Mac and it worked. Maybe I uploaded the wrong version? I guess I'll try again. Maybe I should put a version number in p2load.exe so we can tell what version we're using.
Odd. I just tried this on the Mac and it worked. Maybe I uploaded the wrong version? I guess I'll try again. Maybe I should put a version number in p2load.exe so we can tell what version we're using.
It look's that it work -- Need made more test's
Thanks.
F:\-Morph-Temp\_NANO_\Emulator\P2Terminal_cordic\p2load._M>p2load -v driver_NTSC
.obj,1000 -r 1000:0
Trying COM1
error: hardware lost
Trying COM9
Found propeller version 32 on COM9
Loading 'driver_NTSC.obj' at 0x00001000
Can I specify in any way --- What COG to use with -r else -c flag?
The -r option always uses COG 0. The -c option uses COGNEW so you get whatever COG is available. Practically speaking though, you will get COG 1, COG 2, etc since there is nothing running on any of those COGs at load time.
The -r option always uses COG 0. The -c option uses COGNEW so you get whatever COG is available. Practically speaking though, you will get COG 1, COG 2, etc since there is nothing running on any of those COGs at load time.
I don't have time to do that right now. Why does it even matter the COG number where something is running? You always interact with a COG via a mailbox, right? When do you ever use the COG ID unless you need to stop the COG?
Thanks for reply. Will find any way do do what I will.
But as You know --- On emulators we can only use COG-0 for Display driver so I can't auto-start MIN Program in it.
So I need start it in any of other COG's --- As it i this MAIN COG that will look in BOXES to fin and load drivers in corect places.
I don't have time to do that right now. Why does it even matter the COG number where something is running? You always interact with a COG via a mailbox, right? When do you ever use the COG ID unless you need to stop the COG?
Thanks for reply. Will find any way do do what I will.
But as You know --- On emulators we can only use COG-0 for Display driver so I can't auto-start MIN Program in it.
So I need start it in any of other COG's --- As it i this MAIN COG that will look in BOXES to fin and load drivers in corect places.
Thanks for reply. Will find any way do do what I will.
But as You know --- On emulators we can only use COG-0 for Display driver so I can't auto-start MIN Program in it.
So I need start it in any of other COG's --- As it i this MAIN COG that will look in BOXES to fin and load drivers in corect places.
It would be possible to accept a COG number for the -c option but the loader is running in COG 0 and that is the COG that is always started using the -r option.
Thanks for reply. Will find any way do do what I will.
But as You know --- On emulators we can only use COG-0 for Display driver so I can't auto-start MIN Program in it.
So I need start it in any of other COG's --- As it i this MAIN COG that will look in BOXES to fin and load drivers in corect places.
I didn't know you had to run the display driver in COG 0. Why is that? Anyway, I have no control over which COG is running the loader. It's decided by the ROM bootloader.
You have write Very nice tool that are very usable.
I can use AND will use it -- Only thing without that need re-manage some of my files and save space in Display Driver for Supervisory part
But that have be simplified for me and many others
Sorry that you have to rearrange things. If you can think of a better way let me know. As I said, the only thing I could easily do is allow -c top select a specific COG. To do that with -r would be difficult. It would require that I relaunch the loader on another COG.
Sorry that you have to rearrange things. If you can think of a better way let me know. As I said, the only thing I could easily do is allow -c top select a specific COG. To do that with -r would be difficult. It would require that I relaunch the loader on another COG.
The DAC emulation output only exists on COG 0. I think everything else is on the other COGS. Pin emulation isn't complete either, but what there is exists on the four DAC pins on COG 0.
And that is why we need to put the display on COG 0 for now.
Oh, and no more Excel macros to format a monitor load file. (I know, but it was stupid easy) The load is really fast now!
If You can that -- that can help --- If -c can be specified multiple times
Thanks
I made the change you requested to the -c option. You can now do either of these:
-c addr:param
-c id,addr:param
Be aware that no spaces are allowed around the comma or colon. The same applies to the -r option and to the comma following a file to load. I'll upload a new Windows version shortly after I ask another question in a separate message.
I just posted a new Windows version with Sapieha's -c option feature making it possible to load into a specific COG. You can't really load into COG 0 though since that is the COG that is running the second-stage loader. The default baud rate is now 230400 as well. This is version 0.002.
I just posted a new Windows version with Sapieha's -c option feature making it possible to load into a specific COG. You can't really load into COG 0 though since that is the COG that is running the second-stage loader. The default baud rate is now 230400 as well. This is version 0.002.
David: I just downloaded the latest windoze build from using the link in the first post (identifies as v0.002 2013/3/30).
It fails to download my file correctly using
p2load -v lsd_035.obj -s
It apears that p2load is not skiping the $E80 zero bytes at the start of the file, so my code is loading into $1D0. My older version of 2012/12/07 works fine on the same obj file.
I tried the -m -t and they work fine so thanks for that
David: I just downloaded the latest windoze build from using the link in the first post (identifies as v0.002 2013/3/30).
It fails to download my file correctly using
p2load -v lsd_035.obj -s
It apears that p2load is not skiping the $E80 zero bytes at the start of the file, so my code is loading into $1D0. My older version of 2012/12/07 works fine on the same obj file.
I tried the -m -t and they work fine so thanks for that
You have to put -s before the filename now because you can have more than one file on a single command line and -s applies to the next file.
Comments
Thanks.
I know e80 are default -- But it was simplest for me use any already existing binary My one need parameter 0
Will test new one and report.
F:\-Morph-Temp\_NANO_\Emulator\P2Terminal_cordic\p2load._M>p2load -v driver_NTSC
.obj,1000 -r 1000:0
Trying COM1
error: hardware lost
Trying COM9
Found propeller version 32 on COM9
Loading 'driver_NTSC.obj' at 0x00001000
.
Loading '1000' at 0x00000e80
error: can't open '1000'
Thanks
Shall wait You write -- Correct downloaded -- v.x number can help
It look's that it work -- Need made more test's
Thanks.
F:\-Morph-Temp\_NANO_\Emulator\P2Terminal_cordic\p2load._M>p2load -v driver_NTSC
.obj,1000 -r 1000:0
Trying COM1
error: hardware lost
Trying COM9
Found propeller version 32 on COM9
Loading 'driver_NTSC.obj' at 0x00001000
I too am glad to be of assistance
16bitimages.zip
Can I specify in any way --- What COG to use with -r else -c flag?
I'm have thinking more universal thing -- That give me full control.
p2load._M>p2load -v driver_NTSC.obj,1000 -r 2,1000:0
Thanks for reply. Will find any way do do what I will.
But as You know --- On emulators we can only use COG-0 for Display driver so I can't auto-start MIN Program in it.
So I need start it in any of other COG's --- As it i this MAIN COG that will look in BOXES to fin and load drivers in corect places.
Are you saying that without this ability to select a specific COG, you are unable to use p2load?
That I have never said else thinking.
You have write Very nice tool that are very usable.
I can use AND will use it -- Only thing without that need re-manage some of my files and save space in Display Driver for Supervisory part
But that have be simplified for me and many others
If You can that -- that can help --- If -c can be specified multiple times
Thanks
The DAC emulation output only exists on COG 0. I think everything else is on the other COGS. Pin emulation isn't complete either, but what there is exists on the four DAC pins on COG 0.
And that is why we need to put the display on COG 0 for now.
Oh, and no more Excel macros to format a monitor load file. (I know, but it was stupid easy) The load is really fast now!
I made the change you requested to the -c option. You can now do either of these:
Be aware that no spaces are allowed around the comma or colon. The same applies to the -r option and to the comma following a file to load. I'll upload a new Windows version shortly after I ask another question in a separate message.
Thanks
It fails to download my file correctly using
p2load -v lsd_035.obj -s
It apears that p2load is not skiping the $E80 zero bytes at the start of the file, so my code is loading into $1D0. My older version of 2012/12/07 works fine on the same obj file.
I tried the -m -t and they work fine so thanks for that
btw did you find the problem with setcog ?