Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IM 2
#35
na_th_an Wrote:I think we are mixing up things.

The main problem has been solved: several ZX Basic commands and functions need the original 48 BASIC ROM (the one with the BASIC interpreter, which is ROM1) and I wasn't paging it back after I did my paging chores. So when paging, doing whatever you need to do, just ensure that BIT 4 is set. That's all.
Right. And I would like to track which ones (ej. Floating point operations do use ROM 0).

na_th_an Wrote:My concerns right now are if the BASIC ISR (rst 38) is NEEDED at all for some ZX Basic commands to work so, in case it is, just call rst 38 at the end of my ISR. It hasn't to do with paging at all. It's just that I have my own ISR and I don't know if functions such as INKEY$ need the BASIC ISR. So some testing is due...

And the results are positive. INKEY$ doesn't neeed the BASIC ISR. So, unless I need to use the FRAMES system variable, I can skip calling the BASIC ISR from my own ISR.
That's right.
You can use DI with ZX BASIC. It will go faster, but Frames won't work, and RANDOMIZE will always get the same value (from frames).
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)