Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be...

79
Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80, originally bulky 8080 Code, uncomfortable, awkward. Applications and tools most likely hard to transfer onto other CP/M-computer systems

Transcript of Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be...

Page 1: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

BDOS

CCP

BIOSI/O routines and

BIOS interface

Console Command Processor -

(may be overwritten)

Hardware specific machine code

Traditional CP/M-80, originally bulky 8080 Code, uncomfortable, awkward.

Applications and tools most likely hardto transfer onto other CP/M-computer systems

Page 2: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

BDOS

Advantage: CP/M Plus-timestamp

compatible - but buggy

Drive vector-reset with CTRL-C mandatory, no timestamps

P2DOS

Z80DOS

SUPRBDOS

V 1.0 many errorsV 2.0 very useful

Rather poor -

terminated at an early state

ZSDOSOriginally commercial

high development effort

Page 3: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

CCPConsole Command Processor -

(may be overwritten)

Page 4: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

CCP

slim Z80-Code replaces

bulky 8080-Code

Console Command Processor -

(may be overwritten)

Step 1

Page 5: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

CCP

slim Z80-Code replaces

bulky 8080-Code

Console Command Processor -

(may be overwritten)

Step 1

Step 2new commands

conditional flow control

Page 6: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

CCP

slim Z80-Code replaces

bulky 8080-Code

Console Command Processor -

(may be overwritten)

Step 1

Step 2

Step 3

new commands

conditional flow control

security mechanisms

(Wheel-Byte)

Page 7: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

CCP

slim Z80-Code replaces

bulky 8080-Code

Console Command Processor -

(may be overwritten)

Step 1

Step 2

Step 3

new commands

conditional flow control

security mechanisms

(Wheel-Byte)

Step 4named directories

TCAP Terminal-standardization

Page 8: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

“Virtual” BIOS

Modern Z-System with ZCPR34

BDOS

BIOS

Page 9: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

“Virtual” BIOS

Modern Z-System with ZCPR34

BDOS

CCP

BIOS

ZCPR34

Page 10: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

“Virtual” BIOS

Modern Z-System with ZCPR34

BDOS

CCP

BIOS

ZCPR34command line processor + environment descriptorZCPR CCP

Page 11: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

“Virtual” BIOS

Modern Z-System with ZCPR34

BDOS

CCP

BIOS

ZCPR34command line processor + environment descriptor

Remote Control Package variable RCP

ZCPR CCP

Page 12: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

“Virtual” BIOS

Modern Z-System with ZCPR34

BDOS

CCP

BIOS

ZCPR34command line processor + environment descriptor

Remote Control Package

Flow Command Processor (IF THEN ELSE ENDIF)

variable RCP

variable FCP

ZCPR CCP

Page 13: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

“Virtual” BIOS

Modern Z-System with ZCPR34

BDOS

CCP

BIOS

ZCPR34command line processor + environment descriptor

Remote Control Package

Flow Command Processor (IF THEN ELSE ENDIF)

Named Directory (dynamically loadable)

variable RCP

variable FCP

ZCPR NDR

ZCPR CCP

Page 14: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

“Virtual” BIOS

Modern Z-System with ZCPR34

BDOS

CCP

BIOS

ZCPR34command line processor + environment descriptor

Remote Control Package

Flow Command Processor (IF THEN ELSE ENDIF)

Named Directory (dynamically loadable)

e.g. EASE.COM

variable RCP

variable FCP

ZCPR NDR

ERROR SHELL

ZCPR CCP

Page 15: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 16: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 17: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 18: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 19: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 20: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 21: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 22: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 23: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 24: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 25: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 26: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 27: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 28: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 29: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 30: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 31: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 32: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

standardized TERMCAPsminimize installation time

VLIB 4D - portable pseudo graphics

through bloc graphic characters

Page 33: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

VLIB 4D - bloc graphic characters

Page 34: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 35: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 36: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 37: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 38: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

ZCPR- Mini-applications can be run on any configured Z-System without any further installation, thanks to TCAP standardizing!

All elements of the Z-System , like named directories and so on may be used.

Here only some examples:

