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

Re: Apple II Emulation in HyperCard



"Brennan Young" <brennan@young.net> wrote in message
3BA786A4.8EE7B502@young.net">news:3BA786A4.8EE7B502@young.net...
> Jonathyn Bet'nct wrote:
>
> > > >$D4F0- D0 F8      BNE -8
> > > >$D4EA- B9 FB 01   LDA $01FB,Y
> > > >$D4ED- 88         DEY
> > > >$D4EE- 91 9B      STA ($9B),Y
> > > >$D4F0- D0 F8      BNE -8
> >
> > (By the way, the above code is 100% valid in the programming language
I'm
> > using!)

No, that's not the valid code I was talking about! This is:

if addr=49249 then
  -- hollow apple key
  put 0 into res
  if the commandkey is down then add 128 to res
  add random(127) to res
  return res
end if

> What sort of performance are you getting?

I don't know, since I haven't seen anything coming out of it except a
screenful of inverse @ signs and an infinite loop. The video routines are
_really_ slow though (about 2 seconds per text mode frame [!]).

One time I benchmarked it, though. It went something like this:

It took 3 ticks to execute the 65C02 instruction...
It took 5 ticks to execute the 65C02 instruction...
It took 0 ticks to execute the 65C02 instruction...
It took 1 ticks to execute the 65C02 instruction...
It took 12 ticks to execute the 65C02 instruction...
It took 7 ticks to execute the 65C02 instruction...
It took 9 ticks to execute the 65C02 instruction...
It took 1 ticks to execute the 65C02 instruction...
It took 0 ticks to execute the 65C02 instruction...
It took 0 ticks to execute the 65C02 instruction...
It took 2 ticks to execute the 65C02 instruction...

The 12 one was one of the more complex instructions (BRK I think it was).

> I'd love to see it!

I'll make a web page for it eventually. There's not much to see right now,
although the debugger and the preferences window might be interesting.




-----= 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! =-----