27 June 2012

Vintage Chess

Estos son post antiguos que tengo en otro blog, creo que son interesantes de tenerlos aca ta,bien:



Colossus Chess 4.0 (a8) v/s GNU Chess


Por fin pude lograr hacer jugar (a través del protocolo UCI) a Colossus Chess 4.0 y GNU Chess para poder generar un nivel al muy buen producto de 8 bits Colossus Chess que era el mejor de la época.

Colossus hizo una buena presentación considerando los 8 bits y 1.67mhz del atari contra:
Hardware: Mobile AMD Sempron™ Processor 3000+ 1794 MHz with 1.152 MB Memory

Bueno el juego lo pueden ver a continuación (para algún tipo de análisis para jugadores) y el archivo PGN.

GNU Chess (white) / Atari Colossus Chess 4. 0 (Black)

1. e2e4 / e7e5
2. g1f3 / g8f6
3. b1c3 / f8b4
4. a2a3 / b4c3
5. d2c3 / d7d6
6. c1g5 / e8g8
7. f1e2 / b8c6
8. d1d3 / c8g4
9. e1c1 / a8c8
10. h2h3 / g4h5
11. d3e3 / h5f3
12. e3f3 / a7a5
13. h3h4 / d8e7
14. h1h3 / f8d8
15. h4h5 / h7h6
16. g5f6 / e7f6
17. f3f6 / g7f6
18. h3f3 / g8g7
19. d1d3 / d8e8
20. f3f5 / e8e7
21. d3g3 / g7h7
22. f5f6 / c8d8
23. e2c4 / d8f8
24. f6f5 / h7h8
25. g3g6 / f7g6
26. f5f8 / h8h7
27. h5g6 / h7g6
28. c1d2 / g6g7
29. f8g8 / g7f6
30. g8h8 / f6g7
31. h8a8 / g7f6
32. c4d5 / e7g7
33. g2g3 / a5a4
34. d2e3 / h6h5
35. a8a4 / b7b5
36. a4a8 / c6e7
37. a8f8 / f6g5
38. d5f7 / h5h4
39. g3h4 / g5h4
40. f7e8 / c7c6
41. f8h8 / h4g5
42. h8h5 / g5g4
43. h5h6 / g7g8
44. e8d7 / g4g5
45. h6e6 / g8g7
46. e6d6 / g7g6
47. d6g6 / g5g6
48. f2f4 / e5f4
49. e3f4 / g6f6
50. e4e5 / f6f7
51. f4e3 / f7g6
52. e3d4 / g6g5
53. d4c5 / g5f4
54. c5d6 / e7f5
55. d7f5 / f4f5
56. e5e6 / f5f6
57. e6e7 / c6c5
58. e7e8q / b5b4
59. e8e6 / f6g5
60. d6e5 / b4a3
61. e6f5 / g5h4
62. e5f4 / a3b2
63. f5-g4+

Colossus Tournament


Finally I made to play both Colossus Chess (3 & 4) against each other, where the last one won without any doubt 9.5 - 0.5

CC3 hardly got a the 4th game ending in a draw. Here it's the tournament in PGN to watch it in some chess software such as Arena.



Finalmente hice jugar a los Colossus Chess 3 y 4, donde el último ganó sin apelación 9,5 - 0,5

CC3 Apenas logró una tabla en el cuarto juego. Aquí les dejo el archivo del torneo en PGN para poder visualizarlo en algún software como Arena.
Aocho_cc4 = Colossus Chess 4.0
Aocho_cc3 = Colossus Chess 3.0


RankEngineScoreAoAoS-B
1Aocho_cc49,5/10· ·· ·· ·· ··111=1111114,75
2Aocho_cc30,5/10000=000000· ·· ·· ·· ··4,75





Sieve of Eratosthenes


TODO: hay un bug en el codigo, probar lo nuevo en cc65.. la version de action ta mala :(

Sieve of Eratosthenes o la Criba de Eratóstenes

Byte: http://www.xgc.com/benchmarks/sieve_c.htm

TODO: revisar: probar: http://www.atarimagazines.com/v7n7/SuperSieve.html

FIRST ST PERFORMANCE TEST
http://www.atarimagazines.com/v4n6/STperformancetest.html
ComputerOperating SystemLanguageRun Time (Sec.)
68000 Atari 520STTOSC Digital CP/M 68K3.8
68000 Apple Macintosh-C Manx7
68000 Apple Macintosh-C Hippo L213
Z8001 5.5 MHZUnixC1.97
Z8000 Z-LabZeus UnixC4.8
Z80CP/MDigital Basic15.7
Z80CP/MMicroSoft COBOL5115
6502 Atari 800OS Rev.BACTION! display off:
display on:
12.2
17.9
6502 Atari 800OS Rev.BBASIC389
6502 Atari 800OS Rev.BBASIC XL214
ADVAN COMPILER BASIC
http://www.atarimagazines.com/v4n12/Compiler.html
Advan BASIC is filled with shortcuts like this. By the way, it ran my version of the Sieve of Eratosthenes in 13.8 seconds. The MMG compiler took 9 seconds, BASIC XL took 67 seconds and Atari BASIC hasn't finished yet. If that isn't fast enough, you can rewrite key routines in assembly language from within BASIC. Advan BASIC recognizes assembler mnemonics almost as if they were BASIC keywords. Not only is this great for people who know assembly language, but it can be a teriffic learning environment too.

ADVAN OPTIMIZER
http://www.atarimagazines.com/v6n2/BASICBonanza.html
Advan BASIC was already pretty fast. Now it's the fastest BASIC in Atari history. In our Sieve Benchmark, the Advan Optimizing Compiler is about four times faster than the MMG Compiler, six times faster than regular Advan, 20 times faster than compiled Turbo-BASIC XL and 120 times faster than uncompiled Atari BASIC. In fact, it's more than half the speed of ACTION!- that's getting real close to pure assembly language.

Lights, Camera, ACTION!
http://www.atarimagazines.com/hi-res/v1n4/action.php

LanguageCompile
Time
Object
Code
Run
Time
BASIC
FORTH
Action!
C (Z-80)
---
3 sec
< 1 sec 132 sec
443
114
423
290
3140 secs
168 secs
18 secs
14 secs



KYAN PASCAL
http://www.atarimagazines.com/v4n7/kyanpascal.html
The resulting object file has a very rapid run-time. Ten iterations of the Eratosthenes Prime Number Sieve (see "First ST Performance Test," Antic, October 1985) ran in about 120 seconds with the screen on. With the screen off, the same program ran in just 80 seconds.

http://devweb.cl/atari/cc65/sieve_gg.c
http://devweb.cl/atari/cc65/sieve_gg.xex



PD: post pendiente desde 2009 :S

Blog Archive

Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.