This commit is contained in:
2024-08-07 09:12:07 -04:00
parent ca445435a0
commit fdfadd5c7e
1021 changed files with 73601 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
#ifndef _AS68HC11_S19GENERATOR_HPP_
#define _AS68HC11_S19GENERATOR_HPP_
#ifndef _COMMON_WINDOWS_HPP_
#include <common/windows.hpp>
#endif
#ifndef _COMMON_BLOCK_HPP_
#include <common/block.hpp>
#endif
#ifndef _COMMON_PUREVIEWOFFILE_HPP_
#include <common/pview.hpp>
#endif
#ifndef _COMMON_FILE_HPP_
#include <common/file.hpp>
#endif
#ifndef _AS68HC11_ORIGIN_HPP_
#include <as68hc11/origin.hpp>
#endif
class S19Generator
{
public:
enum{MaxDataBytesPerLine=32};
// static bool generateCode(Origins &origins,PureViewOfFile &rawCode,DWORD codeLength,const String &strPathOutput);
static bool generateCode(PureViewOfFile &rawCode,const String &strPathOutFile);
private:
static void generateLines(DWORD origin,DWORD codeSize,PureViewOfFile &rawCode,File &outFile);
};
#endif