Search found 9 matches

by skyler
Tue Sep 21, 2004 2:54 pm
Forum: Programming
Topic: do you like 6502, do you want to program anywhere?
Replies: 10
Views: 5040

文曲星做得

First I'm chinese.
And I'm not a 星迷 and I never bought it. sorry.
But I have develop electronic dictionary ,like WQX and cpu alse is 6502.
:D
by skyler
Sat Nov 22, 2003 1:37 pm
Forum: Hardware
Topic: What is "65C02 protel instruction set"?
Replies: 0
Views: 2707

What is "65C02 protel instruction set"?

I use IAR Embedded Workbench V2.31,Under project options ,I found the processor comfiguration have a seletion of "65C02 Protel instruction set".Someone know what is it?
by skyler
Fri Sep 19, 2003 5:07 pm
Forum: Programming
Topic: Timing of emulator base on win32
Replies: 19
Views: 9732

Scott,

Inface,If I can't finish 1ms task,the next ONTIME message will be miss.because Timer priority is lower than other message.It would not queue in windows message.

Skyler.

+++++++++++++++++++++++++++++++++++++++++++++++

kc5tja,

Sorry,I do not know how to post code in this forum before.I'll ...
by skyler
Thu Sep 18, 2003 2:08 am
Forum: Programming
Topic: Timing of emulator base on win32
Replies: 19
Views: 9732

Scott,

Because I have not simulate the LCD controler,after do this,I think it will become slowly.
If it can finish each ms task,it will exit callback and return to windows's message loop.
If it can not do this,Can i insert the code below to translate windows's message before start next ms task?If I ...
by skyler
Wed Sep 17, 2003 6:26 pm
Forum: Programming
Topic: Timing of emulator base on win32
Replies: 19
Views: 9732

Daryl,

I know how to do now.thank you.

skyler

+++++++++++++++++++++++++++++++++++++++++++++++

Scott,

I think Daryl's way is a good way to resolve my problem.
Infact,the below code just occupy CPU usage just 2-4%.I think it will work fine in the future.
I'll set a target_cycles,once the computer ...
by skyler
Wed Sep 17, 2003 7:21 am
Forum: Programming
Topic: Timing of emulator base on win32
Replies: 19
Views: 9732

If it can not finish 4000cycle per second.Such as PC speed is not so fast or current status is too busy.What can I do next ms?
I use MMTimer,It can produce MS event.and I run 4000cycle in it's callback function.
by skyler
Thu Aug 28, 2003 1:43 am
Forum: Programming
Topic: Timing of emulator base on win32
Replies: 19
Views: 9732

8Bit,

Thanks for your help,I know how to do now,run 4000 cycly then wait for each ms to end is and good way for me.Because on my project,there are no sound generation^o^
And why I can't visit your web sits?Can you send my your code to my MailBox directly? [skyler@cnnb.net]
Thank you.

Skyler.
by skyler
Tue Aug 26, 2003 3:26 pm
Forum: Programming
Topic: Timing of emulator base on win32
Replies: 19
Views: 9732

Timing of emulator base on win32

I'd want to build an Emulator base on win32,I refer some code and I can achieve instruction of 6502,but how to make the emulator run speed is the same of actual speed(about 4Mhz)?