med-module-0.0: Parse song module files from Amiga MED and OctaMED

Safe HaskellNone
LanguageHaskell2010

Sound.MED.Basic.Amiga

Synopsis

Documentation

type MEM = Ptr () Source #

type BYTE = Int8 Source #

type Peek a = MEM -> PTR -> IO a Source #

($?) :: (PTR -> IO a) -> PTR -> IO (Maybe a) infixr 0 Source #

skipIf :: Bool -> IO a -> IO (Maybe a) Source #

freeMEM :: MEM -> IO () Source #

pointerRangeGenCheck :: Integral i => PTR -> ULONG -> i -> [PTR] Source #

Return empty list if start pointer is zero.

pointerRangeGen2 :: (Integral i, Integral j) => PTR -> ULONG -> i -> j -> [PTR] Source #

chunk :: Integral i => i -> [a] -> [[a]] Source #

stringFromBytes :: [UBYTE] -> String Source #

Strings tend to be fixed width fields with trailing zeros.