From d8b2592a0ae08856fe5a10e3c6e720b42055042f Mon Sep 17 00:00:00 2001 From: redcode Date: Sat, 3 Nov 2018 02:42:23 +0100 Subject: [PATCH] README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 768d66b..e72bfb5 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ ZZ80State state; **Description** CPU registers and internal bits. **Details** -It contains the state of the registers, as well as the interruption flip-flops, variables related to interruptions and other necessary flags. This is what a debugger should use as data source. +It contains the state of the registers, as well as the interrupt flip-flops, variables related to interrupts and other necessary flags. This is what a debugger should use as data source.
```C Z16Bit xy; @@ -154,7 +154,7 @@ Callback: Called when the CPU needs to write 8 bits to an I/O port. zuint32 (* int_data)(void *context); ``` **Description** -Callback: Called when the CPU starts executing a maskable interrupt and the interruption mode is 0. This callback must return the instruction that the CPU would read from the data bus in this case. +Callback: Called when the CPU starts executing a maskable interrupt and the interrupt mode is 0. This callback must return the bytes of the instruction that the CPU would read from the data bus in this case. **Parameters** `context` → The value of the member `context`. **Returns**