Cleaning up

This commit is contained in:
alpine9000
2016-03-23 13:59:04 +11:00
parent 057afda8eb
commit 09b5237d6a
6 changed files with 35 additions and 19 deletions
+10 -5
View File
@@ -1,6 +1,7 @@
xref WaitVerticalBlank
xref WaitRaster
xref Depack
xdef WaitVerticalBlank
xdef WaitRaster
xdef Depack
WaitVerticalBlank:
movem.l d0-a6,-(sp)
@@ -10,7 +11,8 @@ WaitVerticalBlank:
bne.b .loop
movem.l (sp)+,d0-a6
rts
WaitRaster: ;wait for rasterline d0.w. Modifies d0-d2/a0.
movem.l d0-a6,-(sp)
move.l #$1ff00,d2
@@ -24,6 +26,7 @@ WaitRaster: ;wait for rasterline d0.w. Modifies d0-d2/a0.
movem.l (sp)+,d0-a6
rts
Depack:
;a0 = input buffer to be decompressed. Must be 16-bit aligned!
;a1 = output buffer. Points to the end of the data at exit
@@ -33,4 +36,6 @@ Depack:
rts
;; this is one FAST decompression routine!
include "../tools/external/doynamite68k/depacker_doynax.asm"
include "../tools/external/doynamite68k/depacker_doynax.asm"