📄 app_memory.ss
字号:
// ---------------------------------------------------------------------------
// Copyright (c) 2008 Semiconductor Components Industries, LLC
// (d/b/a ON Semiconductor). All Rights Reserved.
//
// This code is the property of ON Semiconductor and may not be redistributed
// in any form without prior written permission from ON Semiconductor. The
// terms of use and warranty for this code are covered by contractual
// agreements between ON Semiconductor and the licensee.
// ---------------------------------------------------------------------------
// app_memory.ss
// - Application-level memory allocation file
// ---------------------------------------------------------------------------
// $Revision: 1.16 $
// $Date: 2008/10/29 18:00:25 $
// ---------------------------------------------------------------------------
#include <sk25_hw.inc>
#include <boss.inc>
#include <bat.inc>
#include "app.inc"
//-----------------------------------------------------------------------------
// Low X Variables
//-----------------------------------------------------------------------------
Mem_Start_Reloc_Segment(XL_app_segment, SYSTEM_MEMORY_TYPE_XL, 0x20)
//-----------------------------------------------------------------------------
// Name: XL_INTERRUPT_FLAGS
// Description: Use to keep track of which interrupt has just occurred
// Data format: Bit 0: IOP ISR flag
// Bit 1: WOLA ISR flag
// Other bits: undefined
// Size: 1 word
// Default value: 0 (no flags set)
// Range: 1 indicates that a flag has been set
// 0 indicates that a flag has been cleared
// Restrictions: None
// Initialization method: Initialized in the routine App_Initialize
//-----------------------------------------------------------------------------
Mem_Reserve(XL_INTERRUPT_FLAGS, 1)
//-----------------------------------------------------------------------------
// Name: XL_WOLA_STATE
// Description: Use to keep track of which WOLA function has been called
// Data format: integer
// Size: 1 word
// Default value: WOLA_STATE_IDLE
// Range: WOLA_STATE_IDLE
// WOLA_STATE_ANALYSIS
// WOLA_STATE_GAIN
// WOLA_STATE_SYNTHESIS
// Restrictions: None
// Initialization method: Initialized in the routine App_Initialize
//-----------------------------------------------------------------------------
Mem_Reserve(XL_WOLA_STATE, 1)
//-----------------------------------------------------------------------------
// High X Variables
//-----------------------------------------------------------------------------
Mem_Start_Reloc_Segment(XH_app_segment, SYSTEM_MEMORY_TYPE_X, 0x100)
//-----------------------------------------------------------------------------
// Low Y Variables
//-----------------------------------------------------------------------------
Mem_Start_Reloc_Segment(YL_app_segment, SYSTEM_MEMORY_TYPE_YL, 0x20)
//-----------------------------------------------------------------------------
// High Y Variables
//-----------------------------------------------------------------------------
Mem_Start_Reloc_Segment(YH_app_segment, SYSTEM_MEMORY_TYPE_Y, 0x100)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -