=> R0 = Entry number (0 = header).
R2 ! Object to get information from.
<= R3-R7 = Values read from header or variable section.
This is in effect the reverse of Euclid_Set, and would often be required first if relative changes are to be made. Again special treatment is taken over objects with names when fetching from the header. R3 is simply set to point to the name.
Examples
Euclid_Show Examples
SYS"Euclid_Show",0,,Group TO ,,,NAME$,BX%,BY%,BZ%,BR%
SYS"Euclid_Show",6,,Plane TO ,,,X%,Y%,Z%
and combined with Euclid_Set:
SYS"Euclid_Show",3,,Vane TO ,,,C1,C2,X%,Y%,Z%:X%+=10
SYS"Euclid_Set",3,,Vane,C1,C2,X%,Y%,Z%
would just add 10 to the 3rd corner of the Vane.
(In ARM this is neater, i.e.
swi "Euclid_Show"
add r5,r5,#10
swi "Euclid_Set"
but could obviously be done directly anyway as:
ldr r5,[r2,#36+8*(3-1)]
add r5,r5,#10
str r5,[r2,#36+8*(3-1)]
)
|
|
|