mirror of
https://frontier.innolan.net/github/AmigaExamples.git
synced 2026-09-12 09:12:04 +00:00
Refactored slideshow example
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
xdef LoadModule
|
||||
|
||||
LoadModule:
|
||||
movem.l d0-a6,-(sp)
|
||||
lea bitplanes1,a0
|
||||
lea compressedModule,a1
|
||||
move.l #endCompressedModule,d0
|
||||
sub.l #compressedModule,d0
|
||||
;; a0 - destination address
|
||||
;; a1 - start address
|
||||
;; d0 - size
|
||||
jsr LoadDiskData
|
||||
|
||||
;; a0 - input buffer to be decompressed. Must be 16-bit aligned!
|
||||
;; a1 - output buffer. Points to the end of the data at exit
|
||||
lea bitplanes1,a0
|
||||
lea Module,a1
|
||||
jsr Depack
|
||||
|
||||
movem.l (sp)+,d0-a6
|
||||
rts
|
||||
Reference in New Issue
Block a user