From 325b41da8e6eba686e48042f60d245d00e0e7991 Mon Sep 17 00:00:00 2001 From: Rikard Nordgren Date: Wed, 15 Apr 2026 20:42:46 +0200 Subject: [PATCH] Update const_NEG_HALF --- src/basic/math_consts/b9e0.const_NEG_HALF.s | 7 ++++++- tools/similarity.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/basic/math_consts/b9e0.const_NEG_HALF.s b/src/basic/math_consts/b9e0.const_NEG_HALF.s index cf98afdf..0fd6782d 100644 --- a/src/basic/math_consts/b9e0.const_NEG_HALF.s +++ b/src/basic/math_consts/b9e0.const_NEG_HALF.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 - -1/2 +; +; This is verified to be identical to the original Microsoft implementation where it was named NEGHLF ; -; 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 f0652f64..81dcd94a 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, 0xB9DF, + 0xB983, 0xB9E4, 0xB9EA, 0xBCF2, 0xBD7E, 0xBD90, 0xBDB3, 0xBDC1,