msx .cas loading

Pagina 1/3
| 2 | 3

Door msx321

Rookie (18)

afbeelding van msx321

06-05-2023, 13:49

Is it possible to load a . case file on msx without running ?
Thank you

Aangemeld of registreer om reacties te plaatsen

Van Manuel

Ascended (19691)

afbeelding van Manuel

06-05-2023, 14:46

Sure.

How do you load it now, including running?

Van msx321

Rookie (18)

afbeelding van msx321

06-05-2023, 19:37

Loader"cas:",r

without r not loading.

Van sdsnatcher73

Enlighted (4321)

afbeelding van sdsnatcher73

06-05-2023, 20:16

Should be LOAD”CAS:”

Van cjs

Master (143)

afbeelding van cjs

06-05-2023, 20:21

msx321 wrote:

without r not loading.

Why do you believe it's not loading without the ,R? I.e., what did you expect to see if it loaded correctly without ,R, and what did you actually see instead?

Van msx321

Rookie (18)

afbeelding van msx321

07-05-2023, 11:45

It is possible to resume the basic hand after a bload"case:",r

To type a basic command

Van cjs

Master (143)

afbeelding van cjs

07-05-2023, 12:18

msx321 wrote:

It is possible to resume the basic hand after a bload"case:",r
To type a basic command

That's up to the program you run. If it does a RET back to BASIC after doing its work, you'll be back at the BASIC prompt (or the program that was running and loaded that file will continue running). If the program decides to take over the machine, there's not much you can do about it but hit the reset button.

If you just load the program with BLOAD "CAS:" (no ,R at the end), the program will be in memory and you can carry on. And you can call it later if you know the (or an) entrypoint address to use. (If you don't, I believe that there are some memory locations that hold the start and end load addresses and the entrypoint addresses that were read from the start of the file you BLOADed.)

If you're trying to do something in particular, it might help if you describe exactly what program you're loading and what you're wanting to do.

Van msx321

Rookie (18)

afbeelding van msx321

08-05-2023, 17:43

Bload "cas:" loads the name of the game then stops the bin is not loaded.

Van msx321

Rookie (18)

afbeelding van msx321

08-05-2023, 17:50

Msx have run but not adress After run.

Van cjs

Master (143)

afbeelding van cjs

08-05-2023, 18:26

msx321 wrote:

Bload "cas:" loads the name of the game then stops the bin is not loaded.

What makes you believe it was not loaded? How do you differentiate between it being loaded in memory and then returning to BASIC (leaving it in memory) and it not being loaded at all?

Van cjs

Master (143)

afbeelding van cjs

08-05-2023, 18:30

msx321 wrote:

Msx have run but not adress After run.

Do you mean the RUN command? That's only used to run BASIC code. To execute machine-language code from BASIC you need to set the address with DEFUSR and then call the USR function you defined.

For example, if the address you wish to call is $D000, you can type:

    DEFUSR=&hD000
    A=USR(0)
Pagina 1/3
| 2 | 3