Sprite Maker (aka SP.BASIC)

General Chit Chat about Sinclair Computers and their Clones
Post Reply
User avatar
gus
Posts: 177
Joined: Fri May 16, 2008 10:18 pm
Location: Buenos Aires. Argentina
Contact:

Sprite Maker (aka SP.BASIC)

Post by gus »

Thanks to Bruno and Superfo we have access to a lot of interesting newsletters. viewtopic.php?t=195

In one issues of the The Sinc Times I do discover a program called Sprite Basic. The routines are very good and provides a lot of functions to help manage Sprites on the ZX81.
That is good, but what call my attention was the explanation of the INIT function which manage the sprites movement using an in interrupt handler.

Many times I do read about the Interrupt facilities of the Z80, but ever saw some uses on the Spectrum machines. I think until now that the ZX81 can not manage interrupt routines...

Some of you are really clever ZX81 users and programmers, so maybe you already know that, in that case sorry by the old news :)

I decide to type in the program in order to see it working... and guess what ? bad luck, because the listing are impossible to read...

I found on the zx81.nl site (inside and ARJ archive) the Basic Sprite Demo !!! but this version is not working. Fix it was easy and now I have a version that works.

I happy with this discovery and I like to share it with all of you, so I put a little video showing all this :)

http://www.youtube.com/watch?v=3Cvyxm8PR4s

Thanks,
Gus

P.D. Do you know of another programs having some Interrupt Routines ???

User avatar
iturbez
Posts: 154
Joined: Fri Dec 25, 2009 1:06 pm
Location: Spain

Re: Sprite Maker (aka SP.BASIC)

Post by iturbez »

Wow, Gus. That's great. Could you share that program?

Regards.
User avatar
siggi
Posts: 990
Joined: Thu May 08, 2008 9:30 am
Location: Wetterau, Germany
Contact:

Re: Sprite Maker (aka SP.BASIC)

Post by siggi »

gus wrote: P.D. Do you know of another programs having some Interrupt Routines ???
Wilf wrote a program NOVA, which hooks into the NMI handler to make a new display routine. NOVA also allows to add a short "user interrupt routine" (e. g. to move a sprite), which is called 50/60 times per second.
See

http://www.user.dccnet.com/wrigter/inde ... va2005.htm

Siggi
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
Post Reply