More actions
(Created page with "{{#seo: |title= (Other Apps) - GameBrew |title_mode=append |image=gbabrainfuck2.png |image_alt=GBA Brainf**k }} {{Infobox GBA Homebrews |title=GBA Brainf**k |image=gbabrainfuc...") |
m (Text replacement - "Category:GBA homebrew applications" to "") |
||
(3 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
|source=https://github.com/yanorei32/gba-brainfuck/ | |source=https://github.com/yanorei32/gba-brainfuck/ | ||
}} | }} | ||
Brainfuck interpreter for GBA. This application is based in part on the work of the [http://sourceforge.net/projects/devkitpro devkitpro] project. | [https://en.wikipedia.org/wiki/Brainfuck Brainfuck] interpreter for GBA. This application is based in part on the work of the [http://sourceforge.net/projects/devkitpro devkitpro] project. | ||
==User guide== | ==User guide== | ||
Line 71: | Line 71: | ||
+] | +] | ||
[ | [ | ||
Output: | Output: | ||
ERROR: FAILED TO FIND '[' | ERROR: FAILED TO FIND '[' | ||
Line 124: | Line 124: | ||
==External links== | ==External links== | ||
* GitHub - https://github.com/yanorei32/gba-brainfuck | * GitHub - https://github.com/yanorei32/gba-brainfuck | ||
Latest revision as of 09:34, 10 Mayıs 2024
GBA Brainf**k | |
---|---|
General | |
Author | Ray Yano |
Type | Other Apps |
Version | 1.0 |
License | BSD-2-Clause |
Last Updated | 2019/11/29 |
Links | |
Download | |
Website | |
Source | |
Brainfuck interpreter for GBA. This application is based in part on the work of the devkitpro project.
User guide
This application has two modes.
After power-on, it will go to Editor Mode.
Operators
Blank | Do nothing. |
+ | Increment current data memory. |
- | Decrement current data memory. |
> | Increment data memory pointer. |
< | Decrement data memory pointer. |
. | Output current data memory as ASCII character. |
, | Input current data memory as hex. It will showing input prompt. |
[ | If current data memory is zero, jump to matching parenthesis ( ] ). |
] | If current data memory is non-zero, jump to matching parenthesis ( [ ). |
Exceptions
"Data memory access violation". If this happens, you did read or write out of the memory boundary.
Minimum:
<+ +[>+]
Output:
ERROR: PTR < 0 ERROR: PTR >= RAM SIZE
"Null character output". If this happens, you tried to print NULL character.
Minimum:
.
Output:
ERROR: '\0' OUTPUT.
"Syntax error". It's your typo.
Minimum:
+] [
Output:
ERROR: FAILED TO FIND '[' ERROR: FAILED TO FIND ']'
Controls
Editor Mode:
Up/A - Change program memory operator
Down - Change program memory operator
Right/B - Move the cursor to next program memory
Left - Move the cursor to forward program memory
Start - Switch to Runner Mode and execute program memory
Select - Reset program memory and cursor position
Runner Mode:
Select - Back to Editor Mode, Keyboard interrupt (while running)
Up/A - Increment (input prompt only)
Down/B - Decrement (input prompt only)
Left - Decrement 0x10 (input prompt only)
Right - Increment 0x10 (input prompt only)
Media
GBA brainfuck (yanorei32)
Compatibility
Operability confirmed environments:
GBA AGB-001 AGB-JPN (with EZ Flash IV)
GBA AGB-001 AGB-JPN-1 (with EZ Flash IV)
GBA AGB-001 C/AGB-JPN (with EZ Flash IV)
GBA AGB-001 C/AGB-JPN-1 (with EZ Flash IV)
GBA SP AGS-001 C/AGS-JPN (with EZ Flash IV)
VisualBoyAdvance 1.7.2 (latest version as of 2019-11-28)
VisualBoyAdvance-M 2.1.4 (latest version as of 2019-11-28)
Changelog
1.0
- Fix data memory access violation bug and code optimize.