Einzelnen Beitrag anzeigen
  #1  
Alt 05.11.2023, 17:16
Benutzerbild von Mychess
Mychess Mychess ist gerade online
MACH III
 
Registriert seit: 07.03.2009
Beiträge: 126
Abgegebene Danke: 194
Erhielt 255 Danke für 107 Beiträge
Member Photo Albums
Aktivitäten Langlebigkeit
6/20 16/20
Heute Beiträge
2/3 ssssss126
Can you recognize the programmer and therefore the chess computer ...

Hello,

Can you recognize the programmer and therefore the chess computer with just a very few lines of code?
You can try to find the same initial position construction scheme among well-known 6502 programmers.
Please note that one of these programs will be soon emulated.


Code:
first code : 
F000 : 9F E6                    sts     X00E6           
F002 : 71 BF 14                 aim     #$BFX0014       
F005 : 1A                       slp
F006 : 23 22 24 25 21 24 22 23                          
F00E : 40 21 40 21 40 00 00
...
F04E : CE F0 06                 ldx     #$F006      
F051                    LF051:                      
F051 : 3A                       abx                 
F052 : A6 00                    ldaa    $00,x       
F054 : CE 00 80                 ldx     #$0080      
F057 : 3A                       abx                 
F058 : A7 00                    staa    $00,x       
F05A : 88 30                    eora    #$30        
F05C : A7 38                    staa    $38,x       
F05E : 86 20                    ldaa    #$20        
F060 : A7 08                    staa    $08,x       
F062 : 44                       lsra                
F063 : A7 30                    staa    $30,x       
F065 : 5A                       decb                
F066 : 2A E6                    bpl     LF04E       
F068 : 8E 00 FF                 lds     #$00FF      


second code : 
F000 : 01 10 FF F0 11 0F EF F1  
F008 : 0E 21 1F 12 F2 DF E1 EE  
...
F072 : 40 20 30 50 60 30 20 40  
...
FCAC               LFCAC:
FCAC : 8D F0               bsr     LFC9E
FCAE : C6 07               ldab    #$07          
FCB0               LFCB0:
FCB0 : 86 F0               ldaa    #$F0          
FCB2 : 18                  xgdx
FCB3 : A6 72               ldaa    $72,x         
FCB5 : 18                  xgdx
FCB6 : 4F                  clra                  
FCB7 : 18                  xgdx                  
FCB8 : A7 88               staa    $88,x         
FCBA : 8A 80               oraa    #$80          
FCBC : A7 F8               staa    $F8,x         
FCBE : 62 10 98            oim     #$10,$98,x    
FCC1 : 62 90 E8            oim     #$90,$E8,x    
FCC4 : 18                  xgdx
FCC5 : 5A                  decb                  
FCC6 : 2A E8               bpl     LFCB0         
FCC8 : 97 40               staa    X0040
FCCA : CC 8C FC            ldd     #$8CFC        
FCCD : DD 72               std     X0072
...


third code :
F000 :  db      $00, $00, $09, $05  
F004 :  db      $03, $03, $01,      
F007 :  db      $0F, $F1, $11, $EF, 
F00B :  db      $06, $FA, $0A, $F6, 
F00F :  db      $09, $F7, $07, $F9, 
F013 :  db      $F8, $01, $08, $FF, 
F017 :  db      $01, $F8, $10, $F9, 
F01B :  db      $06, $0A, $08, $04, 
        db      $02, $08, $0A, $06, 

        ldx     #$F022  
LF69A:                             
        pshx                   
        ldaa    $00,x          
        ldx     #$0000         
        abx                    
        staa    $80,x          
        oim     #$0C,$81,x     
        oim     #$0D,$86,x     
        inca                   
        staa    $87,x          
        pulx                   
        dex                    
        subb    #$08           
        bpl     LF69A          
        ...
good luck !

Cordialy.
Mit Zitat antworten
Folgende 2 Benutzer sagen Danke zu Mychess für den nützlichen Beitrag:
kamoj (06.11.2023)