Files
Work/as68hc11/backup/S19Generator.hpp
2024-08-07 09:12:07 -04:00

29 lines
775 B
C++

#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