mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-06-19 00:55:37 -04:00

VC 2010 Express でとりあえずビルドできます。 とりあえず実機上でも動いてる git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@345 013db118-44a6-b54f-8bf7-843cb86687b1
28 lines
751 B
C
28 lines
751 B
C
/*****************************************************************************
|
|
ビルド時刻を埋め込みます。
|
|
ビルドの度に更新されるようにする必要があります。
|
|
(touchしてね)
|
|
****************************************************************************/
|
|
#include "config.h"
|
|
#include "magic.h"
|
|
|
|
#ifndef _WIN32
|
|
|
|
// V0.5 (ニセ0.1改)
|
|
#pragma section @@CNSTL MGC_LOAD AT 0x0FF6
|
|
__far const unsigned char MGC_LOADd[] = __TIME__;
|
|
|
|
#ifdef _firm_format_v3_
|
|
#pragma section @@CNST MGC_MIMI AT 0x2000
|
|
const unsigned char MGC_HEADdN[] = __TIME__;
|
|
|
|
#else
|
|
#pragma section @@CNST MGC_MIM2 AT 0x2100
|
|
const unsigned char MGC_HEADd[] = __TIME__;
|
|
#endif
|
|
|
|
#pragma section @@CNST MGC_TAIL AT 0x4FF6
|
|
const unsigned char MGC_TAILd[] = __TIME__;
|
|
|
|
#endif
|