msx .cas loading

Página 1/3
| 2 | 3

Por msx321

Rookie (18)

imagem de msx321

06-05-2023, 13:49

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

Entrar ou registrar-se para comentar

Por Manuel

Ascended (19685)

imagem de Manuel

06-05-2023, 14:46

Sure.

How do you load it now, including running?

Por msx321

Rookie (18)

imagem de msx321

06-05-2023, 19:37

Loader"cas:",r

without r not loading.

Por sdsnatcher73

Enlighted (4305)

imagem de sdsnatcher73

06-05-2023, 20:16

Should be LOAD”CAS:”

Por cjs

Master (143)

imagem de 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?

Por msx321

Rookie (18)

imagem de msx321

07-05-2023, 11:45

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

To type a basic command

Por cjs

Master (143)

imagem de 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.

Por msx321

Rookie (18)

imagem de msx321

08-05-2023, 17:43

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

Por msx321

Rookie (18)

imagem de msx321

08-05-2023, 17:50

Msx have run but not adress After run.

Por cjs

Master (143)

imagem de 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?

Por cjs

Master (143)

imagem de 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)
Página 1/3
| 2 | 3