You'd probably have to poke a short assembly/machine code program into memory 
then call it.  But after you got back and BASIC started running again your 
value would probably get overwritten.



-------------------------------------------------------------------------------------------------
Ronald Hudson.

Sent from my Linux Desktop.

________________________________
From: M100 <[email protected]> on behalf of John R. Hogerhuis 
<[email protected]>
Sent: Tuesday, April 1, 2025 8:18 AM
To: [email protected] <[email protected]>
Subject: Re: [M100] How to set CPU register from BASIC



On Tue, Apr 1, 2025, 3:45 AM Georg Käter 
<[email protected]<mailto:[email protected]>>
 wrote:
Hi community,



how to set CPU register A, H and others direct from BASIC by i.e. POKE command?

It depends on what you're doing next.

I'm guessing you're setting the parameter for a CALL you want to make? Maybe 
calling the ROM or some code you are writing?

-- John.

Reply via email to