Re: [cc65] Target BBC - info only

From: Kolja Nikolaus Sträter <k1kollus.de>
Date: 2005-04-09 14:16:48
Hi Uz,

> It's the compiler which has some ugly stuff in it. Casting pointers to longs
> and encoding them into an array of bytes for example. This one the reason for
> the problems on some 64 bit platforms. Most of the other stuff should be ok.
>  
Oh yes, that sounds pretty nasty... :-)
No, I'm only joking, I haven't got your experience, I'm just getting 
back into C programming now, although I've done a fair bit of OO 
programming (and also 6502 and x86, but that's quite long ago). But I 
noticed I couldn't compile your code on my AMD64 platform. It just 
bombed out on some table, which I couldn't quite understand.

> The exact wording is: "It is highly portable.  The only unportable part is the
> table itself; all real code goes into the common library."
> 
> This means: The table itself is platform dependent. There's one table for the
> CBMs (because they share PETSCII as charset), there another table for the
> Atari, one for the Apple, and so on. The code that works with the table (like
> isupper(), isalpha()) is the same for all platforms.
Ok yes, well, that was probably quite a dumb question :-)
Somehow I never associated portability with a pure data table before. If 
a piece of code is portable, it works with on a number of platforms, 
with a number of different compilers - these are given from the outside. 
But your table is interpreted by your own code, which you can change.
But then again, perhaps I'm thinking too much... :-)

>>(I'm hereby reactivating my alias, I always thought it was too short,
>>but then seeing your 2-letter one, I guess it's not that bad :-)
> 
> 
> "Uz" is not really an alias, it's a nick. My parents first planned to name me
> this way, but later decided it may give problems, so they named me "Ullrich",
> but called me "Uz". I've been called this way since my birth. There are some
> records[*] that were taken when I was between 1 and 2 years old. My my
> grandfather was reading a book with me. And he was already calling me "Uz".

That's quite interesting, I always love these little things :-)
I had a similar problem with my first name. I wish parents would think a 
bit before they paste these name inventions on their children who have 
to run around all their life with them producing no end of unforseen 
complications.

In your case for example (I'm guessing you grew up in Germany) Uz was 
pronounced Utz. But now in english you're Uzzz - they've turned you into 
a bee!!!

But of course you also got what is probably the shortest (quasi-)alias 
in existence. And as we well know, in Unix everything shorter is also 
much cooler...

All the best,

kol


> 
> Regards
> 
> 
>         Uz
> 
> 
> 
> [*] Top secrect of course:-)
> 

----------------------------------------------------------------------
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 Apr 9 14:15:17 2005

This archive was generated by hypermail 2.1.8 : 2005-04-09 14:15:23 CEST