⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 inf128db.lns

📁 Utils and test SD card read write cycles
💻 LNS
字号:
IRAMSIZE = $4000 ; 14 KB code, 2KB for Sectorbuffers
		 ; InitCode, StartupCode is within the Sectorbuffers

RENAME samsung.s37  code    = iramcode
;RENAME atainit.o1                           code    = iramcode
RENAME ata.o1                               code    = iramcode
RENAME ata.o1                               text    = iramtext
RENAME sdint.o1                             code    = iramcode
RENAME interr.obj                           code    = iramcode

inf128db.hye = ata.o1, samsung.s37, startup.obj, crtlnom.lib

ORDER  code, text, far_bss, iramtrap, iramcode, iramtext, iramfarbss
LOCATE code at $40008000
LOCATE iramtrap  at $C0000000

ASSUME G6       at $0
ASSUME G7       at $40004000
ASSUME G8       at $C0000A00

DEFINE Priority = 3
DEFINE Stack1Size = 1*512    ; size of hardware stack
DEFINE Stack2Size = 1*512    ; size of aggregate stack

DEFINE _ReadSectorBuffer   = $C8001000
DEFINE _WriteSectorBuffer  = $C8001000
DEFINE _PBlockSectorBuffer = $C0004000-1*512
DEFINE _EraseSectorBuffer  = $C0004000-2*512
DEFINE _GlobalSectorBuffer = $C0004000-3*512-16
DEFINE _AggStack           = $C0004000-3*512

DEFINE _correct                     = $DFFFE200
DEFINE _ChunkTabInvReadOverhead     = $DFFFF000 ; replaced
DEFINE _MoveBuffer                  = $DFFFE4E8 ; replaced
DEFINE _ChunkTab                    = $DFFFEFFC ; replaced
DEFINE _IPCacheLogToEraseCount      = $DFFFF3A4 ; replaced
DEFINE _CopyBuffer                  = $DFFFE504 ; replaced
DEFINE _SetBuffer                   = $DFFFE4DE ; replaced


DEFINE _WaitUntillNoReset           = $DFFFF84C ; replaced
DEFINE _SendSectorBuffer            = $DFFFF9E8 ; replaced
DEFINE _GetSectorBuffer             = $DFFFF9C8 ; replaced
DEFINE _ReadLong                    = $DFFFFA30 ; replaced
DEFINE _WriteLong                   = $DFFFFA9C ; replaced
DEFINE _ReadAnchor                  = $DFFFFB04 ; replaced
DEFINE _WriteAnchor                 = $DFFFFB3C ; replaced
DEFINE _EnterSleepMode              = $DFFFFB7C ; replaced
DEFINE _SecretConstant              = $DFFFEB10
DEFINE _SendSCR                     = $DFFFF08C
DEFINE _IsWriteProtected            = $DFFFF0AC
DEFINE _InitRandomSeed              = $DFFFEFE0
DEFINE _C2_Random                   = $DFFFEF7C
DEFINE _C2_G                        = $DFFFEFBC

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -