Jump to content

Photo

Read sprite design from somewhere?


5 replies to this topic

#1 Trip2018 OFFLINE  

Trip2018

    Star Raider

  • 51 posts
  • young nerd
  • Location:nebraska

Posted Wed Apr 11, 2018 6:24 PM

Is it possible to write to a sprites design from somewhere other than "playerX:" to save memory if another\same sprite is using the same data at the later time?



#2 Random Terrain OFFLINE  

Random Terrain

    Visual batari Basic User

  • 28,611 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Wed Apr 11, 2018 6:58 PM

It is for sure if you're using the DPC+ kernel:

 

randomterrain.com/atari-2600-memories-batari-basic-commands.html#dpc_sprites_sharing_data



#3 Trip2018 OFFLINE  

Trip2018

    Star Raider

  • Topic Starter
  • 51 posts
  • young nerd
  • Location:nebraska

Posted Wed Apr 11, 2018 7:12 PM

I meant as in storing it like:

 data playerframe0:

 %00111100

 %01000010

 %10011001

 %10100101

 %10000001

 %10100101

 %01000010

 %00111100

end

 

Then some sort of command to write that to a player.



#4 Random Terrain OFFLINE  

Random Terrain

    Visual batari Basic User

  • 28,611 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Wed Apr 11, 2018 7:19 PM

Oh, I missed the word write. I saw the "if another\same sprite is using the same data" part. Since that stuff is usually in ROM, you have to waste RAM to mess with it. See if this helps:

 

google.com/search?q=site:atariage.com+%22batari+basic%22+sprites+in+ram&ie=UTF-8



#5 Lillapojkenpćön OFFLINE  

Lillapojkenpćön

    Star Raider

  • 68 posts

Posted Thu Apr 12, 2018 9:43 AM

If you're using DPC+



#6 bogax OFFLINE  

bogax

    Dragonstomper

  • 756 posts

Posted Thu Apr 12, 2018 6:16 PM

have a look at this






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users