mirror of
https://frontier.innolan.net/github/AmigaExamples.git
synced 2026-09-12 10:02:00 +00:00
Cleaning up
This commit is contained in:
+10
-5
@@ -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"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user