Text editor for Z80 CP/M computers

  • TE is a text editor, developed by Miguel Garcia, storing the edited text in the internal memory, adapted by me to handle files larger than 64KB, for Z80 computers provided with 128KB / 512KB RAM.


    See ( https://github.com/Laci1953/RC2014-CPM/tree/main/te )


    This version of TE can now edit files up to 80KB (in case of 128KB memory available), or 400KB (in case of 512KB memory available).


    (TE use example)


    >te
    TE text editor
    Copyright (c) 2015-2021 Miguel Garcia / FloppySoftware
    Adapted for 128KB RAM by Ladislau Szilagyi

    Use: >TE [options] [filename]
    where options (lowercase or uppercase) are:
    -Tn (n = 4 or 8 sets the tabs to n spaces, default is 8
    -Hnn sets the screen height (up to 99, default is 24)
    -Wnnn sets the screen width (up to 200, default is 80)
    Continue? (N/n = quit) :
    ------------
    You can press N/n to quit to CP/M, or any other key to continue TE, being presented with an empty screen, ready for text input...


    The available commands are similar to WordStar's commands.

    Arrow keys can be used when editing the text.

    Tabs can be used freely in the text; It important to mention that the use of TABs does not increase the size of the text file, nor the size of buffers allocated in memory to store the text; this is because TABs are inflated/deflated to/from blanks only when needed, (e.g.) when displayed on screen.
    When reading/writing files, a line containing a counter of the lines being processed is displayed, to offer to the user a clue related to the status of the I/O operation.

    Ladislau


  • Thanks for the info but it is only for:


    Code
    Text editor "te" for RC2014's following hardware:
    
    - SC108, SC114, SC118, SC150, SC152 or the Phillip Stevens memory module (128 KB RAM),
    - or the 512KB RAM + 512KB ROM module


    and so on mostly all CP/M systems in the world we will run Wordstar for bigger textfiles.

    Mit freundlichen Grüßen


    fritz

  • Hi Fritz,


    as in the case of the enhanced HiTech C compiler, the TE editor is customizable, it may be adapted to all the Z80 systems whose hardware have either 128KB RAM (2 x 64KB RAM banks) or 512KB RAM (32 x 16KB RAM banks).

    It's very simple, all you should do is to change, in the memory manager source (assembly), the I/O ports that switch the RAM banks.


    Ladislau