[Z88dk-users] Request for assistance with setting up z88dk for the TI-

Bridge to the z88dk-users mailing list
Post Reply
Matthew W Marshall

[Z88dk-users] Request for assistance with setting up z88dk for the TI-

Post by Matthew W Marshall »

I would like to use the z88dk compiler for creating programs for the
TI-83+, but I am having problems with getting it to work. I downloaded
the source files, the windows binary files, and support files. When I
first ran zcc.exe it said something about not being able the find the
file "libconfigzcc.cfg". I had no idea what this was, so I created a
file by that name and copied the contents of "ti8x.cfg" to it. To test
out the compiler, I created a file named "hello.c" and wrote the
following in it:

void main()
{
int i;
int p=5;
i = p;
return;
}

After entering the following command:

zcc.exe C:\z88dk\hello.c

I received this result in the ms-dos window:

1 file(s) copied
zcpp -Ic:/z88dk/include -I. -DZ80 -DSMALL_C -DTI8X -D__TI8X__
C:\z88dk\hello.c
C:\windows\TEMP\s3vvb4rv_.i
sccz80 -// C:\windows\TEMP\s3vvb4rv_.i
copt c:/z88dk/lib/z80rules.2 < C:\windows\TEMP\s3vvb4rv_.asm >
C:\windows\TEMP\s
3vvb4rv_.op1
copt c:/z88dk/lib/z80rules.1 < C:\windows\TEMP\s3vvb4rv_.op1 >
C:\windows\TEMP\s
3vvb4rv_.opt
z80asm -eopt -ns -Mo C:\windows\TEMP\s3vvb4rv_
3 errors occurred during assembly
z80asm -a -m -Mo -oa.bas -ic:/z88dk/lib/clibs/z80_crt0
-ic:/z88dk/lib/clibs/ti8
3p_clib -ic:/z88dk/lib/clibs/m -ic:/z88dk/lib/clibs/ndos
-ic:/z88dk/lib/clibs
/tigray83p C:\windows\TEMP\s3vvb4rv_1 C:\windows\TEMP\s3vvb4rv_
Couldn't open library file
6 errors occurred during assembly
Key to filenames:
C:\windows\TEMP\s3vvb4rv_ = C:\z88dk\hello.c
File 'C:\windows\TEMP\s3vvb4rv_1.asm', at line 2, File open/read error
File 'C:\windows\TEMP\s3vvb4rv_1.asm', Module name not defined
Errors in source file C:\z88dk\hello.c:
File 'C:\windows\TEMP\s3vvb4rv_.asm', at line 11, Illegal identifier
File 'C:\windows\TEMP\s3vvb4rv_.asm', at line 13, File open/read error
File 'C:\windows\TEMP\s3vvb4rv_.asm', Module name not defined

What am I doing wrong? Looking through the documentation I could not
find anything talking about "libconfigzcc.cfg". I do not have any
experience with command line compilers. (For win32 I use BCB5.) Can
anyone help me with this? What I would really like to do is make flash
apps. Has anyone done this? I would appreciate some help.
Thanks,
Matthew Marshall

________________________________________________________________
Sign Up for Juno Platinum Internet Access Today
Only $9.95 per month!
Visit www.juno.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
User avatar
dom
Well known member
Posts: 2076
Joined: Sun Jul 15, 2007 10:01 pm

Post by dom »

Hi,

Regarding the compiler errors - these are known issues with the particular
build - all the \ were incorrectly written in the source code. I'd
recommend downloading a new version of zcc from Dennis' page at
http://www.algonet.se/~dennisgr/z88dk.htm but don't download the compiler
since things have changed a little and you'll end up in more trouble.

There's a new release coming very shortly that fixes a lot of things. If
you fancy being a guinea pig then you can grab it from:

http://sugarcube.suborbital.org.uk/~dom/z88dk/

This was last updated on Friday so if there's been any TI83+ fixes then
they'll be in it.

cheers,

d.






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Post Reply