flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > hardware simulation

Author
Thread Post new topic Reply to topic
Ali.Z



Joined: 08 Jan 2018
Posts: 719
Ali.Z 23 Apr 2020, 15:02
most emulators emulate instruction set, maybe little bit the of behavior; (that is why we dont get accurate results on all emulators)

but what if we take a die and simulate the compete architecture?, well this video is about simulating the 6502 architecture.

https://www.youtube.com/watch?v=fWqBmmPQP40

_________________
Asm For Wise Humans
Post 23 Apr 2020, 15:02
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20363
Location: In your JS exploiting you and your system
revolution 23 Apr 2020, 19:35
Cycle accurate hardware emulators already exist of course.

They either aren't cheap, or aren't for sale, so anything that challenges that is a good thing IMO. Smile
Post 23 Apr 2020, 19:35
View user's profile Send private message Visit poster's website Reply with quote
Ali.Z



Joined: 08 Jan 2018
Posts: 719
Ali.Z 24 Apr 2020, 04:26
im not sure about software emulators, but i remember in 2000s someone showed me cool stuff at his place; he had an ICE (in-circuit emulator) for a japanese microprocessor, it was cool to see what happen after every cycle ~ 1 nano second at a time. (it also shows current address + bytes)

i wish if we have ICE for modern x86 chips, that would open a new era of reverse engineering that includes CPU, firmware and ram.

only those tech. companies who are involved in nano-tech. can build these stuff, and i bet most of these companies do reverse engineer each other's products.

_________________
Asm For Wise Humans
Post 24 Apr 2020, 04:26
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20363
Location: In your JS exploiting you and your system
revolution 24 Apr 2020, 04:39
ICEs in modern chips are often already embedded inside. ARM has a module that the makers can optionally include in the die (most of them do include it) and then everyone can access the system. You still need an external interface, often using JTAG, and then you can single step at the hardware level.

However many of the commercial x86 mobos you can buy cheaply often omit the connections to the JTAG interface, and/or the chip itself is packaged to not externally expose the JTAG. So chances are you will need an engineering sample to be able to make use of the embedded ICE.
Post 24 Apr 2020, 04:39
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.