Author
| text editor supporting footnotes
|
cichlasoma.n msx novice Posts: 18 | Posted: March 28 2008, 17:52   |
|
|
cichlasoma.n msx novice Posts: 18 | Posted: March 28 2008, 23:34   |
Quote:
| let me ask a basic question - how to edit an Autoexit.bas - thereīs nothing like that im my emulatorsī folders...
|
well, i see now, itīs on the dsk image... yet, how to edit it? - the DP autostarts when i reset the system with the disk image in the (emulated) drive...  |
|
[D-Tail]
 msx guru Posts: 2891 | Posted: March 29 2008, 01:28   |
Aight, you should interrupt DP from starting by keeping [CTRL]+[STOP] pressed. Depending on your emulator, it's [CTRL]+[SOMEKEY]. On openMSX, [SOMEKEY] is [F8]. Then you can do a simple LIST and edit whatever you like. After that, type SAVE "AUTOEXEC.BAS" and reset your emulated MSX!
|
|
AuroraMSX
 msx master Posts: 1205 | Posted: March 29 2008, 11:05   |
Or start the emulator without disk image and only after the MSX has booted, 'insert' the disk image...
|
|
cichlasoma.n msx novice Posts: 18 | Posted: March 29 2008, 13:07   |
hi. thanks again, unfortunetally, i cannot fathom how to edit the "autoexec.bat" file. using the ctrl+F8 trick in openMSX, i get int MSX DOS and have no idea how to edit a file, i can just get a list of them using rhe "dir" command.
when i insert the dsk image first after having started msx system in blueMSX, i get into basic, i can get the list of files using "files" command. iīd like to load & list the autoexec.bat, but load"autoexec.bat" returns "direct statement in file". i need an idiotīs guide to msx basic / msx dos...  |
|
[D-Tail]
 msx guru Posts: 2891 | Posted: March 29 2008, 13:38   |
Heh, AUTOEXEC.BAT is the MSX-DOS way of booting a disk. Aight, you're in DOS, and interrupted DP from booting by the [CTRL]+[F8] thing. Then do TYPE AUTOEXEC.BAT and tell me what you get there. Most likely, it says something along these lines:
- BASIC AUTOEXEC.BAS
- BASIC DP.BAS
- DP.COM
If the contents are comparable to the first or second one, type "BASIC" and when you're in BASIC, type LOAD "<thing>.BAS", where <thing> represents the name found in the AUTOEXEC.BAT file. Edit as desired and then SAVE "<thing>.BAS", reset your MSX.
If the contents are comparable to the third one, it's getting a bit more complicated. Whilst being in DOS, type the following:
COPY CON AUTOEXEC.BAT
BASIC STUFF.BAS
^Z <-- This actually means you have to type [CTRL]+[Z] to save AUTOEXEC.BAT
Next, go to BASIC, by typing BASIC. Type that listing you want to have run. The last line should be:
20 _SYSTEM("DP.COM" 
Then, SAVE "STUFF.BAS". The _SYSTEM("DP.COM"  will cause the program to go to DOS again, and boot DP.COM. Depending on your DOS version this either works or it doesn't. If it doesn't, you'll still be in DOS but instead the prompt A> is displayed. Just type DP.COM and you'll be fine. |
|
cichlasoma.n msx novice Posts: 18 | Posted: March 29 2008, 15:13   |
thanks you a lot.
after TYPE AUTOEXEC.BAT i got just "DP".
then, everything went as it should. yet, being in BASIC, i didnīt know, how to follow your instruction "Type that listing you want to have run."  |
|
cichlasoma.n msx novice Posts: 18 | Posted: March 29 2008, 15:51   |
sorry. i believe, iīve understood, what you meant, but i keep getting syntax errors in basic, and i cannot help myself even using MSX BASIC original manual, thank a lot for all your support, yet i believe, this task is too ambitious for me at the moment.  |
|
[D-Tail]
 msx guru Posts: 2891 | Posted: March 29 2008, 16:03   |
cichlasoma.n: The DP command in the AUTOEXEC.BAT file will fire up DP.COM or DP.BAT. So what you do now, is altering that AUTOEXEC.BAT so that it reads "BASIC STUFF.BAS". Then in STUFF.BAS, you can type the program listing e.g. FiXato posted, the one with the POKE and which alters the CPU mode of the turboR as well. End that listing with _SYSTEM. Run it, and from there, just type DP or DP.COM.
There's nothing ambitious about this, it's just following the guide. In BASIC, your computer should say something about the BASIC version, Disk BASIC version, etc. and end with an "Ok" prompt. From there, just type the program listing:
1 DATA 3E,81 ,....
...
20 _SYSTEM("DP" 
SAVE "STUFF.BAS"
RUN
Good luck in any case  |
|
[D-Tail]
 msx guru Posts: 2891 | Posted: March 29 2008, 16:06   |
Oh, by the way, you should read the  in the listings as " ) (So that is a double quote followed by a closing bracket.) This website magically turns them into a winking smile whenever encountered. |
|
cichlasoma.n msx novice Posts: 18 | Posted: March 29 2008, 16:39   |
the problem is with the _SYSTEM command in BASIC. it keeps returning "syntax error". BASIC in my MSX simply doesnīt accept a
_SYSTEM command followed by a file name in double quotes and brackets.  |
|
Jipe msx freak Posts: 141 | Posted: March 29 2008, 17:02   |
on dos 1 _SYSTEM work only if MSXDOS is loaded before go to BASIC but on dos 2 _SYSTEM ("prog" ) work
|
|
NYYRIKKI msx master Posts: 1463 | Posted: March 29 2008, 17:03   |
CALL SYSTEM accepts parameters only in MSX-DOS2
|
|
cichlasoma.n msx novice Posts: 18 | Posted: March 29 2008, 21:41   |
ok. tkanks to all once more. iīve got a dsk image of a french version working without problems. yet, it came out, it doesnīt support footnotes.  |
|
[D-Tail]
 msx guru Posts: 2891 | Posted: March 30 2008, 04:35   |
Argh, all that effort!
Anyway, I guess a proper word processor is hard to find on MSX. Unless of course, you'd get your hands on Tasword or Ted. But those are more like plain-text processors anyway and don't support automatic footnotes, nor headings. I did use Tasword in the old days though to hand in 'reports' while I was still in elementary school, and I believe I even did some when I was in high school. |
|
|
|
|