ZFILER - central part of the Z-Systems

The ZDB database and the ZDT calender.

A sort of Norton Commander, the SCOPY tool:

Page 39: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 40: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 41: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 42: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 43: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 44: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 45: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 46: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 47: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 48: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 49: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

“V” - the comfortable Viewer - an ideal companion for Zfiler

Page 50: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

The “Visual Library Utility”- VLU - a very helpful tool!

Page 51: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 52: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

ZCPR is also available for 8080 systems in a reduced version. The “Full-Blown”

Z-System (NZ-COM) will only run on Z80-CPUs though.

For the technically skilled, a piggy-back NSC-800-board used to be available to plug into the original 8080 socket (most of the time there was none and had to be soldered in by hand) and then Z80 instructions could be executed there as well.

The formerly commercial versions of the Z-System were NZ-COM (CP/M 2.2) and Z3PLUS for CP/M Plus. Both contain the virtual BIOS “ZRDOS”. For CP/M 2.2, ZS-DOS is available as an option. Version 1.0 was free from the start, Version 2.0 should be free by the time you are reading these lines.

Page 53: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Establishing a Z-System in CP/M 2.2 with NZ-COM

Page 54: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

1. Step - Generating the Environment with MKZCM

Where TPA is scarce, the I/O package may be sacrificed.

Page 55: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 56: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

The size of the TPA has yet increased by 1.5K.

Page 57: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

The ENVironment data are being saved with the specified filename “NZCOM”.

Page 58: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Our Minimalist-NZCOM is ready to boot within minutes.

Page 59: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

CP/M commands are not automatically available if they had not been integrated into the CPR. The DIR command will be replaced by the shortcut “d”.

Page 60: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-SystemSDZ may be used as a replacement for the

DIR command by renaming it to DIR.COM.

Most of the times,the values of options in Z-programs can be set with the aid of the tool ZCNFG.

Page 61: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

The next step is choosing the most suitable terminals (TCAP), that should be capable of displaying bloc graphic characters.

Page 62: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 63: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

The slightly outdated tool TCMAKE comes in handy, when no terminal description will fit, like e.g. with the AMSTRAD CPC in CP/M 2.2

Page 64: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

If the TCAP choice is wrong, a typical screen output may look like this:

Page 65: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

The displayed TCAP is close to what we want and so the best choice for now.

Page 66: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-SystemIf you find a suitable Terminal within the

Z3TCAP.LBR, you can extract it with the commands: LGET Z3TCAP ANSI.Z3T

You can also use the tool JETLDR.COM to load a TERMCAP. This tool is included with the Z-System.

Else you may use the “M” option within ZSHOW to localise the address of the TERMCAP entry.

Page 67: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-SystemUse the external command SAVE.COM to capture the loaded

TERMCAP- entry from memory to disk.

Page 68: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-SystemYour new TCAP file will then be renamed to NZCOM.Z3T

and added to your Library with “LPUT NZCOM NZCOM.Z3T” to be loaded automatically at system start.

Page 69: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Creating the named directories with EDITNDR

Page 70: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 71: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Page 72: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

The renamed file NZCOM.NDR is stored within our system Library and will also be loaded at start time.

Page 73: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Within CP/M 2.2, there is now also a search PATH. The first and last element should be identical.

Page 74: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

Displaying the serach PATH in ZSHOW

Page 75: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-SystemInstalling the history shell LSH.COM

Page 76: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

VIEW may be used to read uncompressed files, e.g. the ZHELP Katalogs, verwendet werden.

Page 77: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-SystemYour terminal is set, your environment defined, but

some programs still want more ...

Even if the system does not have a clock, interrogating date/time at system start will help to improve organizing your data.

Page 78: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

You did it! Welcome to the Z-community!

Page 79: Z-System BDOS CCP BIOS I/O routines and BIOS interface Console Command Processor - (may be overwritten) Hardware specific machine code Traditional CP/M-80,

Z-System

The Z-System - not just a CCP-replacement

A lecture by Helmut Jungkunz held on April 28, 2001 at the

2nd Vintage Computer Festival Europe Munich, Germany