CPCWiki forum

General Category => Applications (CPC and CPC-related) => Topic started by: litwr on 18:56, 05 August 14

Title: A new text editor for AMSDOS
Post by: litwr on 18:56, 05 August 14

A new text editor for Amstrad CPC is just released - http://litwr2.atspace.eu/cpc.html (http://litwr2.atspace.eu/cpc.html) - it is easy, does not intended to work with the printer, has the help information.  It should work with any text file.  The only limitation is the amount of free memory - it may use up to 30 KB at CPC6128.  This editor was developed as part of Xlife-8 project.  It is not intended to be perfect.  It was developed because there is no other text editor for AMSDOS which may work with any text.  Protext may load any text file but its format for the save is generally not the plain text.  :( Protext also works only with unwrapped long lines.
I used this editor with an email letter. :D
Thanks for the support!
Title: Re: A new text editor for AMSDOS
Post by: TFM on 20:30, 05 August 14
When using Protext just switch to program mode and you can save in plain text.  :)


To enter program mode just enter "prog" in the command window.  :)
Title: Re: A new text editor for AMSDOS
Post by: SyX on 21:29, 05 August 14
Great Work!!! :)

It's a small tool that works perfectly and being your first CPC program, i'm going to repeat again... GREAT WORK!!! :) :) :)
Title: Re: A new text editor for AMSDOS
Post by: litwr on 05:32, 06 August 14
I've just found a critical error.  :o :( So use this editor only to test it.
Quote from: TFM on 20:30, 05 August 14When using Protext just switch to program mode and you can save in plain text.  :)

To enter program mode just enter "prog" in the command window.  :)
I'm very sorry I missed this.  :(  Thank you!
Quote from: SyX on 21:29, 05 August 14
Great Work!!! :)

It's a small tool that works perfectly and being your first CPC program, i'm going to repeat again... GREAT WORK!!! :) :) :)

Why do you flatter me?  ;)  It is just a simple notepad even without copy-paste functions... However I am very proud by several details which are made slightly better than at Protext: you can always move cursor right left.  :D  BTW it is not my first program for CPC, it is the second.  The first one is in Assembler and still not announced.
Title: Re: A new text editor for AMSDOS
Post by: litwr on 09:32, 06 August 14
The bug is fixed.  :) It was in the load procedure (a problem with gosub stack). So I am 99.9% sure that Notepad+4 is free of big bugs now.
Title: Re: A new text editor for AMSDOS
Post by: TFM on 17:30, 06 August 14
Quote from: litwr on 05:32, 06 August 14
I'm very sorry I missed this.  :( 


Never mind, it's worth. You did an awesome job.  :)  Looking forward to see this project evolving.  :)
Title: Re: A new text editor for AMSDOS
Post by: SyX on 20:38, 06 August 14
Quote from: litwr on 05:32, 06 August 14Why do you flatter me?  ;)  It is just a simple notepad even without copy-paste functions... However I am very proud by several details which are made slightly better than at Protext: you can always move cursor right left.  :D  BTW it is not my first program for CPC, it is the second.  The first one is in Assembler and still not announced.
Because is important to support new developments ;)
Title: Re: A new text editor for AMSDOS
Post by: litwr on 08:01, 07 August 14
Quote from: TFM on 17:30, 06 August 14

Never mind, it's worth. You did an awesome job.  :)  Looking forward to see this project evolving.  :)

Thank you.  :) I need the bug reports, the suggestions, ... in order to make the evolution.  ;)
Title: Re: A new text editor for AMSDOS
Post by: Gryzor on 18:29, 21 September 14
This is nice, I like simple utilities :) Only thing that bothered me was the line flicker.
Title: Re: A new text editor for AMSDOS
Post by: litwr on 06:37, 23 September 14
Quote from: Gryzor on 18:29, 21 September 14
This is nice, I like simple utilities :) Only thing that bothered me was the line flicker.
Thank you!  :)  This flicker appears because LDIR is not fast enough.  :D  This is only a fast and dirty thing, the first for its kind...  ;)
Title: Re: A new text editor for AMSDOS
Post by: litwr on 10:33, 04 May 15
I've just updated the editor to revision 5.  No important changes but the project is still breathing.  :)  I used this editor to make several email letters...  ;)  BTW it is also released for other platforms: Commodore +4 (http://litwr2.atspace.eu/notepad+4.html (http://litwr2.atspace.eu/notepad+4.html)) and Russian home PDP-11 BK0011 (http://litwr2.atspace.eu/bk/np4bk.html (http://litwr2.atspace.eu/bk/np4bk.html)).
Title: Re: A new text editor for AMSDOS
Post by: TFM on 21:02, 04 May 15
Excellent! BTW. You missed the poll for the languages of the CPC.... Take a look ;-)


Languages of the CPC! (http://www.cpcwiki.eu/forum/general-discussion/languages-of-the-cpc!/)

Title: Re: A new text editor for AMSDOS
Post by: Gryzor on 20:37, 05 May 15
This is nice and cute :)
Title: Re: A new text editor for AMSDOS
Post by: Tolkin on 17:21, 03 March 17
Hello,
i love this little proggy. More than enough for writing short Info-Text when i need to.


I tried to start it from a ROM Conversion. But I failed.  :(


Then i looked in the code, and the lines are longer than 254 Characters...
OK, so iam stuck...


Can someone show me a direction? I tried using the "1.27 Softbrenner" but i wont work...

Thanks for help

Title: Re: A new text editor for AMSDOS
Post by: SOS on 21:07, 03 March 17
Quote from: Tolkin on 17:21, 03 March 17
I tried to start it from a ROM Conversion. But I failed.  :(


Then i looked in the code, and the lines are longer than 254 Characters...
OK, so iam stuck...


Can someone show me a direction? I tried using the "1.27 Softbrenner" but i wont work...
Softbrenner: "Softbrenner 1.27 is a ROM utility by WSX to write ROM images .."
and that's the main problem.

So you need a "ROM-Image". You must create one ourself (i dont know, if a program exists, to create one automatically, i do not think, that one exist).

Added 21:42:
I see, someone put NP4 into a ROM, take a look to the CPC-Live-Forum...
Title: Re: A new text editor for AMSDOS
Post by: Tolkin on 08:11, 05 March 17
Hy, one Part of the Softbrenner can convert Programs to ROM. Normally it worked very well.
I will contact TFM, maybe he can give me some advice.
Thank you
Tolkin
Title: Re: A new text editor for AMSDOS
Post by: litwr on 09:10, 04 July 17
Quote from: Tolkin on 08:11, 05 March 17
Hy, one Part of the Softbrenner can convert Programs to ROM. Normally it worked very well.
I will contact TFM, maybe he can give me some advice.
Thank you
Tolkin
Try to use NP4SRC.BAS instead of NP4.BAS which is compressed by BPC. NP4SRC is a bit slower (about 5%) and give a bit less memory but it has lines with normal length.
Powered by SMFPacks Menu Editor Mod