Skip to content

Commit 4f1c022

Browse files
committed
Source code comments.
1 parent a3fe70e commit 4f1c022

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

sources/test-Z80.c

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,16 @@ static struct {char const *key; zuint8 options;} const cpu_models[4] = {
128128

129129
static char const new_line[2] = "\n";
130130

131+
/*----------------------------------------------------------------------------.
132+
| `in_values` holds the bytes returned when reading from I/O ports: |
133+
| [0]: Byte read from even I/O ports (specified with the `--in-even` option). |
134+
| [1]: Byte read from odd I/O ports (specified with the `--in-odd` option). |
135+
| The default values correspond to those of a Sinclair ZX Spectrum 48K with |
136+
| no devices connected. |
137+
'============================================================================*/
138+
139+
static zuint8 in_values[2] = {191, 255};
140+
131141
/*---------------------------------------------------------------------------.
132142
| The search paths specified with the `--path` option are collected into the |
133143
| `search_paths` array of size `search_path_count`. `path_buffer` is used to |
@@ -149,15 +159,6 @@ static zuint8 verbosity = 4;
149159
static zbool show_test_output;
150160
static char const* test_spacing;
151161

152-
/*-----------------------------------------------------------------------------.
153-
| [0]: Byte read from even I/O ports (specified with the `--in-even` option). |
154-
| [1]: Byte read from odd I/O ports (specified with the `--in-odd` option). |
155-
| The default values correspond to those of a Sinclair ZX Spectrum 48K with no |
156-
| devices connected. |
157-
'=============================================================================*/
158-
159-
static zuint8 in_values[2] = {191, 255};
160-
161162
/*---------------------------------------------------.
162163
| Instance of the Z80 emulator and 64 KiB of memory. |
163164
'===================================================*/

0 commit comments

Comments
 (0)