Skip to content

Implement ROM loading and HALT/STOP ops#2

Open
haomin1996 wants to merge 1 commit into
masterfrom
o14ezm-codex/complete-code-implementation-for-emulator
Open

Implement ROM loading and HALT/STOP ops#2
haomin1996 wants to merge 1 commit into
masterfrom
o14ezm-codex/complete-code-implementation-for-emulator

Conversation

@haomin1996
Copy link
Copy Markdown
Owner

Summary

  • support loading ROM bytes into memory
  • fix opcode fetch logic and 16‑bit immediate values
  • add HALT/STOP instructions
  • implement saveRam for MBC1
  • improve ROM reader error handling
  • add tests for HALT opcode and ROM loading

Testing

  • javac -cp /usr/share/java/junit4.jar:/usr/share/java/hamcrest-core.jar -d bin @sources_no_module.txt
  • java -cp bin:/usr/share/java/junit4.jar:/usr/share/java/hamcrest-core.jar org.junit.runner.JUnitCore gbaEmu.MemoryTest gbaEmu.UtilTest gbaEmu.CPUTest

https://chatgpt.com/codex/tasks/task_e_6845e6dbda4c8330bf2f70af568e4b7c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant