[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Logic Gate on Emulator
Can you provide your theory for two different Emulator project? First
project is to translate 6502 opcode instructions into 80x86 opcode
instruction that will be written in assembler language. Second project is
to interpret 6502 opcode instructions into C/C++ language before it can be
complied/linked into 80x86 opcode instruction.
I suspect that second project can be very slow than first project.
Third project will be doing with Logic Gate. Logic Gate can be written
in C/C++ by using if then else statement by using Boolean's Truth Table
ONLY. I can tell that it will be over thousand if then else statement. It
will be the EXACT same as Apple II's schematic diagram. 80x86 CPU will
spend too much time by executing Boolean's Truth Table continously. It will
IMPROVE Emulator project that it can be running much perfect that it looks
very real on Apple II. It can be REALLY STABLEe. The problem is that 80x86
CPU will steal too much time that will decrease the performance on Pentium
III 550MHz, but it will improve performance on newer Pentium IV 2.0GHz and
higher
It looks like that Logic Gate with If Then Else statement can use too
many 80x86 opcode instructions for testing AND, OR, XOR, and NOT. It will
always show accurate number of cycles each second. I tried to use Kegs32
Emulator, but it almost has accurate cyclces. It is not always perfect.
What do you think to compare first, second and third projects? Extra
opcode instructions can be wasting and they are not necessary if they use
Logic Gate.
--
Yours Truly,
Bryan Parkoff
BParkoff@satx.rr.com