MiniAT Kiosk provides a method to replicate the functionality of a physical kiosk in MiniAT.
MiniAT Kiosk provides the following peripherals:
- Screen
- Keypad
- Receipt Printer
Installation to an installation of MiniAT is simple.
-
Install dependencies: sdl2, sdl2-ttf, sdl2-image and sdl2-gfx
For Ubuntu, run `apt-get install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-gfx-dev'
-
Clone this repository to the
system
directory of MiniATgit clone https://bitbucket.org/miniat_amos/kiosk.git
-
Run
scons
in the root directory of MiniAT.
MiniAT Kiosk comes with a number of demo MiniAT assembly programs. The demo assembly is available in asm/
directory of the kiosk directory.
The MiniAT system program is available at out/exe/miniat_kiosk
.
To run an assembly program, run like so:
./out/exe/miniat_kiosk ./out/bin/(bin file name)
Or you can update your runtime path and library first by using the following two commands:
export PATH=$PATH:~/miniat/out/exe
export LD_LIBRARY_PATH=~/miniat/out/lib
Then you can simply run the program in the following way:
miniat_kiosk ./out/bin/(bin file name)
There are a number of assembly programs available to pass to the system program:
test_all.bin
: Demos usage of all peripheralstest_draw_screen.bin
: Demos usage of drawing on the screentest_keypad_1.bin
: Demos using the keypad and printing it to the screentest_printer_1.bin
: Demos basic usage of the receipt printertest_printer_2.bin
: Demos usage of the receipt printertest_printer_3.bin
: Demos usage of the receipt printertest_screen.bin
: Demos basic usage of the screentest_screen_char.bin
: Demos printing characters individually to the screentest_screen_color.bin
: Demos changing the color of the fonttest_screen_draw2.bin
: Demos drawing a square that movies across the screentest_screen_draw.bin
: Demos drawing a line to the screentest_screen_move.bin
: Demos writing to the screen at an offsettest_screen_string2.bin
: Demos writing to the screentest_screen_string3.bin
: Demos writing to the screentest_screen_string.bin
: Demos writing to the screentest_screen_string_wait.bin
: Demos writing to the screen after waitingkeypad_test.bin
: Demos keypad