Shop OBEX P1 Docs P2 Docs Learn Events
Word Processor Program — Parallax Forums

Word Processor Program

Eddie NolanEddie Nolan Posts: 11
edited 2010-08-27 20:57 in Propeller 1
First time programming the Propeller in a while!
I'm going to post a completely unfinished, messy, and buggy version of a little word processor I'm working on. I'll finish it later when it's not 3:40 AM.
Have fun exploring its wonderful glitches :-P

Comments

  • Eddie NolanEddie Nolan Posts: 11
    edited 2010-08-10 20:51
    New version. Much better quality. Scrollbars, far fewer glitches. Once I get an SD card hookup I'll add a save function.
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-08-11 00:38
    Congratulations! Will it run on the Parallax Demo board? Can you provide more information about how to use the Word Processor?

    Humanoido
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-08-11 00:43
    You could have a version save notes to the EEPROM on the demo board.

    Humanoido
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2010-08-11 10:01
    @Eddie

    Excellent program! Looking forward to your adding SD code!

    OBC
  • Eddie NolanEddie Nolan Posts: 11
    edited 2010-08-12 21:17
    @Humanoido
    -Yes, it works on the Parallax Demo Board, that's how I programmed it, hooked up to a TV with a PS/2 keyboard. In fact, you might need to change some of the constants to make it work otherwise. I need to start commenting it up.
    -How to use it: Just start typing. There are 37 characters per line, and you move up and down through the lines by using the up and down arrow keys. Right now there's no way to move left and right through the text with the arrow keys, and there's no way to insert text behind other text-- it just overwrites. That's another thing I need to work on.
  • Invent-O-DocInvent-O-Doc Posts: 768
    edited 2010-08-13 19:44
    This is a lot like the "MEMO PAD" mode on the Atari 400/800 computers! (It displayed when a computer booted up without the BASIC cartridge or DOS and was embedded in the ROM.
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-08-14 03:05
    @Humanoido
    -Yes, it works on the Parallax Demo Board, that's how I programmed it, hooked up to a TV with a PS/2 keyboard. In fact, you might need to change some of the constants to make it work otherwise. I need to start commenting it up. - How to use it: Just start typing. There are 37 characters per line, and you move up and down through the lines by using the up and down arrow keys. Right now there's no way to move left and right through the text with the arrow keys, and there's no way to insert text behind other text-- it just overwrites. That's another thing I need to work on.
    Eddie Nolan, that's very good because I use the Propeller Demo Board for nearly everything. It's how I started building many recent projects - so an app like a word processor is very useful. I look forward to seeing some simple additions to the program I see you just wrote and posted the first section of the operating manual. :)

    Humanoido
  • Eddie NolanEddie Nolan Posts: 11
    edited 2010-08-14 20:46
    Thanks for your support, everyone! I added a whole bunch of comments and chose to release it under CC-by-sa. The left-and-write navigation and insertion modes will probably come next, but save to SD might not be for a while because I still need to get the breakout board in the mail and learn the transfer code. In the meantime, tell me if you find any bugs!
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-08-15 00:27
    Thanks for your support, everyone! I added a whole bunch of comments and chose to release it under CC-by-sa. The left-and-write navigation and insertion modes will probably come next, but save to SD might not be for a while because I still need to get the breakout board in the mail and learn the transfer code. In the meantime, tell me if you find any bugs!
    Eddie, the new commented code is very helpful, and since you are using the Demo Board, why not just have a way to save the note into the EEPROM that's already on the board? It may be a fast way to get this function working. I think the text dump to EEPROM, to save the note, should have many examples already developed and will serve as a guide in adding this function to the WP. Not everyone has an SD card on their Demo Board but every board has a 32K 24LC256 EEPROM.

    Humanoido
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-08-15 07:27
    showthread.php?p=931501#post931501showthread.php?p=931501#post931501showthread.php?p=931501#post931501showthread.php?p=931501#post931501

    I had some time this weekend and checked out the word processor on the Parallax Demo Board. It was way cool! I like it! It has a very good appearance and works very perky with a great response. Immediately it welcomes you, which is very user friendly. You double click WP3-spin and Run, Compile Top, Load eeprom. From there it takes off. Very nice to see a real time count of the row and column. The right hand scroll bar indicator is a nice touch. Definitely needs the left right arrow key movements through text left and right to make corrections. The arrow up down works flawlessly. Everything was so smooth I even tried the mouse! :) My suggestion is to create a line break at the space in between words on the line, so it rolls over clean to the next line. Keep up the great work! I have attached a pic showing the cute setup on my small Parallax 3.5-inch TFT monitor.

    Humanoido
    443 x 328 - 20K
  • Roger LeeRoger Lee Posts: 339
    edited 2010-08-15 17:33
    Add one more thumbs up for WP-3
    Running on Demo Board.

    Very nice touch with the "PLUG IN KEYBOARD" error checking.
    Had to try it without keyboard, just plugged it in, no reset needed - nice!
  • Eddie NolanEddie Nolan Posts: 11
    edited 2010-08-15 17:33
    I tried downloading the Object Exchange files for EEPROM read/write, but I couldn't understand how to use them at all. Can someone point me to some kind of guide for reading/writing to the EEPROM? In the meantime, I'm working on the left/write insert thing.
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-08-16 22:35
    I tried downloading the Object Exchange files for EEPROM read/write, but I couldn't understand how to use them at all. Can someone point me to some kind of guide for reading/writing to the EEPROM? In the meantime, I'm working on the left/write insert thing.
    The search engine in the new forum is fantastic. It calls up numerous posts about eeproms with that search term. Most of the posts I see are about the eeprom that holds the program. I was thinking of putting another eeprom on another pin. That would avoid all the issues of overwriting the storage from the WP by the program. If you want the chip number, it would be the same as the one supplied in the PEK. For more information about a specific object, I suggest you could start a thread with a specific question. Sometimes the original programmer will supply information.

    Humanoido
  • Eddie NolanEddie Nolan Posts: 11
    edited 2010-08-21 13:02
    "I was thinking of putting another eeprom on another pin." - Humanoido

    Ohh! That makes more sense. I just got the SD card in the mail, so that's a whole different story. In the meantime, here's a version where you can navigate with all the arrow keys. Still working on insert mode.
  • HollyMinkowskiHollyMinkowski Posts: 1,398
    edited 2010-08-21 14:14
    What a fun project!
    Well done...
  • logan996logan996 Posts: 281
    edited 2010-08-21 15:20
    Nice! When you make it saveable wont it save as a txt? (dont know really any spin yet! haha have 2 props but dont know how to use them lol :D) but anyway this is a awesome program!
  • Roger LeeRoger Lee Posts: 339
    edited 2010-08-21 15:47
    WP-4 looks good.

    Just a comment: I see no revision history in the top object.
    WP-4 is a different name than WP-3, but...

    It would let everyone know quickly how far you have come to date.
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-08-27 20:57
    Eddie Nolan, how's it going? You may want to look at this from OBC. Everything you talked about for filing is here.

    http://forums.parallaxinc.com/forums/default.aspx?f=25&m=255771

    Humanoido
Sign In or Register to comment.