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
Other
141 stars 10 forks source link

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

Open ttahsin-bey opened 8 months ago

ttahsin-bey commented 8 months ago

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:

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.

tomaz commented 8 months ago

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