Linux for PlayStation 2 Community - Forums


Summary |  Home Page |  Forums |  Lists |  Tasks |  Docs |  Surveys |  News |  Files | 

Discussion Forums: Developers

Admin

Message: 50681
BY: aik6980
DATE: 2007-Nov-27 16:11
SUBJECT: what is the VCLSML_STACK?

hi,
could anyone explain how to use this function
;//--------------------------------------------------------------------
;// PushMatrix - Push "matrix" onto the "stackptr"
;//
;// Note: "stackptr" is updated
;//--------------------------------------------------------------------
.macro PushMatrix stackptr,matrix
sq \matrix[0], -1(\stackptr):VCLSML_STACK
sq \matrix[1], -2(\stackptr):VCLSML_STACK
sq \matrix[2], -3(\stackptr):VCLSML_STACK
sq \matrix[3], -4(\stackptr):VCLSML_STACK
iaddi \stackptr, \stackptr, -4
.endm


do i need to declare "stackptr" myself in global VUmem or VCL has the fancy command to sort this out?

cheers,


 

Thread View

Thread Author Date
what is the VCLSML_STACK?aik69802007-Nov-27 16:11
      RE: what is the VCLSML_STACK?sparky2007-Dec-01 08:55
            RE: what is the VCLSML_STACK?aik69802007-Dec-01 13:20

 

Post a followup to this message

You could post if you were [logged in]