83Plus:BCALLs:4321
From WikiTI
Revision as of 01:55, 3 May 2005 by 84plusfreak (Talk | contribs)
Synopsis
Official Name: CreateRMat
BCALL Address: 4321
Creates a real matrix.
Inputs
- H = Rows
- L = Cols
- OP1 = Name of matrix
Outputs
Registers Destroyed
Comments
If there isn't enough RAM a memory error will be generated. (OP1) doesn't have to be 02h. (OP1+3) and (OP1+4) have to be zero. Contents of the matrix are random.
Example
ld hl,matName RST rMov9ToOP1 ld hl,4*256+6 ;4 rows, 6 cols B_CALL CreateRMat matName: db MatObj,tVarMat,tMatA,0,0