Shop OBEX P1 Docs P2 Docs Learn Events
Coming soon to a Prop near you - PrEditor - Page 2 — Parallax Forums

Coming soon to a Prop near you - PrEditor

24

Comments

  • jazzedjazzed Posts: 11,803
    edited 2009-04-25 23:55
    Rick, makes sense to me. When you're done with this one and are ready to take the next step in user interface evolution let me know. I have some very nice widgets for you [noparse]:)[/noparse]

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    --Steve


    Propalyzer: Propeller PC Logic Analyzer
    http://forums.parallax.com/showthread.php?p=788230
  • Cluso99Cluso99 Posts: 18,069
    edited 2009-04-26 02:04
  • heaterheater Posts: 3,370
    edited 2009-04-26 09:42
    What's up with everyone. From Wiktionary:

    Noun

    Singular
    preditor

    Plural
    preditors

    preditor (plural preditors)

    1. In the entertainment industry, a job title that combines both the duties of an editor and a producer.


    Call me old fashioned but preditor/predator brings to my mind lions and tigers and such first. Not bad people or stupid movies.

    I think it's a great name.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
  • BaggersBaggers Posts: 3,019
    edited 2009-04-26 10:35
    CassLan said...
    @Baggers & OBC- I got a simple Alphabetical file sort going, sorting by only the first character, I'm just trying to be stingy with the·memory at this point, so I can't possibly store all the filenames one might have on their SD card and do a sort from that, instead I'm just using the fsrw.opendir command once per letter of the alphabet, and seeing if·the filenames start with that particular character.·
    So are you only showing files by first character? so you can use a smaller buffer?

    You could also limit it to certain file extensions.·( .txt .spin .doc etc )

    And as for PrEditor, it's a great name [noparse]:)[/noparse] keep that one.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-04-26 14:51
    The chosen name doesn't bring negative connotations here.
    (I'm more of a discovery channel kind of guy, so it works.)

    I curious how heavy your code is at this point with the "GUI"?

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Visit the: The Propeller Pages @ Warranty Void.
  • CassLanCassLan Posts: 586
    edited 2009-04-26 14:55
    @Baggers- No you will see the whole filename [noparse];)[/noparse] What I meant was that when I learned how to sort, first you'd create an array will all the values, then bubble sort them..I learned several methods but that was a long time and I dont remember the names.
    Since I have no idea how many files one could have on the SD (could be 500 right? who knows), I'm only sorting the filenames by the first character..(ALABASTE.TXT may show up before AARDVARK.TXT, but always before BACON.TXT and CLASS.TXT..etc).
    But lets see if I can put in a true sort.
    Also the the File Name box can have any combo of *.*, *.txt, *.g?? it will all work like the original program.

    @heater- I agree its a great name.

    OK Back to it then!
    Rick
  • jazzedjazzed Posts: 11,803
    edited 2009-04-26 15:16
    Sure is tough to be a devil's advocate around here.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    --Steve


    Propalyzer: Propeller PC Logic Analyzer
    http://forums.parallax.com/showthread.php?p=788230
  • BaggersBaggers Posts: 3,019
    edited 2009-04-26 15:22
    @Rick, I didn't mean only showing the first letter of the filename, I meant like you press the first letter and those files came up, but you've got it sorted.
    if you want an asm filename sorter let me know.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • CassLanCassLan Posts: 586
    edited 2009-04-26 16:08
    @Baggers- Oh I see what you meant. Not exactly, if your in the Files Box and you type a "k" it will hop to the first File that begins with that letter if it exists. And thanks!

    @OBC- At the moment if I remove the File Buffer: Program is 2,544 Longs and Variable is 877 Longs.

    Rick
  • simonlsimonl Posts: 866
    edited 2009-04-27 12:23
    @jazzed: Oh <bleep>, what've I started?! LOL

    Hehe, no malice taken here - it's always worth pointing such things out.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheers,
    Simon

    www.norfolkhelicopterclub.com

    You'll always have as many take-offs as landings, the trick is to be sure you can take-off again wink.gif
  • CassLanCassLan Posts: 586
    edited 2009-04-27 20:23
    Hey all,

    It's coming along nicely. The file Dialog is finished including a progress bar to show you how far along within your files you are.
    One issue that I'm having is that when you "Page" through the files there is a delay, and its the kind of delay that gets bigger the deeper into the files you are.
    I'm going to leave this as-is for now to move forward with the rest.

    Completed routines to allow for using WordWrap ON or OFF as displayed in the pictures.

    Memory is becoming an issue or at least a worry, as of now I'm using 2,805 Longs for Program + 1,003 Longs Variable, thats with no File Buffer. Add a 15K File Buffer and I'm down to 630 Longs Free/Stack!

    So My Plan is to get it going with a 8k~10k File Buffer, then work on optimizing to shrink Program Longs and Increase the File Buffer.

    Rick
    640 x 480 - 164K
    640 x 480 - 306K
    640 x 480 - 285K
  • BaggersBaggers Posts: 3,019
    edited 2009-04-27 20:53
    Nice progress [noparse]:)[/noparse]
    I'm sure 8K-10K buffer will be fine for most peoples needs anyway!
    And those with SRAM can modify it later for a larger buffer [noparse]:D[/noparse]

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • GiemmeGiemme Posts: 85
    edited 2009-04-27 21:39
    Hi Rick

    very nice application...there are some improvements for usability like the OK button on the right and the CANCEL button on the left

    Regards

    Giianni
  • BaggersBaggers Posts: 3,019
    edited 2009-04-27 22:21
    Actually Giemme, IIRC, OK is rightly on the left for an Edit clone [noparse]:)[/noparse]

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • Bill DrummondBill Drummond Posts: 54
    edited 2009-04-28 04:37
    Have you considered a full screen function key to toggle 9/13 lines?
  • Cluso99Cluso99 Posts: 18,069
    edited 2009-04-28 06:13
    Love the name smile.gif It will be a great addition to the Propeller software.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBladeProp, SixBladeProp, website (Multiple propeller pcbs)
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · Prop Tools under Development or Completed (Index)
    · Emulators: Micros eg Altair, and Terminals eg VT100 (Index)
    · Search the Propeller forums (via Google)
    My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
  • CassLanCassLan Posts: 586
    edited 2009-04-28 13:06
    @Giemme- I'm going for as much of a clone as possible, but why would that increase usability?

    @Bill Drummond- That is a great idea, but I'm going to add it to the improvements for next version.

    I'm going to start piling the improvements list at the top of the thread, because there have been so many great suggestions.

    I won't be needing it for this release, but has anyone written a Virtual Memory Driver using the SDCard?

    Rick
  • BaggersBaggers Posts: 3,019
    edited 2009-04-28 14:11
    CassLan, Cluso99 has probably got the closest thing to a VMD using te SDCard, with his CPM Drive Emulator thingy.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • Cluso99Cluso99 Posts: 18,069
    edited 2009-04-28 14:18
    CassLan: What do you require by VMD using the SD Card? I use a contiguous file (I have one of 32MB) which can be addressed directly within the file. Will that do?

    If so, here is a link http://forums.parallax.com/showthread.php?p=786418·on 2009/4/24 where I posted the SD files. See the ZiCog_demo_xxx.spin for the code which locates the file and gets its first sector address. This way, the file (I presume you would be calling it a work file so just rename it before copying it from your pc) can be used directly, and it resides under·FAT16. I·am told·that the card takes care of moving the data when it gets written too many times and this is hidden by the card.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBladeProp, SixBladeProp, website (Multiple propeller pcbs)
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · Prop Tools under Development or Completed (Index)
    · Emulators: Micros eg Altair, and Terminals eg VT100 (Index)
    · Search the Propeller forums (via Google)
    My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm

    Post Edited (Cluso99) : 4/28/2009 2:34:54 PM GMT
  • GiemmeGiemme Posts: 85
    edited 2009-04-28 14:22
    Hi Rick

    because it is a standard (99.9% all application are like that) and people are used to have the ok button on the right..

    but if you are a creative.. you can keep on the left smile.gif

    Regards

    Gianni
    204 x 50 - 7K
  • CassLanCassLan Posts: 586
    edited 2009-04-28 14:26
    Cluso99- I don't really think its necesary for this program yet, since most people's text files will fit within a 10K buffer.
    The thought popped into my head when I was trying to imagine editing code with this Editor..then I looked at the file size of the main object I'm working on and saw that its 56k!
    So..I was just thinking 10K is a bit restrictive but if PrEditor was working on files in 10K chunks at a time and it was seemless to the end user...THAT would be AWESOME!!!
    Again, its not something thats going into this first version, just a thought for the future.

    Rick
  • KPRKPR Posts: 189
    edited 2009-04-28 18:03
    What about a 40x24 version?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New ICON coming, gotta wait for the INK to heal, now we have colour!
  • CassLanCassLan Posts: 586
    edited 2009-04-28 18:47
    @KPR- I'm not sure what driver could be used for that, after this one is done, I'm going to look at doing·a VGA Version

    Also the DropDownMenu Functions used in PrEditor·have been posted: http://forums.parallax.com/showthread.php?p=803515

    Rick
  • KPRKPR Posts: 189
    edited 2009-04-28 19:12
    CassLan said...
    @KPR- I'm not sure what driver could be used for that, after this one is done, I'm going to look at doing a VGA Version

    Also the DropDownMenu Functions used in PrEditor have been posted: http://forums.parallax.com/showthread.php?p=803515

    Rick

    The AiGeneric and the Apple][noparse][[/noparse] drivers do 40x24 on tv out

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New ICON coming, gotta wait for the INK to heal, now we have colour!
  • CassLanCassLan Posts: 586
    edited 2009-04-28 20:28
    @KPR- I was just fooling with AiGeneric and its totally doable

    @OBC- Is there a font for AiGeneric that has all the same characters as the TV_Text font?

    Rick
  • Cole LoganCole Logan Posts: 196
    edited 2009-05-01 17:29
    So how far away do you think you are from letting others play with this.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    1986 Chevy EL Camino·· No prop yet

    1984 Suzukie GS1100GK No prop yet
  • BaggersBaggers Posts: 3,019
    edited 2009-05-01 17:37
    CassLan said...
    @OBC- Is there a font for AiGeneric that has all the same characters as the TV_Text font?
    
    



    Rick, the TV_Text font is from ROM and is 16x32 pixels wide, there isn't as yet an 8x8 font version of it.
    There was talk about taking certain vertical/horizontal pixels from the rom font to make fonts for a smaller LCD, a while back, although I'm not sure how that went.

    I suppose you could do an interlaced screen, and use the rom font, and reduce HX, and try and squeeze a 40x24 and use every other line ( or OR them together ) for the height of the font.

    Let me have a play, to see what I can come up with and get back to you on that.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-05-01 18:03
    There is no reason why a similar font couldn't be easily created..

    Hopefully Baggers will have a solution to using AiGeneric for PAL users. *nudge* *nudge* [noparse]:)[/noparse]

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Visit the: The Propeller Pages @ Warranty Void.
  • CassLanCassLan Posts: 586
    edited 2009-05-01 23:04
    @Baggers & OBC- The reason I had asked was because I got it to work with AIGeneric but the Menus etc rely heavily on the ASCII line characters, that was the only thing out of wack with it. OBC, you mentioned in another post not to long ago about a "font maker" for AiGeneric, maybe that could be used.

    @Cole- I was busy with work these past couple of days, but I will get back on track with the PrEditor this weekend, the menu code has been released if you want to play with that. At worst it could be another week Cole.

    Rick
  • stevenmess2004stevenmess2004 Posts: 1,102
    edited 2009-05-02 05:13
    Baggers said...
    There was talk about taking certain vertical/horizontal pixels from the rom font to make fonts for a smaller LCD, a while back, although I'm not sure how that went.

    Clemens had two versions of a font (6x12 and 8x12) that used the ROM font as the base and then just selecting certain rows and columns. I put one of them into the XOR mod that I did to the graphics driver that I did. There was some talk at the time about modding one of the tv drivers to use it but everyone decided that it was too hard at the time.

    Here's the original thread on his font http://forums.parallax.com/showthread.php?p=708332

    Don't know where the threads that talked about using it in a standard tv driver are. My XOR graphics driver which supports an 8x12 version is in the object exchange.
Sign In or Register to comment.