Re:Weird things I learned while writing an x86 emulator
by commandlinefan on Wednesday July 10, 2024 @03:21PM
(#40930438)
OTOH, are you really going to be implementing memory segmenting in your gate-level CPU? I'd say actually creating a working CPU and _then_ emulating a real CPU (warts and all) are both necessary steps to real understanding.
[ Parent
| on HN ]
Re:Weird things I learned while writing an x86 emulator
by monocasa on Wednesday July 10, 2024 @03:41PM
(#40930690)
> OTOH, are you really going to be implementing memory segmenting in your gate-level CPU?
I have, but it was a PDP-8 which I'll be the first to admit is kind of cheating.
Re:Weird things I learned while writing an x86 emulator
by trollied on Wednesday July 10, 2024 @03:40PM
(#40930683)
I agree.
Re:Weird things I learned while writing an x86 emulator
by mrspuratic on Thursday July 11, 2024 @04:55AM
(#40934783)
This. I mean, why not start with wave theory and material science if you really want a good understanding :)
In my CS course I learned a hell of a lot from creating a 6800 emulator; though it wasn't on the course, building a working 6800 system was. The development involved running an assembler on a commercial *nix system and then typing the hex object code into an EPROM programmer. You get a lot of time to think about where your bugs are when you have to wait for a UV erase cycle...
Re:Weird things I learned while writing an x86 emulator
by commandlinefan on Thursday July 11, 2024 @10:10AM
(#40937015)
> why not start with wave theory and material science
You jest, but if I had infinite time...