Search found 38 matches

by reeagbo
Sat Jun 15, 2019 9:19 am
Forum: Programming
Topic: ChesSkelet: micro chess program - 363 Bytes
Replies: 59
Views: 2570

Re: ChesSkelet: micro chess program - 363 Bytes

ChesSkelet v0.811 released. 352 bytes for the smallest version!

All details in http://chesskelet.x10host.com/

Have a good weekend.
Alex
by reeagbo
Thu Jun 13, 2019 6:07 pm
Forum: Programming
Topic: ChesSkelet: micro chess program - 363 Bytes
Replies: 59
Views: 2570

Re: ChesSkelet: micro chess program - 363 Bytes

After some lazy days, I've managed to put together all the dissection entries and create a single article with the whole thing, revised and cleaned up a bit. Those who need to get depressed, look here: http://chesskelet.x10host.com/dissection.html It's like a 50 page word document for a bunch of byt...
by reeagbo
Tue Jun 11, 2019 8:01 am
Forum: Programming
Topic: ChesSkelet: micro chess program - 363 Bytes
Replies: 59
Views: 2570

Re: ChesSkelet: micro chess program - 363 Bytes

Just wondering if it needs to be the case in this routine that you don't apply the result into L directly as opposed to C then L. Does it need to be saved into C for use elsewhere, as I can't find it. celloo ; prepare x88 check (7B) ld a, d ; delta loaded add a, c ; current target (sq. + delta) ld ...
by reeagbo
Thu Jun 06, 2019 7:37 pm
Forum: Programming
Topic: ChesSkelet: micro chess program - 363 Bytes
Replies: 59
Views: 2570

Re: ChesSkelet: micro chess program - 363 Bytes

arkannoyed wrote:
Thu Jun 06, 2019 2:20 pm
Do you have any projection yet as to what sort of size its going to be down to now? Sub 350 bytes?
Best case would be 351,but I need to verify this last change. "genmov" is very sensitive to changes. It took me ages to make it work.
by reeagbo
Thu Jun 06, 2019 1:59 pm
Forum: Programming
Topic: ChesSkelet: micro chess program - 363 Bytes
Replies: 59
Views: 2570

Re: ChesSkelet: micro chess program - 363 Bytes

Just wondering if it needs to be the case in this routine that you don't apply the result into L directly as opposed to C then L. Does it need to be saved into C for use elsewhere, as I can't find it. celloo ; prepare x88 check (7B) ld a, d ; delta loaded add a, c ; current target (sq. + delta) ld ...
by reeagbo
Mon Jun 03, 2019 3:09 pm
Forum: Programming
Topic: ChesSkelet: micro chess program - 363 Bytes
Replies: 59
Views: 2570

Re: ChesSkelet: micro chess program - 363 Bytes

arkannoyed wrote:
Mon Jun 03, 2019 2:49 pm
Intense!! :o
There is no other way, I guess. :D
by reeagbo
Mon Jun 03, 2019 1:48 pm
Forum: Programming
Topic: ChesSkelet: micro chess program - 363 Bytes
Replies: 59
Views: 2570

Re: ChesSkelet: micro chess program - 363 Bytes

Chapter 7: Move list generation (II) Here comes the very announced "movlis" routine, which is the longest and more complex routine in the program. What does it do? Independently of the side moving, "movlis" generates a list with all the potential moves the side moving can make. Once again, remember ...
by reeagbo
Sun Jun 02, 2019 9:55 am
Forum: Programming
Topic: ChesSkelet: micro chess program - 363 Bytes
Replies: 59
Views: 2570

Re: ChesSkelet: micro chess program - 363 Bytes

Maybe we can still cross the 350 bytes line! :P

One general question. I´m sure some of the folks in the forum can help: how do I get ChesSkelet included in ZXDB?
by reeagbo
Sun Jun 02, 2019 9:53 am
Forum: Programming
Topic: ChesSkelet: micro chess program - 363 Bytes
Replies: 59
Views: 2570

Re: ChesSkelet: micro chess program - 363 Bytes

Maybe we can still cross the 350 bytes line! :P
by reeagbo
Sun Jun 02, 2019 9:51 am
Forum: Programming
Topic: ChesSkelet: micro chess program - 363 Bytes
Replies: 59
Views: 2570

Re: ChesSkelet: micro chess program - 363 Bytes

Just another thought, expanding upon the previous improvement in size. Would this work by extending the use of HL a bit further? ; compensate + prioritize piece valuation(6B) skiato add a, $20 ; A: 00pppppp, compensate=K+1, pih ld h,a evacol ld a, e ; A: 0rrr0ccc ; these two values below can be tun...