I would like to load a basic program as txt please.

All aspects of programming on the Commander X16.
Post Reply
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

I would like to load a basic program as txt please.

Post by funkheld »

Hi good afternoon.
I would like to load a basic program as txt please. :
test.txt

how does that work please?

Thanks.
Attachments
bastxt.jpg
bastxt.jpg (34.95 KiB) Viewed 511 times
TomXP411
Posts: 1803
Joined: Tue May 19, 2020 8:49 pm

Re: I would like to load a basic program as txt please.

Post by TomXP411 »

The -BAS emulator switch is the simplest way.

https://github.com/X16Community/x16-emu ... e#starting

You can also read up on the EXEC command on the official docs.

https://github.com/X16Community/x16-doc ... IC.md#exec

BASLOAD is another option, although it's not fully released yet. (It will be integrated into ROM on the next OS release.)
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

Re: I would like to load a basic program as txt please.

Post by funkheld »

hello, thanks for the help.
------------------------------------------
-bas c:\x16\pebi-bas\demo.txt
------------------------------------------
I already knew that and used it when starting.

--------
EXEC
--------
I didn't know this for reloading basic programs. Thanks.
I had read it before but couldn't solve the puzzle.

greeting
Post Reply