aboutsummaryrefslogtreecommitdiff
path: root/src/prng.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-02-11 22:15:43 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-02-11 22:15:43 +0100
commit731bc2e0855de04ec7f57d63e09105fa7f619a45 (patch)
treed0f594330a45de46d9e56619bb38d0a2380f5c9a /src/prng.s
parent97ad13291ba0162117df77b038f0c011a14a31c0 (diff)
downloadjetpac.nes-731bc2e0855de04ec7f57d63e09105fa7f619a45.tar.gz
jetpac.nes-731bc2e0855de04ec7f57d63e09105fa7f619a45.zip
bin: improve the style and add more documentation
And also run rubocop on the CI for good measure. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/prng.s')
-rw-r--r--src/prng.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/prng.s b/src/prng.s
index 8211957..d62392e 100644
--- a/src/prng.s
+++ b/src/prng.s
@@ -23,6 +23,8 @@
;; The pre-computed table.
+;;
+;; NOTE: generated via bin/rand.rb; read more on this there.
valid_y_rand_table:
.byte $25, $87, $B7, $6A, $23, $77, $6D, $71, $6D, $B6, $86, $93, $2B, $97, $A8, $39
.byte $26, $AE, $A6, $70, $9F, $2D, $74, $B2, $8E, $A5, $33, $3E, $6D, $75, $91, $6B