Page 3 of 3

Re: Anyone know useful ZX80 ROM tricks?

Posted: Thu Apr 13, 2017 6:29 pm
by Shaun_B
Try this 4K ROM listing - do not put any spaces in the lines with REM:

Code: Select all

   1 RAMDOMISE
   2 GO TO 50
  10 PRINT "I WIN"
  15 REM
  20 PRINT "NO, I WIN"
  25 REM
  30 PRINT "WINNING HERE"
  35 REM
  40 PRINT "ERR... I THINK I AM THE WINNER"
  45 STOP
  50 GO TO RND(4)*10
A practical use for this - I think - would be:

Code: Select all

   10 IF A={condition to ignore next line} THEN REM
   20 PRINT "SOMETHING"
Regards,

Shaun.

Re: Anyone know useful ZX80 ROM tricks?

Posted: Thu Dec 21, 2017 3:07 pm
by Shaun_B
I found this by accident:

Code: Select all

   1 PRINT "HELLO ZX80 FANZ";
   2 POKE 16421,38
[EDIT] The POKE is wrong, I've worked it out. Please see attached demo (32 x 24 text in BASIC).

This seems to remove the message at the bottom of the screen. I was using EightyOne for this.

Thanks,

Shaun.