johanberntsson / ozmoo

A Z-machine interpreter for the Commodore 64 and similar computers
GNU General Public License v2.0
114 stars 18 forks source link

Adjust score/time position on Z3 status line #21

Closed ZornsLemma closed 3 years ago

ZornsLemma commented 3 years ago

Z3 score had moved left one character compared to earlier Ozmoo releases, probably by accident, because the code did clc:sbc #15 instead of sec:sbc #15. If this wasn't an accident, it would probably be clearer to use sec:sbc #16 just to be more conventional.

Z3 time didn't respect s_screen_width so wouldn't look right in 80 column modes. I don't know if there are any Z3 time games though; I haven't been able to test this change. (I spotted this problem while merging the 5.3 changes into my Acorn port.)

fredrikr commented 3 years ago

That certainly looks like a mistake, thanks.

Infocom made several z3 games with time in the statusline. Deadline and Cutthroats come to mind.