Where did the program execute from? (Development Foros MSX)MSX Resource Center            
                       
English Nederlands Espa�ol Portugu�s Russian                  
 Noticias
   Página principal
  Almacén de noticias
  Temas de noticias

 Recursos
   Foros MSX
  Artículos
  Analisis
  Informe de ferias/RUs
  Álbum de fotos
  Ferias y encuentros
  Encuestas
  Enlaces
  Buscar

 Software
   Descargas
  Tienda Online

 MRC
   Quiénes somos
  Únete a nuestro equipo
  Donar
  Políticas
  Contacta con nosotros
  Enlázanos
  Estadísticas

 Buscar
 
  

  

 Login
 

Login

Contraseña




¿Aún no tienes una cuenta? ¡Conviértete en miembro del MSX Resource Center! ¡Únete a nosotros!.


 Estadísticas
 

Hay 47 invitados y 3 miembros en línea

Eres un usuario anónimo.
 

Foros MSX


Foros MSX

Development - Where did the program execute from?

Autor

Where did the program execute from?

BiFi
msx guru
Mensajes: 3142
Publicado: Febrero 01 2005, 15:15   
In MSX-DOS2 you have a nifty environment string called PROGRAM where the program being executed from COMMAND2.COM is located in full pathspec.

I'd like to set up something similar for MSX-DOS1. Using openMSX I found a couple of addresses where the location of the program being executed from COMMAND.COM but the problem is these addresses may differ with 1 or 2 drives (also boot with CTRL pressed) and multiple disk interfaces.

Is there are way to get this info in a trustful manner? And if so, how?
 
 







(c) 1994 - 2008 Fundación MSX Resource Center. MSX es una marca registrada de MSX Licensing Corporation