[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ok, anyone started Contiki 4 AII yet?





Rob wrote:
Michael J. Mahon wrote:
 > In article <3E766B47.8040200@mindspring.com>, Rob
 > <rsteinmetz@mindspring.com> writes:
 >
 >
 >> Dosius wrote:
 >>
 >>>> The apple libraries don't have an implementation for the
 >>>> clock() function,
 >>>
 >> and
 >>
 >>>> therefore no CLK_TCK constant.
 >>>
 >>>
 >
 > What is needed is not the time of day, but a source of regular timer
 > interrupts.  Some clock cards can provide such interrupts, but I
 > would expect that they are needed at around 60Hz, like VBL.

This the the typical value,as defined in time.h except for a few systems
which use 50 hz.

 >
 > Any peripheral card with a 6522 (like a Mockingboard) can generate
 > such interrupts, as can a mouse card, or a //c or IIgs.

I wouldn't think that a Mockingbird would be a widely used card in an
Apple ][ nor would a mouse board. The base solution should be as
universal as possible. I would guess a clock card would be more likely
to be present, although my no means universal.

 >
 > -michael
 >

Then the problem is finding the most common source of interrupts to
define the clock() function, or a general function for generating interrupts.

It sounds like cc65 needs a clock.s module(s)for the apple2 library.

What is the best place in an Apple ][ (or + or e) to get an interrupt?

Since a //c is a sort of standardized, loaded ][e, perhaps that is the
place to start.

The //c has interrupts.
The //e and ][ don't, unless an expansion card adds them.
Basically, the interrupts on the //c are added to a //e by a mouse card, or the GEOS "freebie" card.

Roy


Since the primary point of contiki is network access and since the
initial access is likely to be serial could the SSC be used? There must
be some way of generating the timing for the serial connection.

As I understand it on the C64 there are separate versions of contiki
depending on whether you are using an rs-232 port or the TFE ethernet cartridge.




-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----