Re: [cc65] 65tris (avoiding bit rot part 3)

From: Oliver Schmidt <ol.sc1web.de>
Date: 2007-07-14 10:01:19
Hi Groepaz,

> ftp://ftp.musoftware.de/pub/groepaz/65tris_0.0.2_90percent.tar.gz

> let me know what you think :)

The file PORTING contains in the section 'apple2' this statement:
'[PORT COMPILES, BUT IS COMPLETELY UNTESTED !!!]'

But I get this with a recent cc65 snapshot:
$ make apple2
apple2 ...
apple2/apple2.h(10): Error: Macro redefinition is not identical
65tris.h(240): Error: Macro redefinition is not identical
65tris.h(244): Error: Macro redefinition is not identical
65tris.h(245): Error: Macro redefinition is not identical
main.c(996): Warning: `i' is defined but never used
input.c(258): Warning: `i' is defined but never used
input.c(258): Warning: `ii' is defined but never used
title.c(166): Warning: Unreachable code
hiscore.c(108): Error: Undefined symbol: `CH_DEL'
hiscore.c(108): Error: Constant integer expression expected
hiscore.c(191): Warning: `o' is defined but never used
make: *** [apple2] Error 255

Generally I would have thought that the cc65 conio layer would allow
to create something like a tetris game without any target specific
code. But your tar file contains quite some assembler code and lots of
target specific stuff - and at least parts of them already come with
cc65 ?!?

Beside that the project seems to be in a - let's a say little
inconsistent - state. I.e. this section in makefile doesn't make much
sense to me:

CC65_INCLUDE=/usr/lib/cc65/include
export CC65_INC

Beside that I don't think that absolute paths in makefiles are such a
good idea...

So answering your original question: I'd like to see a tetris clone as
cc65 sample. But it should emphasis the cc65 benefit of being able to
write target independent code. If you provide that in a consistent
state I'm happy to test the apple2 target (and provide info on disk
image creation/emulator usage).

Just my two cents, Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Jul 14 10:01:32 2007

This archive was generated by hypermail 2.1.8 : 2007-07-14 10:01:36 CEST