Skip to content

Add .n80 memory image restore and MemoryImageBoot - #30

Merged
bubio merged 1 commit into
mainfrom
feat/n80-memory-image
Oct 12, 2026
Merged

bubio merged 1 commit into
mainfrom
feat/n80-memory-image

Conversation

@bubio

@bubio bubio commented Oct 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • PC-8001 の RAM ダンプ(.n80)を復元する PC88.restoreMemoryImage(_:) を追加(X88000M の LoadMemoryImage に準拠: RAM 0x8000–0xFF3F 復元、40×20 画面設定、HL/SP/IM2 設定後 0xFF3D の RET から再開)
  • N-BASIC のプロンプト待ち → 復元 → 必要なら RUN を行うシーケンサ MemoryImageBoot を追加
  • 40桁モードのテキストコピーを1バイトおきに読むよう修正(Ok が O k にならないように)
  • BootTester に BOOTTEST_N80_PATH を追加

Test plan

  • swift test(1002件すべて通過)
  • scripts/regression_compare.py 20/20 PASS
  • アプリでの .n80 読み込みの動作確認

🤖 Generated with Claude Code

Restore a PC-8001 RAM dump the way X88000M's LoadMemoryImage does, and
sequence it from N-BASIC with MemoryImageBoot: wait for the prompt,
restore, then RUN when the image needs it. Text copy reads every other
byte in 40-column mode, so the sequencer sees "Ok" rather than "O k".
BootTester loads an image with BOOTTEST_N80_PATH.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bubio
bubio merged commit 0ce6896 into main Oct 12, 2026
3 checks passed
@bubio
bubio deleted the feat/n80-memory-image branch October 12, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant