Z80 Coding - File compression when your game doesn't fit in memory

Поділитися
Вставка
  • Опубліковано 1 жов 2024

КОМЕНТАРІ • 10

  • @0MVR_0
    @0MVR_0 7 місяців тому +2

    instead of compressing individual bytes,
    mutate the abstraction to count associated information.
    ua-cam.com/video/eJIp_mgVLwE/v-deo.html
    A sliding zipper/unzipper reads in linear form,
    so the joint probability is the frequency of a byte to the next.

  • @juniorcomsono
    @juniorcomsono 7 місяців тому +2

    I'm afraid the audio is terrible, I can barely understand you listening on Smartphone. But anyways, congrats for the content :)

    • @ZXRetroGaming
      @ZXRetroGaming  7 місяців тому +1

      that'll be my accent :)

    • @juniorcomsono
      @juniorcomsono 7 місяців тому +1

      @@ZXRetroGaming I'm terms of your accent I felt it pretty okay, for me it was more some sort of noise in your microfone :(

    • @ZXRetroGaming
      @ZXRetroGaming  7 місяців тому +1

      @@juniorcomsonothat’s unusual, I don’t normally get complaints. I use a lav mic

  • @SafePit
    @SafePit 7 місяців тому +2

    Nice video. Do you have links to the resources used?

    • @ZXRetroGaming
      @ZXRetroGaming  7 місяців тому +2

      The decompressor was on uniabis GitHub, the compressor I think was from lz4 on GitHub. Will check in the morning.

    • @ZXRetroGaming
      @ZXRetroGaming  7 місяців тому +2

      I downloaded the compressor from here : sourceforge.net/projects/lz4.mirror/

    • @SafePit
      @SafePit 7 місяців тому +2

      ​@@ZXRetroGaming Thanks. I have the same problem you had where I need to decompress in lines, not all at once. My current routines decompress one character at a time. My decompress is slow, but efforts a lot more control. If L4Z compression is better, might be worth a try. But I have a lot of short strings that probably won't compress well with this method.

    • @ZXRetroGaming
      @ZXRetroGaming  7 місяців тому +2

      @@SafePit yeah I've looked at the decompress routine to see if I could get it to skip newline characters so it doesn't break the display but don't think I can get it to do that