diff --git a/.gitattributes b/.gitattributes index d5f7c67e34..8e1993d2d3 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4222,6 +4222,9 @@ packages/libgbafpc/src/gba/helper.inc svneol=native#text/plain packages/libgbafpc/src/gba/mappy.inc svneol=native#text/plain packages/libgbafpc/src/gba/mbv2.inc svneol=native#text/plain packages/libgbafpc/src/gba/pcx.inc svneol=native#text/plain +packages/libgbafpc/src/maxmod/inc/maxmod.inc svneol=native#text/plain +packages/libgbafpc/src/maxmod/inc/mm_types.inc svneol=native#text/plain +packages/libgbafpc/src/maxmod/maxmod.pp svneol=native#text/plain packages/libgd/Makefile svneol=native#text/plain packages/libgd/Makefile.fpc svneol=native#text/plain packages/libgd/README.txt svneol=native#text/plain diff --git a/packages/libgbafpc/Makefile.fpc b/packages/libgbafpc/Makefile.fpc index 7695d9fd3e..69a576a562 100644 --- a/packages/libgbafpc/Makefile.fpc +++ b/packages/libgbafpc/Makefile.fpc @@ -9,7 +9,7 @@ version=2.7.1 [target] loaders=core_asm units=gba maxmod -#exampledirs=examples +exampledirs=examples [compiler] diff --git a/packages/libgbafpc/examples/graphics/SimpleBGScroll/SimpleBGScroll.pp b/packages/libgbafpc/examples/graphics/SimpleBGScroll/SimpleBGScroll.pp index 205567eff3..961460f81c 100644 --- a/packages/libgbafpc/examples/graphics/SimpleBGScroll/SimpleBGScroll.pp +++ b/packages/libgbafpc/examples/graphics/SimpleBGScroll/SimpleBGScroll.pp @@ -1,5 +1,8 @@ program SimpleBGScroll; +{$mode objfpc} +{$H+} + uses ctypes, gba; diff --git a/packages/libgbafpc/src/maxmod/inc/maxmod.inc b/packages/libgbafpc/src/maxmod/inc/maxmod.inc new file mode 100644 index 0000000000..6d46718599 --- /dev/null +++ b/packages/libgbafpc/src/maxmod/inc/maxmod.inc @@ -0,0 +1,80 @@ +(**************************************************************************** + * __ * + * ____ ___ ____ __ ______ ___ ____ ____/ / * + * / __ `__ \/ __ `/ |/ / __ `__ \/ __ \/ __ / * + * / / / / / / /_/ />