Skip to content

Commit

Permalink
Fixed typo in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pcawte committed Aug 16, 2023
1 parent cedca73 commit 345e98d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
12 changes: 1 addition & 11 deletions Agon-HW.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ not visible externally.
The response time of the CPU to an interrupt request is a function of the current instruction being executed as well as the number of wait states being asserted. The interrupt vector, {I[7:0], IVECT[7:0]}, is visible on the address bus, ADDR[15:0], when the interrupt
service routine begins. The response of the CPU to a vectored interrupt on the eZ80F92
device is explained in Table 12. Interrupt sources are required to be active until the interrupt service routine starts. It is recommended that the Interrupt Page Address Register (I)
value be changed by the user from its default value of 00h as this address can create conflicts between the nonmaskable interrupt vector, the RST instruction addresses, and the
value be changed by the user from its default value of 00h as this address can create conflicts between the non-maskable interrupt vector, the RST instruction addresses, and the
maskable interrupt vectors.

![](assets/2023-07-27-10-47-02-image.png)
Expand Down Expand Up @@ -281,9 +281,6 @@ vdp_protocol_state2:
DEC A
LD (_vdp_protocol_len), A
RET NZ             ; Stay in this state if there are still bytes to read
```

Receives data bytes from UART0 then:
Expand Down Expand Up @@ -313,7 +310,6 @@ vdp_protocol_exec:
ADD HL, HL        ; And add the address of the vector table
ADD HL, DE
JP (HL)          ; And jump to the entry in the jump table
```

Execute the command with the complete received packet of data
Expand All @@ -322,8 +318,6 @@ Execute the command with the complete received packet of data

- Jump to the command using the command vector, indexed by the saved command



Incoming protocol / data information is maintained in:

- `_vdp_protocol_cmd`: incoming command - with bit-7 cleared
Expand All @@ -334,8 +328,6 @@ Incoming protocol / data information is maintained in:

- `_vdp_protocol_ptr`: position to store next incoming byte



Format of VDP protocol data:

- Command (1 byte)
Expand Down Expand Up @@ -424,8 +416,6 @@ Based on the received KEY VDP protocol packet:

- If Ctrl-Alt-Del pressed, wait for keys to be released



The VDP protocol data comes from FabGL `kb->getNextVirtualKey(&item, 0)`

Where item is an instance of `fabgl::VirtualKeyItem item;` with public attributes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ The layout can be checked by examining the following labels in the `.map` file.
```
___low_bss = 080000
___len_bss = 000000
___heaptop = 05FFFF
___heaptop = 09FFFF
___heapbot = 080000
__stack = 0AFFFF
```
Expand Down

0 comments on commit 345e98d

Please sign in to comment.