Re: PASM Bootloader
Verfasst: Do 12. Nov 2015, 13:17
+++ EDIT +++
geht so nicht
geht so nicht
Retro Style Eigenbau Computer mit Parallax Propeller
https://www.hive-project.de/board/
Code: Alles auswählen
Entry
cogid id
add id, #1
....
Code: Alles auswählen
....
cmp id, #1 wz
if_nz cogstop cog0
cmp id, #2 wz
if_nz cogstop cog1
cmp id, #3 wz
if_nz cogstop cog2
cmp id, #4 wz
if_nz cogstop cog3
cmp id, #5 wz
if_nz cogstop cog4
cmp id, #6 wz
if_nz cogstop cog5
cmp id, #7 wz
if_nz cogstop cog6
cmp id, #8 wz
if_nz cogstop cog7
....
'PAR CODE NEW ID
cog0 long $0000___________0000___________0____0
cog1 long $0000___________0000___________0____1
cog2 long $0000___________0000___________0____2
cog3 long $0000___________0000___________0____3
cog4 long $0000___________0000___________0____4
cog5 long $0000___________0000___________0____5
cog6 long $0000___________0000___________0____6
cog7 long $0000___________0000___________0____7
Code: Alles auswählen
....
coginit spin
....
'PAR CODE NEW ID
'spin long $0000___________F004___________1____0
spin long $0004 << 16 | $F004 << 2 | %0000
Code: Alles auswählen
'PAR CODE NEW ID
spin long %00_0000_0000_0001____11_110_0000_0001____1____000
'spin long $0004 << 16 | $F004 << 2 | %0000
Code: Alles auswählen
spin long $0007C010
Code: Alles auswählen
Binary Image Information :
PBASE : 0010
VBASE : 032C
DBASE : 0334
PCURR : 0320
DCURR : 0338
Code: Alles auswählen
PBASE : Startadresse des Programms
VBASE : Startadresse der Variabeln
DBASE : Startadresse ???
PCURR : Startadresse ???
DCURR : Startadresse ???
Code: Alles auswählen
$0006 PBASE
$0008 VBASE
$000A DBASE
$000C PCURR
$000E DCURR
Also wenn ich deine Experimente so ansehe, hab ich sowieso meist einen Knoten im Hirn.PIC18F2550 hat geschrieben:Irgendwie habe ich einen Knoten im Hirn![]()