• Keine Ergebnisse gefunden

GOSUB WRITE A RETURN NOTE1

Im Dokument is illegal. (Seite 112-117)

DEC II-1AL HEX OCTAL DECIMAL HEX OCTAL

9 GOSUB WRITE A RETURN NOTE1

B DIM CHAIN C STOP LINE D END DESTROY E RESTORE CREATE F REM ERRSET

APPENDIX B

OPCODE CHART High Nybble

B c D E F

STEP <=

TO <>

THEN ATN

*

TAB FILESIZE +

ELSE SQRT FILEPTR <

CHR$ ADDR

=

ASC INT INSTAT

>

VAL OUTSTAT / NOT

STR$ FREE

NOENDMARK INP NOTE2

INCHAR$ SGN EXAM FILE SIN ABS

LEN COS AND

CALL LOG OR

RND EXP

TYP >=

NOTE1--9A indicates the next two bytes are a binary line number.

NOTE2--E9 is used internally as negate DOSCMD available in MicroDoZ version only.

INSTAT and OUTSTAT available in MicroDoZ and CP/M versions only.

COPYRIGHT 1981 - 96 - MICRO MIKElS, INC. 02/02

baZic II ERRATA 1

ERRATA 1

CP/M baZic CAUTION

To be compatible with non-CP/M versions of baZic and with North Star BASIC, the "DESTROY" statement destroys all files of the specified name on the specified disk.

For example:

If you have CP/M file on Drive B:

TEST. COM TEST.SRC TEST.LST TEST.003

DESTROY "TEST,2" will wipe out all of these files.

REMEMBER: Your file names must be unique when using baZic.

COPYRIGHT 1981 - 97 - MICRO MIKE'S, INC. 02/92

baZic II ERRATA 2

ERRATA 2

The following topics are not described properly in the manual:

1. 3.4.4 CLOSE a channel

The manual states that the channel will be closed on a STOP or a Control C. In fact the channel is not closed, but the buffer is flushed to the disk to preserve any data you may have stored in the buffer.

2. 4.1.4 LOGarithmic value

The last example has a typographical error. The example should read:

C=LOG(23.14069) (C=3.1415925) 3. 9'.2 XREF

The Printer option under XREF prints only to the right Horizon serial port. No provision has been made to print to the parallel port or any other port.

In some early printings of the manual, Listing 1 shows the vari-able "0" (the letter 0) as the number "0" (zero). This listing should be changed on lines 30, 7~-110, and 130-150 to reflect the var iable "0."

4. Common MEMSETs

The manual does not list the correct MEMSET locations for the MicroDoZ and CP/M versions of baZic. The common MEMSET locations are:

Address in Decimal Memory Size MicroDoZ CP/M

48K 43519 42245

56K 51711 50437

60K 56319 54533

5. Auto byte for CP/M baZic

The 'Auto byte for CP/M baZic is 271 decimal. This byte should be FILLed with a 0 to activate the auto start feature. The general procedure is to SCRatch any previous program, LOAD or enter your turnkey program, FILL 271,0 to activate the turnkey mode, and BYE to CP/M to save baZic as a file.

COPYRIGHT 1981 . - 98 - MICRO MIKE'S, INC. 02/02

baZic II ERRATA 3

ERRATA 3

NOTES ON CP/M BAZIC 93/93

. Version 03/03 of CP/M baZic has now been released. This version fixes several bugs or problems that were found in 02/02. In addition, a new feature has been added.

CP/M baZic now has a new function which is called CPMFN (CP/M Function). This function has been added to allow the baZic programmer to call any of the CP/M system function calls. The command syntax is:

T=CPMFN«C ARGUMENT> [,<DE ARGUMENT>]

The function is called by passing the function number as the first argument to the function call. The function numbers are listed in the back of most CP/M documentation manuals. The value passed as the first argument will be "inserted" in the C register when the system call is made.

Many system calls require a second argument which is passed to the DE register pair. This argument is optional to the CPMFN, but if the system call requires a second argument, you must include this value in the CFMFN call.

When the function returns, the variable set equal to the function call (T in the example) will be equal to the value of the HL register pair.

The CREATE statement now creates a dummy file the size of the size variable, if it is specified. This means that the space specified in the CREATE statement is reserved on the disk when the CREATE statement is executed.

baZic now updates the file directory when a program is exited.

Previously, under some conditions, the file directory was not updated, leading to errors in the files.

baZic programs can now be CLOSEd without previously OPENing the file.

The implementation of the cursor positioning and clear screen statements have been changed at the beginning of baZic to allow more CRTs to be configured. Two modes are now supported for setting the cursor addressing and clear screen sequence. At the beginning of the cursor addressing and clear screen sequence is a byte which controls the mode. If the byte contains a 0FFH, baZic will assume a machine language routine is in place starting at the next location after the mode byte and will jump to this location and execute the code located there.

COPYRIGHT 1981 - 99- MICRO MIKE'S, INC. 02/92

baZic II ERRATA 3 cursor addressing codes are output.

The CRT program must be run on a "virgin" copy of baZic as delivered on the master diskette. You cannot configure a copy of baZic for the SOROC and then run CRT again to configure the same copy for a Z19. You must use a copy from the master diskette to configure for each different CRT you might have. See the en-closed source listing for more information.

PARTIAL SOURCE LISTING POR CP/M BAZIC 03/03

baZic II

Im Dokument is illegal. (Seite 112-117)