Jump to content
IGNORED

Memory full


FredTheFred

Recommended Posts

Hello all.

I've got a problem with the memory on Colecovision. When you use sprites you use rle2ram to move data on Ram to Vram. But can i use the method for an template in ascii or the something like as ?

 

This is a sample cave's code for design the template room

const byte ways202 []={0x20,0x20,0x20,0x5C,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x2F,0x20,0x20,0x20};

I think all along the game i fill Ram or Vram and after some minutes the game crash.

 

 

Link to comment
Share on other sites

Please use rle2vram(SpriteData,0x3800) to decompress sprites from Cartridge ROM directly to VRAM. A full sprite pattern table takes 1000-2000 bytes of memory. No need to decompress to RAM first and then upload the data to VRAM, since the rle data is already accessible by CPU.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...