From 9de6a3ae6b31abe798cb0327be13d804a642605a Mon Sep 17 00:00:00 2001 From: slack Date: Mon, 23 Jun 2008 04:30:26 +0200 Subject: [PATCH] a bit more of disasm --- gbcore.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gbcore.cc b/gbcore.cc index 2925393..5ca3b51 100644 --- a/gbcore.cc +++ b/gbcore.cc @@ -966,7 +966,12 @@ std::string GameBoy::get_port_name(int port) const case 0x47: port_name = "BGP "; break; case 0x48: port_name = "OBP0"; break; case 0x49: port_name = "OBP1"; break; - case 0x46: port_name = "DMA "; break; + case 0x46: port_name = "DMA "; break; + case 0xFF: port_name = "IE "; break; + default: + if (port >= 0x80 && port <= 0xFE) { + port_name = "HRAM"; + } } return port_name; } -- 2.34.1