tomaz / zx-next-dev-guide

Guide for ZX Spectrum Next assembler developer. Available as free to download PDF from releases page, or printed coil bound book at https://bit.ly/zx-next-assembler-dev-guide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong line numbers in description for "Hardware Interrupt Mode 2"

ttahsin-bey opened this issue · comments

Line numbers of the first code listing box in the chapter "Hardware Interrupt Mode 2" are not matching the following description of this code.

E.g. Description states "Lines 8-12 are the same ..." where there are only 11 lines of code in total and lines 7-11 are actually meant.

This happens at three points:

  • "Line 3 is where ...",
  • "Lines 4-6 enable or ..." and
  • "Lines 8-12 are the same ...".

Either insert an additional line in the code listing box (a label or comment on top of the "DI"-line will do) or decrement all values by 1.

Looks like I was tweaking the code and then forgot to update lines in text... Thanks for pointing it out!