Hamazing/source/framework/framework_lvos.i
chrisly42 9c48c11cd1 Big "squashed" update to latest version of Framework.
- Bugfix: WaitForFrame was completely broken. Now also caters for race-condition that would have waited one extra frame.
- Bugfix: InitPart would overwrite innocent memory (reported by Gigabates and Losso)
- Bugfix: Palette LERP had wrong bias.
- Removed extra paths in include statement, use default include paths instead
- Added Raspberry Casket no-jitter background calc mode (FW_MUSIC_PLAYER_CHOICE = 6)
- Updated Raspberry Casket to V2.0 presto branch (WIP)
- Removed fw_FrameCounterLong, use fw_FrameCounter-2 for debug purposes
- Support for blue noise palette LERPing (like in Is Real). Provide your own blue noise table (4 KB), stuff it into fw_BlueNoiseTablePtr, set FW_PALETTE_LERP_SUPPORT to 2
- Music tick routine is now replaceable during runtime (fw_MusicTickRoutine)
- Support for softints and audio interrupts
- LMB exit can also be disabled dynamically when using FW_LMB_EXIT_SUPPORT = 2 and fw_DisableLMBExit != 0
- Added LSP Micro support and LSP Nano (custom format that uses note pitches instead of periods)
- Minor other things
2024-09-15 17:43:33 +02:00

97 lines
2.6 KiB
OpenEdge ABL

FWLVOPOS SET 0
DEFFWFUNC InitPart
DEFFWFUNC RestoreFrameworkBase
DEFFWFUNC Error
DEFFWFUNC FlushCaches
DEFFWFUNC SetBaseCopper
DEFFWFUNC SetCopper
DEFFWFUNC VSync
DEFFWFUNC WaitForFrame
IF FW_DYNAMIC_MEMORY_SUPPORT
DEFFWFUNC PushMemoryState
DEFFWFUNC PopMemoryState
DEFFWFUNC AllocChip
IF FW_64KB_PAGE_MEMORY_SUPPORT
DEFFWFUNC AllocChip64KB
ENDC
DEFFWFUNC AllocFast
DEFFWFUNC DropCurrentMemoryAllocations
IF FW_TOP_BOTTOM_MEM_SECTIONS
DEFFWFUNC FlipAllocationDirection
ENDC
ENDC
IF (FW_STANDALONE_FILE_MODE==0)|FW_HD_TRACKMO_MODE
DEFFWFUNC FindFile
DEFFWFUNC LoadFile
DEFFWFUNC LoadAndDecrunchFile
DEFFWFUNC LoadFileToBuffer
DEFFWFUNC DecrunchToBuffer
DEFFWFUNC TrackmoLoadAndDecrunchToBuffer
DEFFWFUNC TrackloaderDiskMotorOff
ENDC
IF FW_MUSIC_SUPPORT
DEFFWFUNC StartMusic
DEFFWFUNC StopMusic
ENDC
IF FW_MULTITASKING_SUPPORT
DEFFWFUNC AddTask
DEFFWFUNC RemTask
DEFFWFUNC VSyncWithTask
DEFFWFUNC Yield
DEFFWFUNC WaitUntilTaskFinished
IF FW_BLITTERTASK_MT_SUPPORT
DEFFWFUNC AddAndRunBlitterTask
DEFFWFUNC YieldToBlitterTask
DEFFWFUNC FinishBlitterTask
ENDC
ELSE
IFEQ FWGENLVOTABLE
_LVOFrameWorkVSyncWithTask = _LVOFrameWorkVSync
ENDC
ENDC
IF FW_PALETTE_LERP_SUPPORT
DEFFWFUNC InitPaletteLerp
DEFFWFUNC InitPaletteLerpSameColor
DEFFWFUNC FadePaletteTo
DEFFWFUNC DoFadePaletteStep
IFEQ FW_PALETTE_LERP_SUPPORT-2
DEFFWFUNC DoFadePaletteStepBlueNoise
ENDC
ENDC
IF FW_SCRIPTING_SUPPORT
DEFFWFUNC InstallScript
DEFFWFUNC CheckScript
IF FW_MUSIC_SUPPORT
DEFFWFUNC InstallMusicScript
DEFFWFUNC CheckMusicScript
ENDC
ENDC
IF FW_BLITTERQUEUE_SUPPORT
DEFFWFUNC AddToBlitterQueue
DEFFWFUNC SetBlitterQueueMultiFrame
DEFFWFUNC SetBlitterQueueSingleFrame
DEFFWFUNC TriggerBlitterQueue
DEFFWFUNC TriggerCustomBlitterQueue
DEFFWFUNC JoinBlitterQueue
DEFFWFUNC TerminateBlitterQueue
ENDC
IF FW_LZ4_SUPPORT
DEFFWFUNC DecompressLZ4
ENDC
IF FW_ZX0_SUPPORT
DEFFWFUNC DecompressZX0
ENDC
IF FW_DOYNAX_SUPPORT
DEFFWFUNC DecompressDoynax
ENDC