Jump to content
IGNORED

Creating chained cartridges in XB2.9 G.E.M.


jschultzpedersen

Recommended Posts

Hi

Adding the ability to easily create cartridge modules in XB2.9 G.E.M. is a very nice feature. Thanks!

I am now testing the option to create chained cartridges in BX2.9 G.E.M. But it does not work for me. What am I doing wrong here?

I have two XB programs like this:


Module B is saved as DSK3.MB. It is the compiled and assembled and ends up loaded as DSK3.MB-X. Then it is converted to cartridge format as DSK3.MB-8.BIN. I can then run it as a cartridge using the CARTRIDGE/USER/OPEN option.

100 CALL CLEAR :: CALL SCREEN(11)
110 PRINT "THIS IS MODULE B"
120 CALL KEY(0,K,S):: IF NOT S THEN 120
130 PRINT "END OF MODULE B"
140 END


Similarly i create an XB file called DSK3.MA. It ends up as a cartridge file called DSK3.MA-8.BIN.


100 CALL CLEAR :: CALL SCREEN(10)
110 PRINT "THIS IS MODULE A"
120 CALL KEY(0,K,S):: IF NOT S THEN 120
130 PRINT "END OF MODULE A"
140 RUN "DSK3.MB-8"
150 END


I then run DSK1.CHAINCARTS...

First cart in chain: MA-8.BIN
Name on menu: JSP
Name of chained cartridge: M-8.BIN


It loads cartridge A and B producing a file called DSK3.M-8.BIN of size 64 Kb.

When running the combined cartridge, it displays the strings "THIS IS MODULE A" and "END OF MODULE A". But it does not run the next module.

I have tried with different file names in the RUN command like DSK3.MB, DSK3.MB-8 and DSK3.MB-8.BIN. But to no avail. I presume it is the file name, that is wrong, but What file name should I use for the setup i described?

If I run the programs as pure XB programs (no compilation), it works when using the 140 RUN "DSK3.MB" statement.


By the way... In the manual dated 07-23-2023 for the "JUWEL" developer package, the illustrations on page 3 are still referring to the ISABELLA version though the text refers to the "JUWEL" version.

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...