Jump to content
IGNORED

Reading Cartridge memory


Recommended Posts

I've implemented something like a file system on the cartridge, so when I need a graphics or sound I copy them from the cartridge space (skunkboard) to main ram... well all data are packed so I unpack from ROM to RAM.

 

This mean that I'm reading the memory (ROM) byte by byte, there are some issues with byte reading? I've included some checks after the unpack and sometimes the output file it's bigger than the original, but sometimes it works.

 

By the way I'm using lz77 and lz78 from here http://s390174849.online.de/ray.tscc.de/code.htm

 

Thanks.

 

Link to comment
Share on other sites

Thanks I've included the code but it still fails, but I've realised that with some files the depack routine overwrite the output buffer, it fails always on the same files.

 

Even using the PC application, some files when you depack them you got a huge file...

Link to comment
Share on other sites

It looks that It's the same packer that I'm using lz77, the problem it's that I need the packer for OS X. That's why I'm using lz77 & lz78 from ray's web.

 

The packing routine had a bug that I've fixed, at least now I don't have buffer overflow.

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...