this post was submitted on 01 Nov 2024
44 points (97.8% liked)

Ask Lemmy

26884 readers
3815 users here now

A Fediverse community for open-ended, thought provoking questions

Please don't post about US Politics. If you need to do this, try !politicaldiscussion@lemmy.world


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
 

I know this would basically be a useless feature, except for scientific curiousity. I think it could be interesting to some people to see first hand what sort of errors that old faulty CPUs would produce.

Emulators for other faulty platforms might be interesting too. Not like I'd expect any programmers out there to deliberately write faulty instructions though, except as stated, something of a scientific exercise.

Just curious honestly.

top 4 comments
sorted by: hot top controversial new old
[–] henfredemars@infosec.pub 9 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

I would solve this problem with QEMU and change the definition of the instruction to generate IR for the flawed behavior. I would force it to use software emulation of course as this would no longer properly be the x86 architecture.

I don’t know of any software that does that by default.

[–] over_clox@lemmy.world 4 points 2 weeks ago

Of course I wouldn't expect any emulator to run faulty instructions by default, but it seems to me that it would be an interesting option for digital historians to study, if for no other reason than shits and giggles..

[–] cheeseburger@lemmy.ca 9 points 2 weeks ago

This might be something PCem can do. LTT talked about it for emulating PC hardware (here) to install and play MS-DOS games accurately. I see someone in the PCem forum 10 years ago mentioning the recreation of FDIV bugs.

[–] InverseParallax@lemmy.world 3 points 1 week ago

Qemu, i386 target, not sure if they use TCG for that, they probably do, basically have a specific machine model that handles fdiv with a lookup table or something, honestly not sure how it went wrong.