ds.spacemonkeymafia.com

TxtWriter

TxtWriter is a ... text writing program. Using the virtual keyboard, you can type out a message that can then be saved to a CF card in a device such as the GBAMP. Button assignments for shift, backspace, space, and return make typing a little easier and are paralleled on both sides for left- and right-handed people.

You choose your own filename for the text files, but it only saves it to a folder named "TXT" in the root directory. There is also a 256 line limit for text files.

v0.3 sports a redesigned interface along with intra-document editing, allowing you to move around within the text file to make changes. Dialog boxes have been added to aid in user input options and alerts.

UPDATE: There seems to be an issue with v0.3 and the M3. In the meantime, you can still download v0.2.1. If anybody looks at the source and gets v0.3 working with an M3, please let me know.

UPDATE 2: Sektor was awesome enough to fix TxtWriter to work with the M3, finally. It was all VRAM issues, it seems. He was also kind enough to update it with the newest FAT library so it should also work with all the SD card readers and GBA game saves. v0.3.1 is all because of him.

TxtWriter

version:

0.3.1

date:

March 20, 2006

downloads:

1653 (total: 3806) | source: 193

download:

download (75KB)

source:

download (78KB)

features:

  • save, read & load, and delete files from a CF card in a GBAMP and M3 with overwrite confirmation
  • file menu with an alphabetized file list
  • a working virtual keyboard with shift/caps, button highlighting, and F-key support
  • custom font
  • word wrapping and line scrolling
  • document navigating with home/end/page up/page down & arrow keys with a cursor
  • mirrored button key assistance mapping non-character keys for aided text input
  • dialog boxes for user input, selection confirmation, and information alerts
  • looking pretty snazzy

notes:

UP / X : Shift
LEFT / Y : Backspace
RIGHT / A : Space
DOWN / B : Return
L SHLDR : Save
R SHLDR : Open
SELECT : Clear

F1 : Save
F2 : Open

CLOSE : Clear

to do:

  • add in CTRL commands
  • help menu
  • backlight off when closed
  • LEDs flash when saving and opening
  • splash screen timeout
  • long file names
  • custom file extensions
  • directory browsing
  • save/save as
  • file renaming
  • click sounds
  • color themes

limitations:

  • 256 line limit
  • 8192 character limit (256 lines * 32 characters)
  • 27 character filename (+ file extension)
  • confined to /TXT folder
  • 128 files

links:

thread on gbadev.org
livejournal post in ds_homebrew

Version History

v0.3.1 (March 20, 2006)

- should work with the M3 and SD readers now

v0.3 (November 11, 2005)

- text console background
- new font
- new extended keyboard
- key highlighting
- home/end/pgup/pgdn & arrow keys navigate text
- cursor
- dialog boxes
- F-keys for opening & saving files
- Clear button
- internal editing

v0.2.1 (November 6, 2005)

- fixed delete menu display bug
- should now work with M3

v0.2 (November 6, 2005)

- file browser
- open text files
- edit text files
- delete text files
- overwrite confirmation
- scrolling files over 23 lines long
- word wrapping

v0.1 (November 2, 2005)

Initial Release:
- virtual keyboard
- button assistance
- save to CF card

Credits

Thanks to Chism for his GBAMP CF FAT drivers.

Thanks to Headspin for his keyboard examples. The keyboard used is from his "Extended Keyboard Example 4", which also helped guide me in writing my own keyboard code.

Thanks to John Reeves Hall for his 8x8 font. May his contributions live on.

Thanks to Sektor for fixing my program to work with the M3.