Curso Básico Sobre CP/MCursos

Curso CP/M para Amstrad CPC: los comandos

4.8
(16)

Continuamos el curso CP/M con la descripción de los comandos de la consola. En este articulo te mostraremos como cargar la ROM de CP/M en la m4 board, fantástica y completa expansión producida por Duke.

USER

Como sabéis, no existen los directorios en CP/M y, la única manera de «separar» los programas en el disco, era hacer espacios de usuario. Tenemos heredados 16 espacios diferentes por disco / cara y para acceder a ello, tan solo tendremos que hacer user <0-15>

Curso CP/M para Amstrad CPC: los comandos 1

Dentro de cada espacio, podremos tener nuestros ficheros. También hay que decir, que no sabemos, sin acceder a los diferentes espacios en el disco, que hay contenido o están habilitados.

El espacio por defecto donde se graban todos los ficheros, es el 0. Para volver al espacio principal, tan solo tendremos que poner: user 0.

REN:

El comando REN se usa para renombrar archivos; la sintaxis es bastante sencilla

REN [d:]nuevonombre.ext = nombreviejo.ext

ERA:

El comando ERA se usa para borrar archivos.

A> ERA miarchivo.txt

TYPE:

Curso CP/M para Amstrad CPC: los comandos 2

type se usa para mostrar el contenido de los ficheros…

El siguiente cmd se encuentra en la cara B del primer disco. DUMP se usa para ver el contenido en Hexadecimal de un fichero. En su día lo usaba bastante, para ver si podía modificar algo de los programas (nombres que aparecía, etc..)

Curso CP/M para Amstrad CPC: los comandos 3

Una vez tenemos los cmd básicos por la mano, estaría bien, vitaminar un poco el CP/M, sobre todo si tenemos una M4 board para nuestro querido Amstrad CPC.

Mi setup es, puerto serie RS232 + M4 + 512kb ram + cpc 6128.

Buscando por la web, encontré CP/M en formato ROM para amstrad CPC, pero ahora, no soy capaz de dar con el enlace, así que los dejo.

CP/M Zip rom files 💾

Una vez descomprimido el archivo, tenemos los siguientes ficheros:

craem@saiyan:~/Escritorio/cpc/cpm$ ls -l
total 624
-rw-r--r-- 1 craem craem 6987 feb 3 2016 'CP-M PLUS ROMs_DEU.txt'
-rw-r--r-- 1 craem craem 6994 feb 3 2016 'CP-M PLUS ROMs_ENGs.txt'
-rw-r--r-- 1 craem craem 16384 sep 8 2003 CPM_Plus-1.ROM
-rw-r--r-- 1 craem craem 16384 nov 15 1995 CPM_Plus-1V.ROM
-rw-r--r-- 1 craem craem 16384 nov 14 1995 CPM_Plus-2.ROM
-rw-r--r-- 1 craem craem 16384 jun 30 2015 CPM_Plus_Acc_1.ROM
-rw-r--r-- 1 craem craem 16384 jun 30 2015 CPM_Plus_Acc_2.ROM
-rw-r--r-- 1 craem craem 16384 jun 22 2015 CPM_Plus_Acc_3.ROM
-rw-r--r-- 1 craem craem 16384 jun 19 2015 CPM_Plus_Acc_4.ROM
-rw-r--r-- 1 craem craem 16384 jun 19 2015 CPM_Plus_Acc_5.ROM
-rw-r--r-- 1 craem craem 16384 jul 7 2015 CPM_Plus_Acc_6.ROM
-rw-r--r-- 1 craem craem 16384 jun 25 2015 CPM_Plus_Acc_7.ROM
-rw-r--r-- 1 craem craem 16384 feb 3 2016 CPM_Plus_Acc_8.ROM
-rw-r--r-- 1 craem craem 16384 feb 3 2016 CPM_Plus_Acc_9.ROM
-rw-r--r-- 1 craem craem 194816 sep 9 2015 CPM+ROMs.DSK
-rw-r--r-- 1 craem craem 9806 jun 18 2015 Graduate_ROMs_DEU_Aufbau.txt
-rw-r--r-- 1 craem craem 9863 jun 18 2015 Graduate_ROMs_ENG_Construction.txt

Una vez con los ficheros, nos vamos a la M4 y subimos las roms:

Curso CP/M para Amstrad CPC: los comandos 4

Con esto subido a nuestra M4, tenemos varios RSX

RSX commands of the CP/M PLUS ROMs (2.34 and 2.30)

EMS —–/ Starts CP/M Plus from ROM and shows the CP/M Plus expansion ROMs with thier names.

O ——/ CP/M Plus is configurated for two drives and the RAM drive C: with 444 KB RAM.

PW ——- Probable this command is equal to RSX commands «|EMS» and «|O».

CPMVER –/ These commands are both identical. They show the Copyright message for CP/M PLUS and the CPM ROMs.

VER —-/ Furtheron the version of the CP/M PLUS ROMs is shown, as the serial number and the name of the user.

OP ——- This RSX command activates a menu system, which allows you to launch a .COM or .SUB file in an automatic way.
An error message will be displayed if there is no .COM or .SUB file on disc.
Else you can choose the file of choice with SPACE and start it with RETURN.
Then the CP/M PLUS with RAM Disc will be started and the selected file will be launched.
Attention: Some print routine are incompatible, for example this is the case for X-DDOS. Switch off on problems.

MYNAME — Displays the name of the user / buyer of this set of CP/M Plus ROMs on screen.

PASSWORD – This command asks you for a password. If you enter it three times wrong then CP/M Plus will be started from ROM.

OHELP —/ These commands are both identical. They show if there are CP/M Plus expansion ROMs containing programs.

EMSHELP / If such ROMs can be found their name and position (ROM number) will be displayed.
Using |OHELP,nr or |EMSHELP,nr will display the applications contained in CP/M Plus expansion ROM #nr.

NOCPM —- This RSX command will switch OFF the CP/M Plus expansion ROMs. All other ROMs will be initialiized again.

Así que, iniciamos CP/M con el RSX |EMS y tenemos (en mi caso) la pantalla de inicio, tal que:

Curso CP/M para Amstrad CPC: los comandos 5

¿Qué tenemos de nuevo?. Para empezar, me detecta la ampliación de ram y me genera una unidad «C» con unos fabulosos 444kb para usar como unidad virtual. Reconoce las dos disketeras que tengo, el puerto serie y todas las ROMS que he insertado.

Útil, tenemos PIP.COM en rom, con lo que para copiar archivos entre unidades, no hace falta tener el disco de sistema en A o B.

Tecleando builtin, tenemos la lista de cmd’s instalados:

Curso CP/M para Amstrad CPC: los comandos 6

Y a partir de aquí, a jugar con nuestro CP/M vitaminado en nuestro Amstrad CPC.

¿Te ha Resultado útil este artículo?

Ayúdanos a mejorar y danos tu opinión:

Mostrar más

Un comentario

  1. No he usado apenas CP/M , como tengo un CPC 6128 desde hace relativamente poco, siempre estuve con el CPC 464, no conozco ni la mitad de esos comandos !!!

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Publicaciones relacionadas

Mira también
Cerrar
Botón volver arriba