Search found 208 matches

by wbushby
25 May 2023, 11:59
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 101608

Re: gtBASIC

Another issue I am having is I am trying to draw an 24 pixel wide image and it's mirror to form the whole I have broken the left 24 pixels into 4 images 6 X 25 pixels in size. I then load the 4 images noflip then the load them again flipx. When I draw the whole image none of the tiles are flipped LO...
by wbushby
24 May 2023, 19:48
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 101608

Re: gtBASIC

One thing I have noticed with V0 Basic is that function/subroutine calls that call a 2nd function do not seem to be able to pass through parameters from subroutine 1 to subroutine 2. In this code the construction of MarioXPos2 and MarioYPos2 fails. '==================================================...
by wbushby
21 May 2023, 11:54
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 101608

Re: gtBASIC

Well, All levels coded, all AI coded, Mario's death animation done, 90% of collision coding done. Just a little scoring code and Kong's death animation left.

BUT I only have 1006 bytes available.

More efficiency searching needed.
by wbushby
17 May 2023, 21:01
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 101608

Re: gtBASIC

I was able to get all the graphics into the app by breaking the large images into strips of narrower subsets and adjusting the graphics so there were common areas that could be used across multiple images. This works well in the emulator. Hopefully I will be able to test on a real gigatron soon as m...
by wbushby
10 May 2023, 13:46
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 101608

Re: gtBASIC

The problem is I am trying to reduce my large BLITs and use the SPRITE/PATTERN process instead as this will fit in memory. I have changed over and it all fits but the flicker is annoying

I have a couple of ideas that might figure this out
by wbushby
09 May 2023, 09:50
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 101608

Re: gtBASIC

Is there a way to stop the erasure and redrawing of specific sprites with the SPRITE DRAW - SPRITE RESTORE commands ?

Even though the sprites have not moved they appear to be erased and redrawn each loop.
by wbushby
09 May 2023, 08:08
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 101608

Re: gtBASIC

I have used 204 rows so there are not many left. (More info for the manual). I removed all large BLIT and then I could then add more sprites so it is the BLITs stealing sprite memory. I will work out a happy balance of BLIT and SPRITE. There is a large SPRITE flicker issue on the SPRITE DRAW - SPRIT...
by wbushby
08 May 2023, 11:57
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 101608

Re: gtBASIC Sprite Memory

My application loads 34 BLITs then attempts to load 8 sprites. It fails on the 8th sprite with the following message. ' couldn't allocate memory for sprite 8' I was loading 36 BLITs but removed 2 that were 36 X 34 pixels each and it still won't load the 9 X 18 sprite no 8. This makes me think the me...
by wbushby
06 May 2023, 18:21
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 101608

Re: gtBASIC

I have a question ? I need to make an image move slowly off screen upwards. Could you add the ability to show a partial piece of the sprite so that memory is not corrupted by drawing a sprite off screen ? The only other option is to make several slightly smaller and smaller sprites to show the effec...
by wbushby
27 Apr 2023, 14:34
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 101608

Re: gtBASIC

So, reading your explanation above.

Would it be better if I cut the large images (34 pixels high) into 2 images of 17 pixels in height?

It seems to me this would increase the chance of finding contiguous memory.