Coder Social home page Coder Social logo

exomizer-3.1.0's Introduction

exomizer-3.1.0

Demo of using exomizer v3.1.0 decompression on the BBC Micro using 6502 assembler

This demo loads a fullscreen Mode 0 image into screen memory decompressing as it goes. The picture was drawn by myself in the late 80s on a BBC Micro using Wapping Editor and a Quest mouse.

3D Tutankhamun

Adding the decruncher to your 6502 asm project

In your 6502 asm project, add this to your zeropage variables:

include "exomizer310decruncher.h.asm"

And this anywhere in your code:

include "exomizer310decruncher.asm"

.my_crunched_data
INCBIN "mycruncheddata.exo"

Important

This decruncher is hardcoded to use the bottom of the stack (&0100-&01A0, rounded up) as workspace while decompressing data (unless -P+16 is used and EXTRA_TABLE_ENTRY_FOR_LENGTH_THREE = 1). This is easily changed by modifying decrunch_table.

Preparing compressed data

Download Exomizer v3.1.0 and compress your data, with command line options in compress.sh. e.g.:

exomizer level -M256 -P-32 -c mydata.bin@0x0000 -o mycruncheddata.exo

Decrunching data in your 6502 asm project

ldx #lo(my_crunched_data)
ldy #hi(my_crunched_data)
lda #hi(&5800) ; destination for decompressed data, only hi byte needed (page)
jsr decrunch_to_page_A

Acknowledgements

Exomizer is created by Magnus Lind, with changes to allow assembling with beebasm.

With help from 0xC0DE6502

exomizer-3.1.0's People

Contributors

negativecharge avatar picosonic avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.