How to edit MSX files on PC?

페이지 1/2
| 2

By joy_33

Supporter (10)

joy_33의 아바타

23-09-2020, 18:16

How to edit MSX files on PC?

Hello, I would like to edit MSX files such as .BAS files on a PC (Windows).
Is there any software that can open and edit these files?
Excuse me mohi in English, translated by Google translator.

Login or 등록 to post comments

By Pencioner

Scribe (1170)

Pencioner의 아바타

23-09-2020, 19:06

i think the simplest would be to load the file into the emulator, save it as ASCII text (maybe under different file name):
SAVE "MYPROG2.BAS", A
(the A would tell BASIC to save in format readable by any plain text editor, on PC too)
and then edit it. afterwards that ASCII files are loading into MSX-BASIC without issue

By mcolom

Expert (110)

mcolom의 아바타

23-09-2020, 19:14

Openmsx and fmsx (and others, I guess) have the nice feature to use a directory as a disk, which can be quite useful for that.

By joy_33

Supporter (10)

joy_33의 아바타

23-09-2020, 19:17

Thanks for the advice, and in which emulator would it be best?
I'm new to MSX, I use BlueMSX on my PC.
And as a real computer I use SX1 from 8bits4ever.

By Pencioner

Scribe (1170)

Pencioner의 아바타

23-09-2020, 20:05

well, if you have a SX-1 computer with SD card, then you can save with ",A" onto card without using emulator, then edit file on PC Smile

By _ThEcRoW

Expert (89)

_ThEcRoW의 아바타

23-09-2020, 20:09

Or use akid directly on the sx1. Its a simple text editor that works well for simple files.

By joy_33

Supporter (10)

joy_33의 아바타

23-09-2020, 20:12

The problem is that I can't edit the xxx.BAS file on my PC
If I open a .BAS file, I'm just confused on the screen.

for example :
˙5€ :ŹćPOKE &HFBB1,1 'Poke to disable [CTRL]+[STOP] Z€
Ĺ: Ěë: ź: † A(),A$(),B$() i€ ‚ Bď Ů  „€ ‡ A,A$,B$: ‹ Aď˙ Ú< ľ€( ‹ ˙—( - )îďA Ú A(YR)ďA: A$(YR)ďA$: B$(YR)ďB$: YRďYRń Ä€2 ƒ Ý€< Yď(˙—( ±ó)ü)ň(YRü) ě€F ‚ Bď Ů YR P Ř (˙—( ®ó)ü)ň(˙’(A$(B))ü),YńB: ‘ A$(B) %Z ƒ: BďYR Ud Xď(˙—( ®ó)ü)ň
: Yď(˙—( ±ó)ü)ň(Bü): YRď ^n Ťú Ťx Sď˙˘() ÷ ˙˘(): B$ďě: ‹ B$đî"" Ú

By joy_33

Supporter (10)

joy_33의 아바타

23-09-2020, 20:21

thank you i will try

By Manuel

Ascended (16951)

Manuel의 아바타

23-09-2020, 21:37

BAS files aren't text files. That's why people are saying you would first need to save them with the ,A behind the save command, which will save them as a text file.

By sd_snatcher

Prophet (3348)

sd_snatcher의 아바타

23-09-2020, 23:00

Since you're new to the MSX, follow these steps:

1) Convert the .BAS file to plain text on the MSX
LOAD "XXXX.BAS"
SAVE "XXXX.BAS",A

2) Edit the converted .BAS file on your preferred PC Text editor. Some IDEs even support syntax highlighting. Be sure to not make repeated line numbers when editing

3) You can read the edited file back on the MSX with a normal LOAD command.

By joy_33

Supporter (10)

joy_33의 아바타

24-09-2020, 10:43

thank you i will try

페이지 1/2
| 2