Re:Z3 – The Zork CPU
by kmill on Monday September 04, 2017 @03:38PM
(#15170379)
I believe the hardware version traps to the OS for the aread instruction which then executes a bunch of low-level instructions to do IO and parsing.
You could start by making a CPU that traps to the OS for every single instruction (except for some minimal core), and then incrementally implement hardware versions to speed up execution.
You could start by making a CPU that traps to the OS for every single instruction (except for some minimal core), and then incrementally implement hardware versions to speed up execution.