Super-COG with >2KB Cog RAM
Cluso99
Posts: 18,069
I am experimenting with one cog having more than 2KB of cog ram.
1) Initially to prove the concept, I am just using 4KB of cog ram.
2) I am proposing to access the upper cog ram just like hubexec, except obviously not going via hub.
3) To access the upper cog ram I intend to modify the JMPRET instruction to use the WC bit to indicate the D & S addresses are relative, not absolute.
This will permit me to make a start and see what else (minimally) is required to make this work.
David already reminded me on another thread that we will need to be able to load larger immediate values than the current 9 bits. But this will come as soon as I get that far.
I will post results here, as time permits.
1) Initially to prove the concept, I am just using 4KB of cog ram.
2) I am proposing to access the upper cog ram just like hubexec, except obviously not going via hub.
3) To access the upper cog ram I intend to modify the JMPRET instruction to use the WC bit to indicate the D & S addresses are relative, not absolute.
This will permit me to make a start and see what else (minimally) is required to make this work.
David already reminded me on another thread that we will need to be able to load larger immediate values than the current 9 bits. But this will come as soon as I get that far.
I will post results here, as time permits.
Comments
This would still need a way of being able to move data to/from the "code" space, but WC/WZ could be used for that.
Super Car! There is a long lost memory. Forerunner of Thunderbirds. I used to play with a plastic Super Car in the bath tub.
http://www.youtube.com/watch?v=XbZNxyXUBZs&list=PLXwGw8a6FHykEaXODI89-UY19UvsZr9Ha
Sorry for interrupting folks, as you were....