Search found 110 matches

by petersieg
24 Apr 2024, 10:33
Forum: Hardware and software hacking
Topic: Shuffle [game]
Replies: 1
Views: 64

Re: Shuffle [game]

Very nice!
Many thanks for this.

best, Peter
by petersieg
09 Apr 2024, 15:21
Forum: Hardware and software hacking
Topic: Toledo chess program
Replies: 12
Views: 456

Re: Toledo chess program

ok.
Did that. In small sdl2 emu, I am waiting now app. 50min for any computer answer. In real HW, with 128kd7 rom, I am waiting now app. 30min.
No computer answer? I compiled again for PC i5 3k. Runs fine and answer is instandly there.

??

best, Peter
by petersieg
07 Apr 2024, 17:22
Forum: Hardware and software hacking
Topic: Toledo chess program
Replies: 12
Views: 456

Re: Toledo chess program

Thx. On PC with i5 3GHz, the answer is instantly. On Gigatron emulation, I had to wait probably "hours" (broken up - hat to go).
I will test on real hardware the next days.

best, Peter
by petersieg
05 Apr 2024, 09:57
Forum: Hardware and software hacking
Topic: Toledo chess program
Replies: 12
Views: 456

Re: Toledo chess program

Thanks! I just did the required changes for modern C++ compiler. But now I replaced all occurrences of 1e5 with 2e4, and 1e9 with 3e4 and it runs fine now. Now we just need to figure out, how to have computer play black ;-)

best, Peter
by petersieg
04 Apr 2024, 10:40
Forum: Hardware and software hacking
Topic: Toledo chess program
Replies: 12
Views: 456

Toledo chess program

See here: https://nanochess.org/chess.html https://nanochess.org/faq.html Just wanted to see, if glcc would compile it and if it would even run ;-) It compiles and runs - but: It always says 'illegal' to any input - something is wrong at reading and compute input? Since computer playing is activated...
by petersieg
26 Mar 2024, 14:29
Forum: Hardware and software hacking
Topic: New size coding contest "ZX Spectrum effect"
Replies: 17
Views: 1257

Re: New size coding contest "ZX Spectrum effect"

Another nice contest could be:
"Size coding contest = create interesting/astonishing graphic effects with small piece of coding"

See: http://www.sizecoding.org/wiki/Main_Page

best, Peter
by petersieg
23 Mar 2024, 16:06
Forum: Hardware and software hacking
Topic: New size coding contest "ZX Spectrum effect"
Replies: 17
Views: 1257

Re: New size coding contest "ZX Spectrum effect"

Maybe someone will suggest another? I am thinking of: "Write the nicest/most interesting/awesome demo/intro/graphic effect/game whatsoever" Any language, any size (but smaller is beautiful), could run in 32k/64k/128k, can be run from sd card or rom ;-) Should be run in romv5a, but if requ...
by petersieg
13 Mar 2024, 17:14
Forum: Hardware and software hacking
Topic: New size coding contest "ZX Spectrum effect"
Replies: 17
Views: 1257

Re: New size coding contest "ZX Spectrum effect"

Here is mine solution (not sure, if screen is correct this way?): int main(void) { int x,y; for (x=0;x<160;x+=2) { for (y=0;y<120;y+=2) { screenMemory[y-1][x-1] = 0; screenMemory[y][x] = 0xff; } } } -rw-rw-r--@ 1 ich staff 141 13 Mär 17:53 Makefile -rw-r--r--@ 1 ich staff 265 13 Mär 18:09 zxs.c -rw-...
by petersieg
13 Mar 2024, 16:47
Forum: Hardware and software hacking
Topic: New size coding contest "ZX Spectrum effect"
Replies: 17
Views: 1257

New size coding contest "ZX Spectrum effect"

(I just copied his post into this new thread) PhiBrizzo proposes a new competition. Very old, from ZX Spectum forum. Goal: draw black and white 1x1 pixel chessboard on full screen. Rules: - must run on ROMv5+ - 32KB+ machines - no SYS functions - all tricks allowed The winner is: shortest gt1 file.