Update const_HALF
This commit is contained in:
1 parent
7eda12aa34
commit
168465caba
2 files changed
+8
-2
No files matched your search
@@ -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 - the constant 1/2
|
||||
;
|
||||
; This is verified to be identical to the original Microsoft implementation where it was named FHALF
|
||||
;
|
||||
; Math package - a constant, for documentation see:
|
||||
; - https://www.c64-wiki.com/wiki/BASIC-ROM
|
||||
; - Computes Mapping the Commodore 64, page 116
|
||||
;
|
||||
|
||||
+2
-1
@@ -20,7 +20,7 @@ int matches[MAX_SIZE];
|
||||
|
||||
int phase_mask[MAX_SIZE+MAX_SIZE];
|
||||
|
||||
#define NUM_CHUNKS 7
|
||||
#define NUM_CHUNKS 8
|
||||
// Pairs of start, end memory addresses of known exact similarity with the open source Microsoft BASIC
|
||||
unsigned short microsoft_basic_chunks[NUM_CHUNKS * 2] = {
|
||||
0xB391, 0xB39D,
|
||||
@@ -29,6 +29,7 @@ unsigned short microsoft_basic_chunks[NUM_CHUNKS * 2] = {
|
||||
0xB983, 0xB9BB,
|
||||
0xBA28, 0xBCF2,
|
||||
0xBD7E, 0xBD90,
|
||||
0xBF11, 0xBF15,
|
||||
0xBFB4, 0xBFBE,
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user