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

Re: Inverse Problem on Contiki - JPG File attached



"Simon Williams" <see_sig_for_valid_email@no.spam> wrote in message
1ga9zor.1riws1xqmnebkN%see_sig_for_valid_email@no.spam">news:1ga9zor.1riws1xqmnebkN%see_sig_for_valid_email@no.spam...
> Glenn Jones <rg.jones@rogers.com> wrote:
>
> > Has anybody else figured out what the problem is with highlighted text
> > (Inverse) on the Apple II port of Contiki?
>
> There's an Apple II port of Contiki???
> Details... ?
> -- 
>  T____I____M____E____L____O____R____D
> | Apple II Drum & Bassline Sequencer |
> |    < http://apple2.luddite.ca >    |
> |_[email]__[@]__[luddite]__[.]__[ca]_|

I think there has been for quite awhile but with no network support I guess
it was never updated on Adams site? I used the V1.0 source. The 1.1 archive
does not seems to support the Apple II directly anymore ...anyway I went
with the older version

All I did was download the V1.0 source, cc65 and a windows make binary. I
looked through Google and found previous posts from Chris and others about
the problems they encountered and I applied their suggestions to the source
code and was able to compile it. The screen shot you see is that code
running on kegs.

Lets see ..I found and applied the following info

1) I modifed the apple2.h file in /cc65/include/apple2.h from #define
CH_CURS_DOWN  0x0A to #define CH_CURS_DOWN  0x0D
2) I added the following code to /contiki/ek.dispatcher.c
/*--------------------------------------------------------------------------
---------*/
clock_t clock(void)
{
 static clock_t fake;
 return fake++;
}
/*--------------------------------------------------------------------------
---------*/
3) I added the constant #define CLK_TCK 1 to /contiki/arch/cc65/ctk-conio.h
(I know this is wrong and havn't bothered to figure out the correct value
yet)


I think that was about it ... I used Ciderpress to add the resulting binary
to a PRODOS 140K disk image. Make the type BIN. I have run it on AppleWin
and Kegs. Under prodos you need to bload contiki,a$800 then call-151 and do
a 7FC<800.5000M .... 800G

Next on the list is the inverse problem ....I could not find anything on the
various mailing lists or Goolge about that so far.

btw it works in 40 or 80 column mode

Glenn