|
|
||||||||||||
Re: Codeanalyse
Hello, Hello ;-)
We're talking about this table that prioritizes the generation of moves: Code:
HEXA 31 32 33 34 35 36 37 38 2f 2b 27 23 21 25 29 2d 1f 1b 13 0b 07 09 0f 17 1d 19 11 01 03 05 0d 15 1e 1a 12 02 04 06 0e 16 20 1c 14 0c 08 0a 10 18 30 2c 28 24 22 26 2a 2e 40 3f 3e 3d 3c 3b 3a 39 DECIMAL 49 50 51 52 53 54 55 56 47 43 39 35 33 37 41 45 31 27 19 11 07 09 15 23 29 25 17 01 03 05 13 21 30 26 18 02 04 06 14 22 32 28 20 12 08 10 16 24 48 44 40 36 34 38 42 46 64 63 62 61 60 59 58 57 It is therefore interesting to generate these moves as a priority (pruning). I think I understand that in chess, the pieces are to be centralized as soon as possible. It's worth noting that, although we start from the center, there's a disymmetry between the king and queen sides that's identical for white and black : Same time for black and white generation ? Obviously, this is only for the generation, after that, moves are probably sorted by evaluation function and special cases (captures, promotion, check...) Cordially. Geändert von Mychess (20.11.2023 um 19:05 Uhr) |
Folgender Benutzer sagt Danke zu Moonshine für den nützlichen Beitrag: | ||
kamoj (21.11.2023) |
|
|||||||||||
AW: Re: Codeanalyse
Hello, Hello ;-)
We're talking about this table that prioritizes the generation of moves: Code:
HEXA 31 32 33 34 35 36 37 38 2f 2b 27 23 21 25 29 2d 1f 1b 13 0b 07 09 0f 17 1d 19 11 01 03 05 0d 15 1e 1a 12 02 04 06 0e 16 20 1c 14 0c 08 0a 10 18 30 2c 28 24 22 26 2a 2e 40 3f 3e 3d 3c 3b 3a 39 DECIMAL 49 50 51 52 53 54 55 56 47 43 39 35 33 37 41 45 31 27 19 11 07 09 15 23 29 25 17 01 03 05 13 21 30 26 18 02 04 06 14 22 32 28 20 12 08 10 16 24 48 44 40 36 34 38 42 46 64 63 62 61 60 59 58 57 It is therefore interesting to generate these moves as a priority (pruning). I think I understand that in chess, the pieces are to be centralized as soon as possible. It's worth noting that, although we start from the center, there's a disymmetry between the king and queen sides that's identical for white and black : Same time for black and white generation ? Obviously, this is only for the generation, after that, moves are probably sorted by evaluation function and special cases (captures, promotion, check...) Cordially. The idea with this table sounds convincing to me. However, so far I have failed to locate this table in the Sensory 9-code that I use. Hans |
Folgender Benutzer sagt Danke zu für den nützlichen Beitrag: | ||
kamoj (21.11.2023) |
|
||||||||||||
Re: AW: Re: Codeanalyse
Table discovered in 2007 (date noted, I'd had a hard time!), it took me 2 hours this morning to work out where I'd got it from (no comment, so obvious when you've found it, but 16 years later...). Use of chained sub-chains probably to save space in rom. The starting point is #$33, $C133 returns #$43, $C143 returns #$34, $C134 returns #$44... Cordially. |
|
|||||||||||
AW: Codeanalyse
Hello Mychess,
Thanks a lot for the hint. That sure is a tough one. This I have to digest first. Did they need to save memory space or is that just "obfuscation"? (In my opinion the memory at the start of 0xc000 is not utilized very economically, but I might be completely wrong). Best regards Hans |
Folgender Benutzer sagt Danke zu für den nützlichen Beitrag: | ||
kamoj (21.11.2023) |
|
|||||||||||
![]() Hello Hans,
Table discovered in 2007 (date noted, I'd had a hard time!), it took me 2 hours this morning to work out where I'd got it from (no comment, so obvious when you've found it, but 16 years later...). Use of chained sub-chains probably to save space in rom. The starting point is #$33, $C133 returns #$43, $C143 returns #$34, $C134 returns #$44... Cordially. thank you very much. I also found this table in Sargons 4.0 ROM. Hannes Geändert von Moonshine (22.11.2023 um 00:04 Uhr) |
|
|||||||||||
AW: Re: AW: Re: Codeanalyse
Hi Hannes,
at end of a letter or post, 'cordially' (or 'cordially yours') is an alternative to e.g. 'best regards'. Not a nickname ![]() Schönen Gruß, Eric |
Folgender Benutzer sagt Danke zu Tibono für den nützlichen Beitrag: | ||
Moonshine (21.11.2023) |
|
|||||||||||
![]() Hello Tibono,
thanks for the tip. I didn't know that! Hannes |
|
|||||||||||
AW: Codeanalyse
Hallo Hannes,
Meine frühere Nachricht dazu ging offenbar verloren. Ich habe bemerkt, dass CB-Emu eine vollständige Debugger-Umgebung enthält. Ich werde das mal ausprobieren. Hans |
Folgender Benutzer sagt Danke zu für den nützlichen Beitrag: | ||
Moonshine (22.11.2023) |
|
|||||||||||
AW: Codeanalyse
kannst Du mir bitte Näheres zu dieser Debugger-Umgebung sagen? Das würde mich auch sehr interessieren. Danke und Lg Hannes |
![]() |
|
|