Skip to content

V4-engine v0.13.0

Choose a tag to compare

@kirisaki kirisaki released this 05 Nov 14:38
· 13 commits to main since this release

Major Changes

SYS Instruction Upgraded to IMM16

  • Support for 65536 system calls (previously 256)
  • SYSX opcode removed - no longer needed with 16-bit operands
  • All tests updated for new format

V4-std Integration

  • Dynamic SYS handler system for platform-specific syscall routing
  • Runtime registration of SYS handlers
  • See V4-std for implementation

Enhanced Debugging Support

  • Custom panic handler API with vm_set_panic_handler()
  • Comprehensive panic documentation in README
  • Platform-specific error handling support

New APIs

  • Word accessor functions for safe Word structure access
    • vm_word_get_name(), vm_word_get_code(), vm_word_get_code_len()
  • C++ v4::Word wrapper class
  • New type definitions: v4_u16, V4_OK

What's Changed

  • feat(opcodes): Update SYS to IMM16 and remove SYSX opcode by @kirisaki
  • feat(core): Add V4-std integration with dynamic SYS handler system by @kirisaki
  • docs: Add panic handler documentation to README by @kirisaki
  • feat: Add Word accessor APIs and custom panic handler support by @kirisaki
  • fix(tests): Update test_sys.cpp for SYS IMM16 format by @kirisaki

Full Changelog: https://github.com/V4-project/V4-engine/blob/v0.13.0/CHANGELOG.md