Derek_Stewart wrote:Hi Lee,
Looking at my boot file for SMSQmualtor/QPC2/Q-EMulator, I use this If clause:
Code: Select all
1300 REMark Load Turbo Toolkit
1310 IF VER$=="HBA"
1320 LRESPR "WIN1_TURBO_SMS_CODE"
1330 ELSE
1340 LRESPR "WIN1_TURBO_TK_CODE"
1350 END IF
Seems to work for QDOS and SMSQ/E.
But I guess there are other solutions.
Thanks, but that would not work for me and perhaps I should clarify a little further.
Using Q-emuLator, my boot first loads SMSQ_QEM and restarts with the same boot
Where this
Code: Select all
IF VER$<>"HBA" THEN
LRESPR "WIN8_SMSQ_QEM"
END IF
fails the second time around (as designed, so all good)
I then load (still in the same boot) the TURBO_SMS_CODE appropriate for SMSQ based system.
This is all fine, however, I am developing the boot for different setups and change them a lot depending on what project I decide to work on.
This means running the boot several times in the one session to test what I am trying to do and I don't want to keep using up space re-LRESPR the TURBO toolkit.
Using another toolkit to test for the existence of a keyword in the TURBO toolkit would then mean using another method to test for that additional Toolkit, as you said a catch 22.
So
Code: Select all
1300 REMark Load Turbo Toolkit
1310 IF VER$=="HBA"
1320 LRESPR "WIN1_TURBO_SMS_CODE"
1330 ELSE
1340 LRESPR "WIN1_TURBO_TK_CODE"
1350 END IF
would not work for me
.