Hi,
I read in Andrew Pennell's book Assembley Language on the QL, there is an attempt at a Superbasic Trace routine.
The ability to single step and trace a SBASIC programme, seems to be lacking, which if implemented woukd be a great enhancement to SBASIC.
I suppose, I can use MasterBasic, which works with SBASIC...
SBASIC Trace
-
- Font of All Knowledge
- Posts: 4684
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: SBASIC Trace
Minerva supports single-stepping SuperBASIC. You need to load the trace_bin toolkit from the Minerva utils disk, and can then single-step and have new TRACE (tracing line numbers and statements), SSTEP (single-stepping) and TROFF (tracing off) commands.
Without Minerva, it seems difficult: Minerva provides "user hooks" that allow you to inject machine code into the S*BASIC interpreter.
Without Minerva, it seems difficult: Minerva provides "user hooks" that allow you to inject machine code into the S*BASIC interpreter.
ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
-
- Font of All Knowledge
- Posts: 4684
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: SBASIC Trace
Hi
Thank you for the information, I did know about the Minerva Trace, which is detailed in the Minerva manual.
I was hoping for a possible addition to SMSQ/E with regards to Basic tracing.
So I will use MasterBasic...
Maybe Minerva should be developed further
Thank you for the information, I did know about the Minerva Trace, which is detailed in the Minerva manual.
I was hoping for a possible addition to SMSQ/E with regards to Basic tracing.
So I will use MasterBasic...
Maybe Minerva should be developed further
Regards,
Derek
Derek