Browse Source

Ajout du l'exemple

master
Fife 3 years ago
parent
commit
4c14f88d60
3 changed files with 31 additions and 1 deletions
  1. +0
    -1
      .gitignore
  2. +5
    -0
      AldeBasiClib.h
  3. +26
    -0
      exemple.c

+ 0
- 1
.gitignore View File

@@ -11,4 +11,3 @@ eActivityIcon.bmp
FXSH_Build.bat
MainIcon.bmp
README.md
Ald.c

+ 5
- 0
AldeBasiClib.h View File

@@ -3,6 +3,11 @@

#include "MonochromeLib.h"

#define If if{
#define IfEnd }

#define While(txt) while(txt){
#define WhileEnd }

#define Cls ML_clear_screen()
#define RclVRAM ML_display_vram()

+ 26
- 0
exemple.c View File

@@ -0,0 +1,26 @@

#include "fxlib.h"
#include "AldeBasiClib.h"

int AddIn_main(int isAppli, unsigned short OptionNum)
{
Cls;
Locate(2,3,Test);
RclVRAM;
Sleep(5000);
}

#pragma section _BR_Size
unsigned long BR_Size;
#pragma section


#pragma section _TOP

int InitializeSystem(int isAppli, unsigned short OptionNum)
{
return INIT_ADDIN_APPLICATION(isAppli, OptionNum);
}

#pragma section


Loading…
Cancel
Save