Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

GBA Brainf--k: Difference between revisions

From GameBrew
No edit summary
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==

Revision as of 15:03, 17 September 2022

GBA Brainf**k
Gbabrainfuck2.png
General
AuthorRay Yano
TypeOther Apps
Version1.0
LicenseBSD-2-Clause
Last Updated2019/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.

External links

Advertising: