Post Reply 
[HP41] mcode question polling point entries
03-22-2023, 05:13 PM
Post: #2
RE: [HP41] mcode question polling point entries
(03-22-2023 04:09 PM)MeindertKuipers Wrote:  Hi mcode guru's,

I am struggling with some mcode using the HP41 polling entries, and I am probably messing up some registers. Is there any definition which CPU registers can be freely used and which must be restored during any of these polling entries?

From the comments in the HP-41 OS listing: Plug-in ROMs must preserve C[10:3] and return to RMCK10 with hex mode, P selected, Status Set 0 up, and chip 0 selected.

So, everything else is fair game, including subroutine levels. But if you're using the I/O service entry (FF8) in some case no subroutine levels are available. That's the only restriction that I sometimes forget about.

Monte
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [HP41] mcode question polling point entries - Monte Dalrymple - 03-22-2023 05:13 PM



User(s) browsing this thread: 1 Guest(s)