Sunday, August 30, 2015

XPCW - graphics for the Amstrad PCW

XPCW is a graphics and keyboard library for the Amstrad PCW, under the CP/M operating system.

It consists of a CP/M Plus RSX file, with some library files (.h) for MESCC, my own version of the Small-C compiler.

The RSX is written in Z80 assembler source code.

It can be accessed by any CP/M program or language, provided it follows its conventions (read the RSX source code for more information).

The XPCW.RSX file, has to be attached to any program that uses this library.

Only one MESCC library is needed (xpcw.h), the other are optional.

The libraries are:

•xpcw.h - Main library.
•xdraw.h - Functions to draw pixels, lines, etc.
•xtext.h - Functions to write text, set the font, change attributes, etc.
•xchrdef.h - Functions to get / set character definitions.
•xbitmap.h - Functions to draw bitmaps.
•xkeyb.h - Functions to access the keyboard.

You can download XPCW in binary and source code form, from my website (includes Squarex, a little game).


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.