Search found 592 matches

by stefano
Tue Sep 10, 2024 11:45 pm
Forum: GAMES
Topic: Connect4
Replies: 2
Views: 1049

Re: Connect4

I totally agree.
by stefano
Tue Sep 10, 2024 5:12 pm
Forum: GAMES
Topic: new game ZX81 - TERRA 81
Replies: 14
Views: 10258

Re: new game ZX81 - TERRA 81

Well, the video shows a nice shoot-em-up game, nice work really.
by stefano
Tue Sep 10, 2024 4:42 pm
Forum: GAMES
Topic: Connect4
Replies: 2
Views: 1049

Connect4

4inarow 2007-Oct-25
by Joseph Larson (c) 2008
based on a BASIC game by James L. Murphy
as found in 'More BASIC Computer Games' by David H. Ahl (c) 1979

Noting really special, but I built a working version for the zx81, here it is.
connect4.p
(6.95 KiB) Downloaded 117 times
by stefano
Thu Aug 29, 2024 11:47 pm
Forum: GAMES
Topic: New ZX81 Games
Replies: 408
Views: 791772

Re: New ZX81 Games

I think I understood, it makes it closer to mastermind. I remember little on the way we played it when we were kids, I think sometimes we didn't mention which type of boat was sunk. I'd like to evolve this game, e.g. Making a graphics version but once compiled it has serious stability issues which m...
by stefano
Thu Aug 29, 2024 12:23 pm
Forum: GAMES
Topic: New ZX81 Games
Replies: 408
Views: 791772

Re: New ZX81 Games

Battleship.
bship.p
(8.72 KiB) Downloaded 219 times
This game was a 2008 Cymon's Games game, I used z88dk to port it to ZX81
Source code in C: https://github.com/z88dk/z88dk-ext/blob ... ttleship.c

Enjoy,
Stefano

zx81_battleship.png
by stefano
Tue Jul 30, 2024 4:44 pm
Forum: Spectrum BASIC
Topic: Recursive functions in BASIC
Replies: 12
Views: 8656

Re: Recursive functions in BASIC

Saomeone says that good programmers were those ones writing only readable and maintainable code.
They are SORT OF right, but sometimes a trick really makes the difference.

The numeric conversion trick is very cool, BTW !
by stefano
Mon Jul 22, 2024 4:58 pm
Forum: ZX Spectrum Lounge
Topic: Microdigital TK-85 replica!
Replies: 2
Views: 15586

Re: Microdigital TK-85 replica!

Parents, they knew us better than ourselves. ❤️
by stefano
Thu Jul 18, 2024 2:44 pm
Forum: Spectrum BASIC
Topic: Recursive functions in BASIC
Replies: 12
Views: 8656

Recursive functions in BASIC

This is a trick me and my cousin discovered back in those days, I had to fiddle with the ZX Spectrum emulator. There are several ways to get to the same result, this one looks reasonably readable. The trick relies on two very powerful features we have on the ZX Spectrum, DEF FN() and VAL. DEF FN is,...
by stefano
Sat Jun 15, 2024 3:09 pm
Forum: Development
Topic: LINE-command (DRAW on ZX Spectrum)
Replies: 15
Views: 5979

Re: LINE-command (DRAW on ZX Spectrum)

This is an equivalent function library generated with z88dk.

https://www.sinclairzxworld.com/viewtop ... 79e8ab2561

More memory consuming but probably faster and less dependent from the ROM version because it is accessing to the video memory directly.
by stefano
Sat Jun 01, 2024 12:15 pm
Forum: Development
Topic: HTML Transcription of Mastering Machine Code on Your ZX81
Replies: 8
Views: 15052

Re: HTML Transcription of Mastering Machine Code on Your ZX81

In my information a this is the smallest disassembler ever:
https://github.com/z88dk/z88dk/blob/mas ... disz80.asm

Scroll a little lower to get to the core routine, the extra stuff is something I've put to have a C function.