Export Basic listing

By thegeps

Champion (480)

thegeps's picture

18-05-2019, 17:31

Is there a way to export Basic listing out of openMSX? I mean: I've coded a small breakout clone in msx-basic and I want to export its listing in a txt file, so I can modify it faster (moving large number of rows with copy and paste), and look at all the listing just by going up and down in a file... I just saw I can import a listing from a txt using catapult and sending text by clicking on type button so for that part of needing I'm fine... (I used diskmanipulator to export a disk content to a folder but the listings have been exported as bin, despite I've saved them with SAVE command in msx basic. Also tried to force asc saving them like SAVE"break.txt", SAVE"break.bas", SAVE"break.asc" but I had everytime a bin file, as prompted by TED)

Login or register to post comments

By Jipe

Paragon (1387)

Jipe's picture

18-05-2019, 17:52

SAVE "break.bas",A for ASCII format

By Poltergeist

Champion (277)

Poltergeist's picture

18-05-2019, 17:52

Save '' filename.Bas'', a

By Manuel

Ascended (16699)

Manuel's picture

18-05-2019, 17:59

And you can also just load the ASCII file without any conversion, using dir-as-disk, you don't need the type command at all and you don't need diskmanipulator to import/export.

By thegeps

Champion (480)

thegeps's picture

18-05-2019, 22:26

thank you all!