sussman / zvm

A pure-python implementation of a Z-machine interpreter
BSD 3-Clause "New" or "Revised" License
31 stars 12 forks source link

zvm.zobjectparser.ZObjectIllegalObjectNumber #17

Open aaronchantrill opened 2 weeks ago

aaronchantrill commented 2 weeks ago

When attempting to run the included curses.z5 file, it starts and prints the title screen, then exits with this error. Apparently it is getting fed object zero, but it requires that object be between 1 and 2^16.

I also tried zork1.z5, and it just immediately failed with zvm.zcpu.ZCpuNotImplemented.

I like the project, and I'll play with it a little bit more, but I really have no idea how to fix these errors so far. Any help would be appreciated.

Thanks!

sussman commented 2 weeks ago

The z-machine implementation was never completed. We were busy implementing one op-code at a time. It can't yet run any z-code games. Feel free to read the z-machine spec and keep implementing op-codes!

On Fri, Jun 14, 2024 at 8:47 PM aaronchantrill @.***> wrote:

When attempting to run the included curses.z5 file, it starts and prints the title screen, then exits with this error. Apparently it is getting fed object zero, but it requires that object be between 1 and 2^16.

I also tried zork1.z5, and it just immediately failed with zvm.zcpu.ZCpuNotImplemented.

I like the project, and I'll play with it a little bit more, but I really have no idea how to fix these errors so far. Any help would be appreciated.

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/sussman/zvm/issues/17, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5D46M73BXUUFGGUNFJXPTZHOMLDAVCNFSM6AAAAABJLIBXV2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2TIMZZGY3TMMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>