diff --git a/src/basic/math_consts/bfbf.const_INV_LOG_2.s b/src/basic/math_consts/bfbf.const_INV_LOG_2.s index 854c6ad3..dd6531e1 100644 --- a/src/basic/math_consts/bfbf.const_INV_LOG_2.s +++ b/src/basic/math_consts/bfbf.const_INV_LOG_2.s @@ -3,8 +3,14 @@ ;; #LAYOUT# * BASIC_0 #TAKE ;; #LAYOUT# * * #IGNORE +; This file is under the MIT license, it contains code released by Microsoft Corporation. +; See LICENSE for more information. + +; Math package - log2(e) = 1 / log(2) ; -; Math package - a constant, for documentation see: +; This is verified to be identical to the original Microsoft implementation where it was named LOGEB2 +; +; See also: ; - https://www.c64-wiki.com/wiki/BASIC-ROM ; diff --git a/tools/similarity.c b/tools/similarity.c index af666106..1223d7ae 100644 --- a/tools/similarity.c +++ b/tools/similarity.c @@ -31,7 +31,7 @@ unsigned short microsoft_basic_chunks[NUM_CHUNKS * 2] = { 0xBD7E, 0xBD90, 0xBDB3, 0xBDC1, 0xBDDD, 0xBF51, - 0xBFB4, 0xBFBE, + 0xBFB4, 0xBFC3, };