Page 1 of 1

Trying to initiate TKII

Posted: Sat Sep 26, 2020 8:38 pm
by lowrybt
Hello,

I'm working with an original BBQL to which a Cumana floppy interface (1.16) and Miracle Expanderam (512K) are attached. I'm trying to launch TKII from floppy using the following command right after power-up and F1:

100 base=RESPR(16384):LBYTES FLP1_Tk2_Ext,base:CALL base

The TK2 file definitely starts to load but invariably the process leads to a reset and hang (looking at the multi-colored hash screen that one sees right after hitting the reset button). Before going any further, should I try the command that takes into account the 6-byte word offset for TK2 ROM images? I don't think the Expanderam has any toolkit type ROM but the Cumana interface definitely has a early version of Toolkit onboard (that is not sub-directory aware),

Thanks, Tom

Re: Trying to initiate TKII

Posted: Sat Sep 26, 2020 8:50 pm
by janbredenbeek
lowrybt wrote:Hello,

I'm working with an original BBQL to which a Cumana floppy interface (1.16) and Miracle Expanderam (512K) are attached. I'm trying to launch TKII from floppy using the following command right after power-up and F1:

100 base=RESPR(16384):LBYTES FLP1_Tk2_Ext,base:CALL base

The TK2 file definitely starts to load but invariably the process leads to a reset and hang (looking at the multi-colored hash screen that one sees right after hitting the reset button). Before going any further, should I try the command that takes into account the 6-byte word offset for TK2 ROM images? I don't think the Expanderam has any toolkit type ROM but the Cumana interface definitely has a early version of Toolkit onboard (that is not sub-directory aware),
You must indeed take into account the word offset at base+6, so CALL base+PEEK_W(base+6) should do.
I know about disk interfaces that have a cut down version of TKII on ROM, but as ROM space is limited (16K or even 8K, which includes FLP driver code and I/O space) it's often limited to just file handling commands.

Jan

Re: Trying to initiate TKII

Posted: Sun Sep 27, 2020 10:22 am
by Martin_Head
I'm not familiar with the Cumana interface. But with reference to your other thread. If you are trying to get subdirectory support and RAM disks. Then just updating TKII is almost certainly not going to work.

You would need a new FLP driver in ROM that supports level 2, or 3 to get subdirectories, and a separate RAM driver, which could be strored in RAM. To get RAM disks