Anyone know useful ZX80 ROM tricks?

Anything Sinclair ZX Basic related; history, development, tips - differences between BASIC on the ZX80 and ZX81
Shaun_B
Posts: 312
Joined: Wed Apr 22, 2009 9:22 am

Anyone know useful ZX80 ROM tricks?

Post by Shaun_B » Wed Mar 29, 2017 12:12 pm

Hi,

I'm hoping to find some useful ZX80 (4K ROM ) tricks that I can deploy in BASIC.

For instance, when a program listing ends, it waits for a key press. Can I call this bit of the ROM in my program, and if so will it continue from the next line on return, or go back to direct mode?

Is there any way that I can read key strokes other than using INPUT?

Many thanks,

Shaun.

Moggy
Posts: 1506
Joined: Wed Jun 18, 2008 1:00 pm

Re: Anyone know useful ZX80 ROM tricks?

Post by Moggy » Wed Mar 29, 2017 1:25 pm

Whilst I don't have the Latin for such alchemy you might want to pose this question on the German ZX forum, I find the lads there tend to be very clued up on the 80 and may have the answer you seek. :D

http://forum.tlienhard.com/phpBB3/viewforum.php?f=2

Shaun_B
Posts: 312
Joined: Wed Apr 22, 2009 9:22 am

Re: Anyone know useful ZX80 ROM tricks?

Post by Shaun_B » Wed Mar 29, 2017 2:22 pm

That's because German Computer Scientists are amongst the best in the world.

Thanks for the tip.

Regards,

Shaun.

Shaun_B
Posts: 312
Joined: Wed Apr 22, 2009 9:22 am

Re: Anyone know useful ZX80 ROM tricks?

Post by Shaun_B » Thu Mar 30, 2017 8:13 am

Hi,

I finished my tic-tac-toe game for the 4K ROM ZX80 which is available here. It is written for the unexpanded machine so there is no AI and it is therefore more difficult to let the computer win.

Does anyone have some byte-saving tips for it? I can think of one or two but I'm not an expert.

Regards,

Shaun.

User avatar
siggi
Posts: 755
Joined: Thu May 08, 2008 8:30 am
Location: Dauernheim, Germany
Contact:

Re: Anyone know useful ZX80 ROM tricks?

Post by siggi » Thu Mar 30, 2017 2:55 pm

Moggy wrote:
Wed Mar 29, 2017 1:25 pm
Whilst I don't have the Latin for such alchemy you might want to pose this question on the German ZX forum, I find the lads there tend to be very clued up on the 80 and may have the answer you seek. :D

http://forum.tlienhard.com/phpBB3/viewforum.php?f=2
There is also a forum for ZX80:
http://forum.tlienhard.com/phpBB3/viewforum.php?f=13
My ZX81 web-server: online since 2007
http://zx81-siggi.endoftheinternet.org/index.html

Moggy
Posts: 1506
Joined: Wed Jun 18, 2008 1:00 pm

Re: Anyone know useful ZX80 ROM tricks?

Post by Moggy » Thu Mar 30, 2017 4:51 pm

Thanks Siggi for this :D

Shaun_B
Posts: 312
Joined: Wed Apr 22, 2009 9:22 am

Re: Anyone know useful ZX80 ROM tricks?

Post by Shaun_B » Thu Mar 30, 2017 5:15 pm

It is okay that I don't speak German for this forum?

Many thanks,

Shaun.

User avatar
siggi
Posts: 755
Joined: Thu May 08, 2008 8:30 am
Location: Dauernheim, Germany
Contact:

Re: Anyone know useful ZX80 ROM tricks?

Post by siggi » Thu Mar 30, 2017 6:08 pm

Yes, some of us understand English (even when written by French people ;) )

Siggi
My ZX81 web-server: online since 2007
http://zx81-siggi.endoftheinternet.org/index.html

Shaun_B
Posts: 312
Joined: Wed Apr 22, 2009 9:22 am

Re: Anyone know useful ZX80 ROM tricks?

Post by Shaun_B » Fri Mar 31, 2017 12:06 pm

I signed up to the German forums, I hope that I get approved.

Moggy
Posts: 1506
Joined: Wed Jun 18, 2008 1:00 pm

Re: Anyone know useful ZX80 ROM tricks?

Post by Moggy » Fri Mar 31, 2017 1:32 pm

It's a great forum Shaun and as Siggi says language is no barrier (they understand me and I'm a bloody Yorky! :lol: )

In my case when in doubt Google translate with a big dose of copy and paste is the order of the day. :oops:

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest