-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Many fixes to compressor, decompressor now works, added a benchmark h…
…arness
- Loading branch information
1 parent
e8d159b
commit dd4cd71
Showing
6 changed files
with
164 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ benchmark/*.sms | |
benchmark/data.* | ||
benchmark/expected.bin | ||
/benchmark/venv | ||
/compressors/data.sonic2compr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
; { "technology": "Sonic 2", "extension": "sonic2compr" } | ||
|
||
.memorymap | ||
defaultslot 0 | ||
slotsize $4000 | ||
slot 0 $0000 | ||
.endme | ||
|
||
.rombankmap | ||
bankstotal 1 | ||
banksize $4000 | ||
banks 1 | ||
.endro | ||
|
||
.bank 0 slot 0 | ||
|
||
.org 0 | ||
ld hl,data | ||
ld de,$4000 | ||
call Sonic2TileLoader_Decompress | ||
ret ; ends the test | ||
|
||
.define Sonic2TileLoaderMemory $c000 | ||
.block "decompressor" | ||
.include "../decompressors/Sonic 2 decompressor.asm" | ||
.endb | ||
|
||
data: .incbin "data.sonic2compr" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.