From de270450797449e188694402286d227ec75600ea Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Mon, 28 May 2018 01:32:17 -0400 Subject: [PATCH] entropy: more comments --- two-liners/entropy.s | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/two-liners/entropy.s b/two-liners/entropy.s index 35a9a2fa..f4af0cf3 100644 --- a/two-liners/entropy.s +++ b/two-liners/entropy.s @@ -115,21 +115,21 @@ xloop: ; SCALE=RND(1)*E*20+1 ; EPOS is E*100, so RND(1)*(EPOS/10)*2+1 - ; put random value in FAC -; ldx #1 ; RND(1), Force 1, this set from earlier - jsr RND+6 ; skip arg parsing in RND + ; put random value in FAC +; ldx #1 ; RND(1), Force 1, this set from earlier + jsr RND+6 ; skip arg parsing in RND lda EPOS - jsr FLOAT ; convert value in A to float in FAC - jsr DIV10 ; FAC=FAC/10 + jsr FLOAT ; convert value in A to float in FAC + jsr DIV10 ; FAC=FAC/10 - ldy #>RND_EXP ; point (Y,A) to RND value + ldy #>RND_EXP ; point (Y,A) to RND value lda #