📄 flash.c
字号:
#include "flash.h"
#include "util.h"
struct FlashFileHandle fileHandle;
int flashClose()
{
return 1;
}
int flashOpen(const char* address)
{
fileHandle.start = (char*)stringToInt(address);
fileHandle.current = fileHandle.start;
return 1;
}
int flashRead(void* buffer, int size)
{
memCopy(fileHandle.current, buffer, size);
fileHandle.current += size;
return size;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -