Hi Bart,
I just uploaded the games to the CSVN website (download section). As I'm not really used to the website itself I have not written an article there with the standings.
Richard.
PT 50 Leiden, games from Dirty
Moderators: hgm, Rebel, chrisw
-
- Posts: 11
- Joined: Fri Mar 18, 2016 3:34 pm
Re: PT 50 Leiden, games from Dirty
Thanks!pijl wrote:Hi Bart,
I just uploaded the games to the CSVN website (download section). As I'm not really used to the website itself I have not written an article there with the standings.
Richard.
-
- Posts: 868
- Joined: Thu Mar 09, 2006 11:21 pm
- Location: Nederland
Re: PT 50 Leiden, games from Dirty
Bart Weststrate wrote:Kallisto (Tao is Bas) The new engine is about "half-way"....Bart Weststrate wrote:Any tao news? Are you working on it or a different engine?F. Bluemers wrote:Here are the games that Dirty played.
Too busy with my job and other hobbies.
What a silly mixup,my apologies.
Still working in assembler?
-
- Posts: 11
- Joined: Fri Mar 18, 2016 3:34 pm
Re: PT 50 Leiden, games from Dirty
Mostly yes. Design in powerbasic and if it works i do a translation to assembly.F. Bluemers wrote:Bart Weststrate wrote:Kallisto (Tao is Bas) The new engine is about "half-way"....Bart Weststrate wrote:Any tao news? Are you working on it or a different engine?F. Bluemers wrote:Here are the games that Dirty played.
Too busy with my job and other hobbies.
What a silly mixup,my apologies.
Still working in assembler?
Raw speed
So this:
ZETGEN:
IF AANZET = WIT THEN
'GENEREER ZETTEN VOOR WIT
FOR VANVELD = A1 TO H8
IF (VANVELD AND OFFBORD)=0 THEN
PIECE=BORD(VANVELD)
IF PIECE>LEEG THEN
SELECT CASE PIECE
CASE WKON
FOR X =1 TO 8
NAARVELD=VANVELD+DIR(X)
IF (NAARVELD AND OFFBORD)=0 THEN
IF BORD(NAARVELD)<=LEEG THEN
STOREZET
END IF
END IF
NEXT
CASE WDAM
FOR X =1 TO 8
ZETOFFSET=DIR(X)
NAARVELD=VANVELD
WDAMLOOP1:
NAARVELD=NAARVELD+ZETOFFSET
IF (NAARVELD AND OFFBORD)=0 THEN
ZETVICTIM=BORD(NAARVELD)
IF ZETVICTIM<=LEEG THEN
IF ZETVICTIM=LEEG THEN
STOREZET
GOTO WDAMLOOP1
ELSE
STOREZET
END IF
END IF
END IF
NEXT
Becomes:
!MOV DH,16
!MOV AH,AL
GENZW06A_L0:
!ADD AH,DH
!TEST AH,OFFBORD
!JNE GENZW08_L0
!MOV BL,AH
!CMP BYTE PTR [ESI+EBX],LEEG
!JA GENZW08_L0 '@
!JNE GENZW07_L0
!MOV CL,NORMAALZET
STOREZETBASIS
!JMP GENZW06A_L0
GENZW07_L0:
!MOV CL,NORMAALZET
STOREZETBASIS
GENZW08_L0:
!MOV DH,1
!MOV AH,AL
GENZW06A_L1:
!ADD AH,DH
!TEST AH,OFFBORD
!JNE GENZW08_L1
!MOV BL,AH
!CMP BYTE PTR [ESI+EBX],LEEG
!JA GENZW08_L1 '@
!JNE GENZW07_L1
!MOV CL,NORMAALZET
STOREZETBASIS
!JMP GENZW06A_L1
You get the point.
-
- Posts: 11
- Joined: Fri Mar 18, 2016 3:34 pm
Re: PT 50 Leiden, games from Dirty
But then with nice indention. Doesn't seem to work here.
-
- Posts: 868
- Joined: Thu Mar 09, 2006 11:21 pm
- Location: Nederland
Re: PT 50 Leiden, games from Dirty
just put everything between code tagsBart Weststrate wrote:But then with nice indention. Doesn't seem to work here.
Code: Select all
if(mps)
{
unsigned int moves_played;
if(compSide==WHITE)
moves_played = (moveNumber+1)/2;
else
moves_played = moveNumber/2;
if(compSide==gamePosition[moveNumber].side
&& ((moves_played + 1)%mps)==0)
{
localmyTime+=nextTC;
printLogHTML(HTMLLOG_COLOR_GREEN,"Timemanager - Added %u ms for the next time control\n",nextTC);
}
}
Fonzy
-
- Posts: 27792
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: PT 50 Leiden, games from Dirty
And even that only works if you use spaces, rather than Tabs.