<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Tue, 23 Aug 1994 08:17:07 EST
From   : Stephen Quan <quan@...>
Subject: Re: xbeeb updated on ftp.pipex.net

JF writes :

> Would you send me a list of the sizes of all the basic data-types on
> your machine ?  Perhaps I'll see a potential problem.

On the Sun we have

  sizeof(char)  = 1
  sizeof(short) = 2
  sizeof(int)   = 4      /* on a MS-DOS machine this is 2. */
  sizeof(long)  = 4

I did try to globally replace all your unsigned int to unsigned short
but the problem previals.  It is unusual that the software crashes
at the macro ReadWordAtPC, but when I typed in the expression in you
macro into the debugger it gave me a value without crashing.  Weird.

> JB writes :
> > With LITTLE_ENDIAN undefined, and optimisation turned off, I've now
> > got xbeeb working on the Alpha, but with some odd caps lock problems.
> > (I'm not even sure how to generate caps lock on this shrunken keyboard
> > - all the obvious key combinations no longer work since I upgraded the
> > OS.)

Same here.

> For some reason, it seems that the CAPS lock key has to be pressed twice
> to get it to work correctly.  I don't know why, but I'll look into it
> ASAP.

Couldn't after n clock cycles you just say the CAPs lock was released?

> > Also, the palette swapping seems somewhat random - sometimes no new
> > colourmap is allocated at all.
>
> I have to admit to being confused by this.  Looks like a little more
> verbose error handling is required...

Goodluck!  I know X programming is a real dog.  I have 3 good manuals
with me but after trying it several months ago I haven't went back!
Hopefully when most of the other things have bowled over I'll get back
into the gist of things.

> James.
-- 
Stephen Quan (quan@...                 ), SysAdmin, Analyst/Programmer.
Centre for Spatial Information Studies, University of Tasmania, Hobart.
GPO BOX 252C, Australia, 7001.  Local Tel: (002) 202898 Fax: (002) 240282
International Callers use +6102 instead of (002).
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>