From 70bf9c6a81ccbc3fdf70551adcfd34691e2ab6a1 Mon Sep 17 00:00:00 2001 From: Rikard Nordgren Date: Wed, 15 Apr 2026 20:40:58 +0200 Subject: [PATCH] Update const_SQR_2 --- src/basic/math_consts/b9db.const_SQR_2.s | 7 ++++++- tools/similarity.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/basic/math_consts/b9db.const_SQR_2.s b/src/basic/math_consts/b9db.const_SQR_2.s index 27ef1d61..7f42c210 100644 --- a/src/basic/math_consts/b9db.const_SQR_2.s +++ b/src/basic/math_consts/b9db.const_SQR_2.s @@ -3,8 +3,13 @@ ;; #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 - SQR(2) +; +; This is verified to be identical to the original Microsoft implementation where it was named SQRTWO. ; -; Math package - a constant, for documentation see: ; - https://www.c64-wiki.com/wiki/BASIC-ROM ; diff --git a/tools/similarity.c b/tools/similarity.c index 13ff9927..f0652f64 100644 --- a/tools/similarity.c +++ b/tools/similarity.c @@ -27,7 +27,7 @@ unsigned short microsoft_basic_chunks[NUM_CHUNKS * 2] = { 0xB391, 0xB39D, 0xB3A2, 0xB3A5, 0xB849, 0xB97D, - 0xB983, 0xB9DA, + 0xB983, 0xB9DF, 0xB9EA, 0xBCF2, 0xBD7E, 0xBD90, 0xBDB3, 0xBDC1,