--- title: "16K HotZ-II Fix" type: "article" slug: "16k-hotz-ii-fix" url: "http://localhost/article/16k-hotz-ii-fix/" markdown_url: "http://localhost/article/16k-hotz-ii-fix.md" published_at: "2026-12-01T10:02:42+00:00" modified_at: "2026-12-01T10:02:42+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "The 16K Hot-Z II has a minor \"bug\" which causes the program to wipe the bytes from 8000h-8020h when you QUIT the program. If you're storing complete BASIC programs in the 8009-BFFF range, this will \"eat\" some system variables stored up there. The author supplies this fix: load HOT-Z, and then use it to load…" post_tag: - name: "Full Text" slug: "fulltext" taxonomy: "post_tag" url: "http://localhost/tag/fulltext/" indiv: - name: "Fred Nachbaur" slug: "fred-nachbaur" taxonomy: "indiv" url: "http://localhost/indiv/fred-nachbaur/" publication: "QZX" publication_r: id: 21219 title: "QZX" type: "periodical" url: "http://localhost/periodical/qzx/" authors: "Fred Nachbaur" volume: "2" issue: "9" issues_articles: - id: 70104 title: "QZX v2 n9" type: "issue" url: "http://localhost/issue/qzx-v2-n9/" pages: "7" pubdate: "August 1984" archive_link: false volumeissue: "v2n9" --- # 16K HotZ-II Fix The 16K Hot-Z II has a minor “bug” which causes the program to wipe the bytes from 8000h-8020h when you QUIT the program. If you’re storing complete BASIC programs in the 8009-BFFF range, this will “eat” some system variables stored up there. The author supplies this fix: load HOT-Z, and then use it to load a “slave” copy of itself at 8009 as described in the documentation. At 8DDF there will be a LD BC,009F; change this to LD BC,007F, and save the “slave” to a new tape; when using this in the future, the bytes 8000-8020 will be left alone. When HZII boots itself, the address of this command becomes 581B. You might also want to change the version number in the “cover” to reflect the change, e.g. add a “-1.”