Par gdx
Enlighted (6429)
10-12-2021, 11:03
Hello,
I looking for to do the same thing as the BASIC command in assembler to back to the BASIC environment from DOS1.
Is there a solution to do this?
Par aoineko
Paragon (1136)
10-12-2021, 14:00
If you can find here the BASIC routine is into the command.com file in RAM, maybe you call it from your program? (just a guess)
10-12-2021, 14:23
In fact, I would just like to set into BASIC environment, I don't need to run a program file in BASIC. I would like to know if there is a standard way of doing it.
I try that program below but it doesn't work well.
ld a,(EXPTBL) ld h,40h call ENASLT ld a,(EXPTBL) ld h,00h call ENASLT jp 0409Bh
Par zeilemaker54
Champion (355)
10-12-2021, 17:53
BASENT should work:
ENASLT equ 0024H MASTER equ 0F348H BASENT equ 04022H
LD A,(MASTER) LD H,40H CALL ENASLT JP BASENT
10-12-2021, 18:24
https://www.msx.org/wiki/Disk-ROM_BIOS#4022H
10-12-2021, 20:15
unfortunately with a bad code example. The slotid of the master DOS kernel ROM should be taken from MASTER and not from the first entry of DRVINF
11-12-2021, 08:19
BASENT works like a charm. Thank you guys !
11-12-2021, 12:22
I have updated the WIKI
11-12-2021, 14:14
BASENT is called STBAS (cold STart BASic) in my docs.
12-12-2021, 13:50
I am curious about the source you are using for the name of the entry. I am refering to the name being used on the msxdos kit disk.
Don't you have an account yet? Become an MSX-friend and register an account!
Register now