Subject: | Issue with CPU::Emulator::Z80 |
Date: | Tue, 14 May 2019 20:44:14 +0200 |
To: | bug-CPU-Emulator-Z80 [...] rt.cpan.org |
From: | Borek Lupoměský <borek [...] lupomesky.cz> |
There seems to be not quite a bug, but an inconvenient semantics with
creating memory from binary in the new() method. If you use non-zero ORG
in your code and then pass the resulting binary to the emulator as
new(memory => $binary), then the binary is actually loaded at 0x0000.
This leads to problems. It would be nice if one could specify: 1. memory
size, 2. binary string, 3. origin address, where the binary should be
loaded.