Mercurial > hg > Members > kono > nitros9-code
diff level2/modules/kernel/fldabx.asm @ 1345:1da8ab9ba433
Added consistent comments to each system call
author | boisy |
---|---|
date | Wed, 17 Sep 2003 17:26:37 +0000 |
parents | 716c84dca8e4 |
children | 039ddb7c8ad7 |
line wrap: on
line diff
--- a/level2/modules/kernel/fldabx.asm Wed Sep 17 13:53:39 2003 +0000 +++ b/level2/modules/kernel/fldabx.asm Wed Sep 17 17:26:37 2003 +0000 @@ -1,4 +1,15 @@ -* F$LDABX entry point +************************************************** +* System Call: F$LDABX +* +* Function: Load A from 0,X in task B +* +* Input: B = Task number +* X = Data pointer +* +* Output: A = Data byte at 0,x in task's address space +* +* Error: CC = C bit set; B = error code +* FLDABX ldb R$B,u Get task # to get byte from ldx R$X,u Get offset into task's DAT image to get byte from *** bsr L0C40 Go get the byte into B @@ -27,7 +38,20 @@ * ldu b,u get pointer to task image (doesn't affect carry) * rts restore & return -* F$STABX entry point + +************************************************** +* System Call: F$STABX +* +* Function: Store A at 0,X in task B +* +* Input: A = Data byte to store in task's address space +* B = Task number +* X = Logical address in task's address space +* +* Output: None +* +* Error: CC = C bit set; B = error code +* FSTABX ldd R$D,u ldx R$X,u * Store a byte in another task