|
|
|
|
|
by jrdres
168 days ago
|
|
It runs, but it would be very slow on actual hardware. I tried on a cycle-accurate emulator of a TRS-80 Model I with Omikron CP/M mapper. Most Z-80 machines of the time were 4MHz, but the TRS-80 was only 1.77 MHz. 1. Type "GUESS", get question prompt. 2. User types: "Are you an animal?", ENTER key 3. Wait 25 seconds 4. Program prints "N" 5. Wait 20 seconds 6. Program prints "O" 7. Wait 23 seconds 8. Program prints linefeed, returns to question prompt Total time to return 2-char answer to user's question: 1 min 9 sec or so. I bet a longer answer would take proportionally longer. "The wonder isn't that it does it well, it's a wonder it does it at all." |
|
I think I can do a little bit better; maybe 10% faster.