Sunday, August 30, 2015

SquareX, a game for the Amstrad PCW

SquareX is a game released in September 2015, as a present for the Amstrad PCW, in its 30th anniversary.

Your goal is to complete lines (or rows) of squares, with the pieces that fall from the top of the screen.

The completed lines will disappear.

Do you remember the name of a game that does something similar?

Er... humm... yes, you do, don't you?

This game has been developed with MESCC, my own Small-C compiler version, and the XPCW library for the Amstrad PCW.


SamaruX v2.02 released.

New in v2.02 / 22 Ago 2015:

- Enhanced support of SamaruX external commands.
- New examples of SamaruX external commands: banner, cal, head, whoami, strings.

MESCC v1.07 released.

I have just uploaded to my website MESCC v1.07.

Now, it is supplied with the following libraries:

mescc.h, alloc.h, clock.h, conio.h, cpm.h, ctype.h, fileio.h, fprintf.h, mem.h, printf.h, rand.h, setjmp.h, sprintf.h, string.h, xprintf.h and z80.h.

Friday, May 8, 2015

te - My small, humble, portable and useful text editor.

+----+
| te +-------------+
+----| Text Editor |
     +-------------+


v1.00 / 07 May 2015

(c) 2015 Miguel Garcia / FloppySoftware
    www.floppysoftware.es
    cpm-connections.blogspot.com
   
floppysoftware@gmail.com

Introduction
------------

The te text editor is small, humble, and useful.

It's screen oriented, and can be easily adapted to a lot of computers.

Command line
------------


It's simple:
        te [filename]

Examples:
        te              - To start an empty document
        te notes.txt    - To edit the document 'notes.txt'.


The screen layout
-----------------


On the first screen line, you will see - ie:

        te: NOTES.TXT   - The file name of the document your are editing.

And something like:

        Lin:0015/0042/0512 Col:32/90 Len:36

The numbers following 'Lin' are:

        0015    - The line number you are editing right now.
        0042    - The current total number of lines.
        0512    - The maximum number of lines.


The numbers following 'Col' are:

        32      - The column number on which you are.
        90      - The number of screen columns.


And, finally, the number following 'Len' is:

        36      - The length of the current line.

On the last screen line, you will see program messages.

The options menu
----------------

You can enter to the menu, by pressing the ESCAPE key, as shown
in the messages line:


        Press [EXIT] to show the menĂº.

Note that the name of your ESCAPE key may change, depending of
the program adaptation.


The options are:

        New       - To start a new document
        Open      - To open a document
        Save      - To save the current document
        save As   - To save the current document under another filename.
        Help      - To show the help screen.
        aBout te  - To show some te information.
        eXit te   - To quit the program.


You can select an option by pressing the character in uppercase.

To leave the menu, you must press ESCAPE.

If you start a new document, the 'Save' option will redirect to you to the 'save As' option.

The help screen will show the keyboard configuration, that depends
of the program adaptation.


File backup
-----------


Each time a file is saved, te does a backup of the previous file
contents if it exists.


It is renamed as 'te.bkp'.

Adaptation
----------


The program adaptation is done by editing a small MESCC source code file.

In this file, you must specify the control characters that your
keyboard send, the help contents, and complete a few C functions to
clear the screen, etc.


As there are some adaptations already done, it's possible that your
machine is already included between them.


If not, don't worry, you can start from a similar adaptation.

See the source code files for more information.

Current adaptations are:

        - Amstrad PCW and CP/M Plus (31x90 VT52 like terminal).
        - Amstrad CPC and CP/M Plus (24x80 VT52 like terminal).
        - Spectrum +3 and CP/M Plus (23x51 VT52 like terminal).
        - K. Murakami's CP/M emulator (25x80 VT100/Ansi).
        - Takeda Toshiya's CP/M emulator (25x80 VT100/Ansi).
        - PC and Windows 32 bit (25x80).
        - PC and DOS (25x80).


The port to Windows 32 bit has been succesfully done, by converting the MESCC code to Ansi C and recompiling with the Pelles C compiler, using its 'conio.h' library.

