Click here to Skip to main content
15,888,610 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Session Expired Problem??????????? Pin
anj198312-Feb-07 8:09
anj198312-Feb-07 8:09 
AnswerRe: Session Expired Problem??????????? Pin
ramyasangeet13-Feb-07 23:14
ramyasangeet13-Feb-07 23:14 
QuestionOpenNetCf version Pin
ArchaBhandare11-Feb-07 22:14
ArchaBhandare11-Feb-07 22:14 
QuestionRegarding BEST Practices for .net development Pin
Vijay_Madhusudan_Kulkarni11-Feb-07 18:03
Vijay_Madhusudan_Kulkarni11-Feb-07 18:03 
AnswerRe: Regarding BEST Practices for .net development Pin
Kevin McFarlane12-Feb-07 5:24
Kevin McFarlane12-Feb-07 5:24 
Questioncan be done real time simulation with WPF? Pin
Mir_As11-Feb-07 7:41
Mir_As11-Feb-07 7:41 
AnswerRe: can be done real time simulation with WPF? Pin
Dave Kreskowiak11-Feb-07 13:55
mveDave Kreskowiak11-Feb-07 13:55 
AnswerRe: can be done real time simulation with WPF? Pin
Luc Pattyn12-Feb-07 5:53
sitebuilderLuc Pattyn12-Feb-07 5:53 
I concur with Dave.

Obviously a 2 GHz Pentium cannot simulate a 3 GHz Pentium in real-time.

I managed to simulate a 16MHz microcontroller at quarter speed on a 2GHz Pentium tho,
using C# code on .NET 1.1; this means I needed some 500 Pentium cycles to simulate one
target cycle.

The reason for such a factor should be clear: the simulator has to do sequentially
what a microprocessor is capable of doing in parallel (a lot of the chip's hardware
can work in parallel), such as:
- memory translation
- memory protection
- code fetch
- instruction decoding
- operand fetch
- ALU simulation
- flags adjustment
- peripheral processing (e.g. timer countdown, and occasionally interrupt vector
prioritizing and vectoring).

The most costly items in the list seem to be instruction decoding (a switch does not
come cheap) and flag adjustment (setting the zero, negative, carry, ... flags is
not cheap especially without using assembly code).

Since this was one of my first major apps in C# it is conceivable I could revisit
and somewhat improve the performance, but I dont expect that to be very much.

My simulation included ALU, memory and simple peripherals, targetting exact register
and memory behavior, but not exact timing simulation. If you want cycle accurate
simulation be prepared to add some code and get a slower simulation...

Hope this helps.





Luc Pattyn

GeneralRe: can be done real time simulation with WPF? Pin
Mir_As14-Feb-07 22:31
Mir_As14-Feb-07 22:31 
GeneralRe: can be done real time simulation with WPF? Pin
Luc Pattyn15-Feb-07 0:26
sitebuilderLuc Pattyn15-Feb-07 0:26 
Questioncheckboxlist and javascript Pin
Uma Kameswari11-Feb-07 5:43
Uma Kameswari11-Feb-07 5:43 
AnswerRe: checkboxlist and javascript Pin
anj198312-Feb-07 8:10
anj198312-Feb-07 8:10 
Questiondoes web servise is where i sould use server side chat program? Pin
yuvalda110-Feb-07 5:59
yuvalda110-Feb-07 5:59 
AnswerRe: does web servise is where i sould use server side chat program? Pin
Dave Kreskowiak10-Feb-07 8:22
mveDave Kreskowiak10-Feb-07 8:22 
Questionmultyplayers games using a server client communication Pin
yuvalda110-Feb-07 0:19
yuvalda110-Feb-07 0:19 
QuestionMultiple Versions of .NET Framework Pin
Rajaraman Soundararajan9-Feb-07 18:38
Rajaraman Soundararajan9-Feb-07 18:38 
AnswerRe: Multiple Versions of .NET Framework Pin
Christian Graus9-Feb-07 18:44
protectorChristian Graus9-Feb-07 18:44 
GeneralRe: Multiple Versions of .NET Framework Pin
Rajaraman Soundararajan10-Feb-07 6:02
Rajaraman Soundararajan10-Feb-07 6:02 
GeneralRe: Multiple Versions of .NET Framework Pin
Christian Graus10-Feb-07 10:35
protectorChristian Graus10-Feb-07 10:35 
GeneralRe: Multiple Versions of .NET Framework Pin
Mike Dimmick11-Feb-07 23:37
Mike Dimmick11-Feb-07 23:37 
GeneralRe: Multiple Versions of .NET Framework Pin
Christian Graus13-Feb-07 18:09
protectorChristian Graus13-Feb-07 18:09 
AnswerRe: Multiple Versions of .NET Framework Pin
Mike Dimmick11-Feb-07 23:44
Mike Dimmick11-Feb-07 23:44 
AnswerRe: Please give me some Idea if know about it Pin
Christian Graus9-Feb-07 18:18
protectorChristian Graus9-Feb-07 18:18 
QuestionHow to reorder grid columns Pin
AndrusM9-Feb-07 8:05
AndrusM9-Feb-07 8:05 
AnswerRe: How to reorder grid columns Pin
led mike9-Feb-07 9:28
led mike9-Feb-07 9:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.