z88dk forums

z80 Development Kit

You are not logged in.

#1 2007-10-07 21:29:59

jchristof
Member
Registered: 2007-10-07
Posts: 11

[Z88dk-users] using putsprite on ti-83+

I'm working on my z80 debugging skills, but I'm having trouble figuring out why the first putsprite in this example shows the image immediately on screen, but the second putsprite (inside the while loop) doesn't ever show the sprite:

Code:

main()
{
putsprite(spr_or, 0, 0, frame0);
while(1)
{
putsprite(spr_or, 10, 10, frame1);
}
}

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

Offline

 

#2 2007-10-13 20:09:16

alvin
Administrator
Registered: 2007-07-16
Posts: 338

Re: [Z88dk-users] using putsprite on ti-83+

I'm working on my z80 debugging skills, but I'm having trouble figuring out why the first putsprite in this example shows the image immediately on screen, but the second putsprite (inside the while loop) doesn't ever show the sprite:

Code:

main()
{
putsprite(spr_or, 0, 0, frame0);
while(1)
{
putsprite(spr_or, 10, 10, frame1);
}
}

The only thing that comes to mind is if "frame1" is correct.  Does it work if "frame1" is replaced by "frame0"?



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

Offline

 

#3 2007-10-14 19:17:12

jchristof
Member
Registered: 2007-10-07
Posts: 11

Re: [Z88dk-users] using putsprite on ti-83+

Thanks Alvin,

I see that one of my problems was trying to overwrite an existing calculator program in ram with one of the same name when using the TI send utility. Apparently, the newly sent file doesn't completely obliterate the existing one - yielding unexpected results.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson