zx-next-dev-guide icon indicating copy to clipboard operation
zx-next-dev-guide copied to clipboard

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

Open ttahsin-bey opened this issue 1 year ago • 1 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.

ttahsin-bey avatar Dec 25 '23 14:12 ttahsin-bey

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

tomaz avatar Jan 04 '24 08:01 tomaz