Minimalistic text games
Re: Minimalistic text games
Pokemon, did they work on the real HW eventually ?
Re: Minimalistic text games
Not yet, didn't had time that weekend but hope on this weekend. 

Re: Minimalistic text games
Some of the games are working on real hardware, some not.
mastermind.o => ok
joust.o => ok
luna.o => ok
hilo.o => ok
blackjack.o => no
(start after run, bet okay, after choose of cards the display is corrupted after a few seconds, seems to be a wrong value in I register / wrong pointer to char table)
tictactoe.o => no
(start after run but program wiped out, come back with K cursor immediately)
worldpuzzle.o => no
(crashes after start, no display at all, black screen)
riskdice.o => no
(start after run but program wiped out, come back with K cursor immediately)
(crashes even in emulator, first 2 questions answered, after black screen forever)
fast-furious.o => no
(crashes after start, no display at all, black screen)
mastermind.o => ok
joust.o => ok
luna.o => ok
hilo.o => ok
blackjack.o => no
(start after run, bet okay, after choose of cards the display is corrupted after a few seconds, seems to be a wrong value in I register / wrong pointer to char table)
tictactoe.o => no
(start after run but program wiped out, come back with K cursor immediately)
worldpuzzle.o => no
(crashes after start, no display at all, black screen)
riskdice.o => no
(start after run but program wiped out, come back with K cursor immediately)
(crashes even in emulator, first 2 questions answered, after black screen forever)
fast-furious.o => no
(crashes after start, no display at all, black screen)
Re: Minimalistic text games
Thank you for the report !
I'll do my best to try understanding what's bad..
I'll do my best to try understanding what's bad..
Re: Minimalistic text games
I revised the source adaptions I made for the ZX80 but at the moment I couldn't find much.
It could have to do with some critical register I'm not protecting enough.. what I don't understand is, in example, why tictactoe is crashing while joust doesn't they are both using the same console functions, and why it is not crashing the emulated Z80. Joust is bigger and tic doesn't use advanced mathematics or things which might corrupt special registers.
Here's a slightly modified version, just to see if the problem persists.
It could have to do with some critical register I'm not protecting enough.. what I don't understand is, in example, why tictactoe is crashing while joust doesn't they are both using the same console functions, and why it is not crashing the emulated Z80. Joust is bigger and tic doesn't use advanced mathematics or things which might corrupt special registers.
Here's a slightly modified version, just to see if the problem persists.
- Attachments
-
- tic2.o
- ZX80 Tic Tac Toe, new attempt.
- (3.75 KiB) Downloaded 382 times
Re: Minimalistic text games
More crap.. really ! It is a direct compilation of "Monty Python's Bridge of Death":
http://csscgc2010.zxlife.net/Games.aspx#L20
Don't say you weren't warned
http://csscgc2010.zxlife.net/Games.aspx#L20
Don't say you weren't warned

- Attachments
-
- bridge_wrx.p
- "Monty Python's Bridge of Death", ZX81 WRX
- (8.84 KiB) Downloaded 323 times
-
- bridge.o
- "Monty Python's Bridge of Death", ZX80
- (5.98 KiB) Downloaded 393 times
-
- bridge.p
- "Monty Python's Bridge of Death", ZX81
- (6.93 KiB) Downloaded 328 times
Re: Tic Tac Toe (AKA Tris)
I've developed a version of Tic-Tac-Toe for the ZX80 which is now finished. It works on the unexpanded machine so there is no AI - it does however check for a winner - this was the most memory costly bit of the whole symbolic listing so you're welcome.
Any tips to save valuable bytes are welcome as it'll help with my next game.
Regards,
Shaun.
- Attachments
-
- tic-tac-toe-v2.o
- Finished (1K) version
- (747 Bytes) Downloaded 369 times
-
- tic-tac-toe.o
- Unfinished version of Tic-Tac-Toe
- (473 Bytes) Downloaded 307 times
Re: Minimalistic text games
It is nice already (and cute).
My cent is on the compare expressions, you may substitute: IF J=0 and IF A(I)=0 with IF NOT J...
I also wonder if the "TO" function on a string vector could help in place of a DIMensioned variable.
My cent is on the compare expressions, you may substitute: IF J=0 and IF A(I)=0 with IF NOT J...
I also wonder if the "TO" function on a string vector could help in place of a DIMensioned variable.
Re: Minimalistic text games
This version is for 4K ROM, so the string manipulation as per the ZX81 doesn't work.
Booleans on ZX80 (4K ROM) BASIC are returned as -1 for true and 0 for false.
Thanks,
Shaun.
Re: Minimalistic text games
So here's another 4K ROM ZX80 release for you. It's a cost-reduced version of a fruit machine simulator.
The player starts with £5.00; Type R to roll the reels. Any other key to leave the fruit machine.
Here is the win table:
£££ = £10
$$$ = £8
XXX = £5
OOO = £2
--- = £nil
££? = £4
$$? = £3
XX? = £2
OO? = £1
--? = £nil
As I ran out of memory to add in any mini games, not that one can achieve much with the 4K ROM and BASIC anyway
Enjoy,
Shaun.
PS, This game will be part of a collection released through Monument Microgames.
The player starts with £5.00; Type R to roll the reels. Any other key to leave the fruit machine.
Here is the win table:
£££ = £10
$$$ = £8
XXX = £5
OOO = £2
--- = £nil
££? = £4
$$? = £3
XX? = £2
OO? = £1
--? = £nil
As I ran out of memory to add in any mini games, not that one can achieve much with the 4K ROM and BASIC anyway

Enjoy,
Shaun.
PS, This game will be part of a collection released through Monument Microgames.
- Attachments
-
- zx80-fruits-2.o
- 1K cost-reduced fruit machine type simulator
- (787 Bytes) Downloaded 381 times