mud/src/mudlib/zmachine
Jared Miller 74538756d5
Handle object 0 (nothing) gracefully in object parser
Per the Z-machine spec, object 0 means "nothing" and operations on it
should be safe no-ops: get_child/get_sibling/get_parent return 0,
test_attr returns false, set/clear_attr are no-ops, etc. Previously
these threw ZObjectIllegalObjectNumber, crashing on games like Curses
that pass object 0 to get_child during room transitions.
2026-02-10 18:32:36 -05:00
..
__init__.py Re-copy fixed repos/zvm source into src/mudlib/zmachine 2026-02-09 20:44:21 -05:00
bitfield.py Re-copy fixed repos/zvm source into src/mudlib/zmachine 2026-02-09 20:44:21 -05:00
glk.py Re-copy fixed repos/zvm source into src/mudlib/zmachine 2026-02-09 20:44:21 -05:00
LICENSE Port 12 trivial opcodes to hybrid z-machine interpreter 2026-02-09 20:44:21 -05:00
mud_ui.py Map empty Enter to ZSCII 13 in read_char 2026-02-10 18:26:41 -05:00
quetzal.py Replace deprecated chunk module with inline IFF parser 2026-02-10 17:20:01 -05:00
trivialzui.py Fix backspace echo for terminals that send chr(127) 2026-02-09 23:11:43 -05:00
zaudio.py Re-copy fixed repos/zvm source into src/mudlib/zmachine 2026-02-09 20:44:21 -05:00
zcpu.py Add instruction tracing to step_fast and improve error messages 2026-02-10 18:29:27 -05:00
zfilesystem.py Re-copy fixed repos/zvm source into src/mudlib/zmachine 2026-02-09 20:44:21 -05:00
zlexer.py Truncate words to dictionary resolution before lookup 2026-02-09 23:04:56 -05:00
zlogging.py Re-copy fixed repos/zvm source into src/mudlib/zmachine 2026-02-09 20:44:21 -05:00
zmachine.py Wire op_save to QuetzalWriter and filesystem 2026-02-10 10:13:45 -05:00
zmemory.py Relax version gates to accept V8 story files 2026-02-10 13:37:22 -05:00
zobjectparser.py Handle object 0 (nothing) gracefully in object parser 2026-02-10 18:32:36 -05:00
zopdecoder.py Optimize z-machine hot loop: fast step, dispatch table, inline bit ops 2026-02-10 15:05:34 -05:00
zscreen.py Re-copy fixed repos/zvm source into src/mudlib/zmachine 2026-02-09 20:44:21 -05:00
zstackmanager.py Add return_addr to ZStackBottom for uniform frame access 2026-02-10 17:16:25 -05:00
zstream.py Re-copy fixed repos/zvm source into src/mudlib/zmachine 2026-02-09 20:44:21 -05:00
zstreammanager.py Re-copy fixed repos/zvm source into src/mudlib/zmachine 2026-02-09 20:44:21 -05:00
zstring.py Log warning for undefined ZSCII characters 2026-02-09 21:47:20 -05:00
zui.py Port 12 trivial opcodes to hybrid z-machine interpreter 2026-02-09 20:44:21 -05:00