beautypg.com

Where can i get the zsl source files – Zilog Z8F0130 User Manual

Page 435

background image

UM013037-1212

Appendix A. Zilog Standard Library Notes and Tips

Zilog Developer Studio II – Z8 Encore!

User Manual

411

I do not use the standard boot-up module, but I have manually
included Zilog Standard Libraries. When I link my code with the
library, why do I get an unresolved symbols error?

Include

zsldevinit.asm

in your project.

The

open_periphdevice()

function has some external definitions (for example, clock

speed) that are used to calculate the baud rate for the UARTs.

Where can I get the ZSL source files?

The source files for ZSL can be found under the following filepath.

ZILOGINSTALL\ZDSII_

product

_

version

\src

In the above filepath, note the following elements:

ZILOGINSTALL is the ZDS II installation directory. For example, the default installa-
tion directory is

C:\Program Files\Zilog

product is the specific Zilog product. For example, product can be

Z8Encore!

,

ZNEO

,

eZ80Acclaim!

,

Crimzon

, or

Z8GP

version is the ZDS II version number. For example, version can be

4.11.0

or

5.0.0

I need to change the ZSL source code. How can I generate a new
library with these changes included?

The installation contains the batch file

buildallzsl.bat

under the following filepath:

ZILOGINSTALL\ZDSII_

product

_

version

\src

In the above filepath, note the following elements:

ZILOGINSTALL is the ZDS II installation directory. For example, the default installa-
tion filepath is

C:\Program Files\Zilog

product is the specific Zilog product. For example, product can be

Z8Encore!

,

ZNEO

,

eZ80Acclaim!

,

Crimzon

, or

Z8GP

version is the ZDS II version number. For example, version can be

4.11.0

or

5.0.0

Generate a new set of libraries by building the project using ZDS II and copy the library
files generated under the project directory to the following filepath:

ZILOGINSTALL\ZDSII_

product

_

version

\lib\zilog

Alternatively, you can run the batch file

buildallzsl.bat

to generate the libraries

directly into the following directory:

ZILOGINSTALL\ZDSII_

product

_

version

\lib\zilog

Refer to the

Zilog Standard Library API Reference Manual (RM0038)

for more details.