Difference between revisions of "Talk:83Plus:BCALLs:4F54"
From WikiTI
Line 2: | Line 2: | ||
The very first opcodes of this bcall are <tt>or a \ ret z</tt>. Unless my memory fails miserably, this means it won't work on ROM page 0. -[[User:AndyJ|Andy Janata]] 10:32, 24 December 2006 (PST) | The very first opcodes of this bcall are <tt>or a \ ret z</tt>. Unless my memory fails miserably, this means it won't work on ROM page 0. -[[User:AndyJ|Andy Janata]] 10:32, 24 December 2006 (PST) | ||
+ | : Yeah, you're right, but ROM page 0 is always loaded at 0000h, so you could pass a non-zero value in A and point HL to ROM page 0. (It would be pointless, but you could do it.) Thanks for pointing that out. I'll update the article accordingly. --[[User:Dan Englender|Dan Englender]] 21:17, 25 December 2006 (PST) |
Latest revision as of 21:17, 25 December 2006
Why not ROM page 0?
The very first opcodes of this bcall are or a \ ret z. Unless my memory fails miserably, this means it won't work on ROM page 0. -Andy Janata 10:32, 24 December 2006 (PST)
- Yeah, you're right, but ROM page 0 is always loaded at 0000h, so you could pass a non-zero value in A and point HL to ROM page 0. (It would be pointless, but you could do it.) Thanks for pointing that out. I'll update the article accordingly. --Dan Englender 21:17, 25 December 2006 (PST)