4 ms·
Notepad doesn't really have a way to execute code as far as I know. In this case, Doom is running on the machine, but it has been modified to copy and paste the
by troupe 4y ago
Notepad doesn't really have a way to execute code as far as I know. In this case, Doom is running on the machine, but it has been modified to copy and paste the display to notepad very quickly as ASCII text.
- kbelder 4y agoI wonder how it reliably captures the key input if notepad is the window with focus.
- 988747 4y agoI guess it 'renders' the whole frame in some buffer, and then copy-pasting it to Notepad takes less than 1ms, leaving you with at least 940ms of each second waiting for key input (assuming 60fps). And might have overestimated the copying time by few orders of magnitude, maybe copying takes just a microsecond ? Another thought: do you even need to bring notepad to focus in order to copy contents to it? Maybe it's not in focus at all, and just happens to be the only thing on the screen?