-
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.
- Loading branch information
1 parent
16fde8a
commit 2a6b5ca
Showing
6 changed files
with
326 additions
and
231 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
This file was deleted.
Oops, something went wrong.
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,57 @@ | ||
; { "technology": "Exomizer v3", "extension": "exomizer3" } | ||
|
||
.memorymap | ||
defaultslot 0 | ||
slotsize $8000 | ||
slot 0 $0000 | ||
.endme | ||
|
||
.rombankmap | ||
bankstotal 2 ; enable SRAM in Emulicious | ||
banksize $8000 | ||
banks 2 | ||
.endro | ||
|
||
.bank 0 slot 0 | ||
|
||
.define ExomizerToVRAM | ||
|
||
.org 0 | ||
.ifndef ExomizerToVRAM | ||
; We first decompress to RAM... | ||
ld a, %1000 | ||
ld ($fffc),a | ||
; Then use it as our buffer | ||
ld hl,data | ||
ld de,$8000 | ||
call deexo | ||
; Then copy to VRAM. Assume de points to the end of the decompressed data | ||
ld a,d | ||
sub $80 | ||
ld b,a | ||
ld c,e | ||
xor a | ||
out ($bf),a | ||
ld a,$40 | ||
out ($bf),a | ||
ld hl,$8000 | ||
-:ld a,(hl) | ||
inc hl | ||
out ($be),a | ||
dec bc | ||
ld a,b | ||
or c | ||
jp nz,- | ||
.else | ||
ld hl,data | ||
ld de,$4000 | ||
call deexo | ||
.endif | ||
ret ; ends the test | ||
.block "decompressor" | ||
.define mapbase $c000 | ||
.include "../decompressors/Exomizer v3 decompressor.asm" | ||
.endb | ||
|
||
data: .incbin "data.exomizer3" |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.