The port to DOS has been succesfully compiled with Turbo C v1.01.

License
-------


This program is freeware, and it's licensed under the GPL license.

See the file 'copying.txt' for more details.

Saturday, April 11, 2015

SamaruX v2.00 released - Unix like shell for CP/M systems

SamaruX v2.00, 09 Apr 2015
--------------------------

Last changes.

Added support for SamaruX external commands:
--------------------------------------------

As an example, the game robots has been included.

New built-in commands:
----------------------

date  : Print and set the system date and time (only CP/M 3).
mem   : Show memory usage.
sort  : Sort text lines.
wc    : Count text lines, words and characters.
tee   : Copy standard input to standard output and to a file.


Improved commands:
-----------------

batch : Default file type for batch files - ".sx".
cat   : Added -k and -n options.
cd    : Added support for $HOME.
cpm   : Under CP/M 3, it uses the BDOS fn. CHAIN TO PROGRAM.
ed    : Added COPY and PASTE commands.
env   : Added -s option.
if    : Added in_env test for environment variables.
man   : Added support for $MANPATH and external manuals.
        Default file type for manual files - ".man".


New environment variables:
--------------------------

- HOME    : Default user directory.
- BINDIR  : Directory for SamaruX external commands.
- MANPATH : Path for manuals.


SamaruX v1.02, 27 Feb 2015
--------------------------

Last changes.

New control characters for command line edition:
------------------------------------------------

To delete the entire line:
     CTRL-U (0x15)
     CTRL-X (0x18)

To retype the line:
     CTRL-R (0x12)

New environment variables:
--------------------------

- LINES   : Number of console lines.
- COLUMNS : Number of console columns.
- TMPDIR  : Temporary directory (used by pipes).


Download available (source & binary code) in:

www.floppysoftware.vacau.com

Friday, April 10, 2015

MESCC v1.04 - Mike's Enhanced Small C Compiler - released

MESCC v1.04 has just been released.

It include two new libraries:

- rand.h for pseudo-random number generation.
- clock.h for date and time support under CP/M Plus.

It is licensed under the GPL license.

You can download the source and binary files from my website, as usual:

www.floppysoftware.vacau.com


Thursday, March 19, 2015

Robots, a game for CP/M-80 and CP/M-86

ROBOTS
------


A GAME FOR CP/M-80 & CP/M-86.

v1.00 - 19 Mar 2015.

      R           ()   : :   ()
    R O B O T S    \  [0_0]  /
      B             x-+-:-+-x
R O B O T S           |___|
      T               /   \
      S               \   /


(c) 2015 Miguel Garcia / FloppySoftware
   
www.floppysoftware.es
    cpm-connections.blogspot.com
   
floppysoftware@gmail.com

THE GAME
--------


Robots is a turn-based game for CP/M-80 & CP/M-86.

Based on ROBOTS, a BSD game (but no source code was taken from it).

The objetive of the robots is only one: to kill you.

The only thing you can do, is to try to escape from them. But use the teletransportation with care: you have only a few teletransport tickets!

The robots will die if they collide between them or crash against something.

That's your only opportunity to win the robots.

Good luck!

GAME FILES
----------


ROBOTS  .COM -- Game for CP/M-80.
ROBOTS  .CMD -- Game for CP/M-86.
ROBOTS  .C   -- Source code for MESCC & DR-C.
ROBOTS  .TXT -- This help file.
COPYING .TXT -- GNU General Public License.


DOWNLOAD
--------

You can download ROBOTS in binary and source forms from my website.

TECHNICAL NOTES
---------------


This program was developed using MESCC (Mike's Enhanced Small C Compiler - my own version of Small C) for the CP/M-80 version, and Digital Research C for the CP/M-86 version.

See ROBOTS.C for more details.

COPYRIGHT AND LEGAL NOTES
-------------------------


This program is copyright of FLOPPY SOFTWARE from VALENCIA, SPAIN, and is distributed under the GNU GENERAL PUBLIC LICENSE.

Read the COPYING.TXT text file for more details.