SymbOS MSX multitasking operating system - help needed! (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 38 invitados y 4 miembros en línea

Eres un usuario anónimo.
 

Foros MSX


Foros MSX

Development - SymbOS MSX multitasking operating system - help needed!

Ir a la página ( Página anterior 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 Siguiente página )
Autor

SymbOS MSX multitasking operating system - help needed!

dvik
msx master
Mensajes: 1343
Publicado: Junio 29 2006, 22:39   
Its actually in the ini file although not very easy to find. Its the rom type that specifies what FDC controller to use. If you look in the machine editor under Tools, you'll get a better picture. If you look at for example the MSX2 National FS-5500 in the Memory tab, you'll find the FS5500DISK.rom and that the rom type is "National Disk Controller".

The port range for this controller is #7fc0 - #7fff, which are mirrored every 8 port.

I'm not sure about the LED though. I'll look into that.

To choose FDC, you simply use another rom mapper. But note that you most likely also need to change disk rom.
mars2000you
msx master
Mensajes: 1723
Publicado: Junio 29 2006, 22:39   
About the last question :

- if you add a disk rom to a machine without FDC, blueMSX uses his extended database to search for the FDC type and the checking is made by using sha1 values
- if you start a machine with FDC, the FDC type is indicated in the config.ini file of the concerned machine.

For example, for the National FS-5500, you can find this line in the config.ini file :

3 3 2 4 64 "Machines/MSX2 - National FS-5500/FS5500DISK.rom" ""

the 5th number (64) refers to the National FDC rom type

If you use the Machine editor, you can see that on a more visual way.
Prodatron
msx master
Mensajes: 1110
Publicado: Junio 29 2006, 22:46   
Ah, thanks, now I got it!
Is the list with the rom types/IDs (like 64=national disk controller) somewhere available?
mars2000you
msx master
Mensajes: 1723
Publicado: Junio 29 2006, 23:05   
Here's the list for the FDC rom types :

57 = TC8566AF
63 = Microsol
64 = MB8877A
65 = WD2793
67 = WD1793


Prodatron
msx master
Mensajes: 1110
Publicado: Junio 29 2006, 23:24   
Ok, this helps. Do you know, if there is a MSX2, which uses 67 (WD1793)? I couldn't find one yet.
mars2000you
msx master
Mensajes: 1723
Publicado: Junio 29 2006, 23:30   
No, only SVI-738. It's a MSX1 with the MSX2 VDP. Many fans have converted this machine to a real MSX2 and even a MSX2+, that's why the support of this FDC has some meaning.
jltursan
msx professional
Mensajes: 887
Publicado: Junio 30 2006, 00:18   
Most of them in Finland, were this machine was very popular....; well, and not only in this country, my own brother has two of them!
Algorythms
msx freak
Mensajes: 175
Publicado: Junio 30 2006, 00:42   
I have 7-8 of them, so I can surely do some testing on them
[D-Tail]
online

msx guru
Mensajes: 3020
Publicado: Junio 30 2006, 06:46   
Freak!
Prodatron
msx master
Mensajes: 1110
Publicado: Julio 02 2006, 18:08   
I am going to release another preview tonight.
Support of National FDC works at least in the emulator, but I wouldn't be surprised, if it doesn't work on a real machine because of timing problems and/or wrong motor on/off bits.
I still have problems with the microsol FDC implementation, maybe I set some bits (motor/side/drive selection) in the wrong way.
I also have no idea how to switch off the LED of the second philips disc drive. It only turns off, when I switch on the LED of the first disc drive. Very strange.

In any case I want to solve that later and concentrate on some other things. The new version has about 16K more memory free, so you have 52K available on a 128K machine
I will start with Toshiba FDC support soon, so that Panasonic users will be happy soon.
Patsie
msx freak
Mensajes: 191
Publicado: Julio 02 2006, 18:30   
Great news! I'm anxiously awaiting the new release. (does it also include saving the configuration?)
Sonic_aka_T

msx guru
Mensajes: 2269
Publicado: Julio 02 2006, 18:46   
Great news indeed! Really looks like things are coming together now. Guess it's time for all of us to start working on apps soon!
Prodatron
msx master
Mensajes: 1110
Publicado: Julio 02 2006, 21:18   
Quote:

does it also include saving the configuration?


ah, yes, that was what I forgot to ask. it works now, but I need to know one thing: how do I find out the drive letter, where a program was started from in Msx-Dos?

{mod: removed double post}
Sd-Snatcher
msx freak
Mensajes: 255
Publicado: Julio 02 2006, 23:04   
Quote:

Quote:

does it also include saving the configuration?


ah, yes, that was what I forgot to ask. it works now, but I need to know one thing: how do I find out the drive letter, where a program was started from in Msx-Dos?



from DOS2PROG.DOC


3.5 ENVIRONMENT STRINGS


MSX-DOS maintains a list of "environment strings" in it's data segment.
An environment string is a named item which has a value associated with it.
Both the name and the value are user-defined. Environment strings are
accessed at the function call level via the "Get Environment String"
(function 6BH), "Set Environment String" (function 6CH) and "Find Environment
String" (function 6DH) functions.

....

The PROGRAM environment string has several uses. The main use is that a
program can use it to load overlay files from the same directory as it was
loaded from. The last item in PROGRAM (ie. the actual program filename) is
replaced with the name of the overlay file, and then the new string can be
passed to any of the new MSX-DOS 2 functions that take ASCIIZ strings (such
as "Open File".

--------------------------------------

from DOS2FUNC.DOC

3.87 GET ENVIRONMENT ITEM (6BH)

Parameters: C = 6BH (_GENV)
HL = ASCIIZ name string
DE = Pointer to buffer for value
B = Size of buffer
Results: A = Error
DE = Preserved, buffer filled in if A=0



This function gets the current value of the environment item whose name is
passed in register HL. A ".IENV" error is returned if the name string is
invalid. If there is no environment item of that name then a null string will
be returned in the buffer. If there is an item of that name then its value
string will be copied to the buffer. If the buffer is too small then the
value string will be truncated with no terminating null and a ".ELONG" error
will be returned. A buffer 255 bytes will always be large enough since value
strings cannot be longer than this (including the terminating null).




3.88 SET ENVIRONMENT ITEM (6CH)

Parameters: C = 6CH (_SENV)
HL = ASCIIZ name string
DE = ASCIIZ value string
Results: A = Error



This function sets a new environment item. If the name string is invalid
then a ".IENV" error is returned, otherwise the value string is checked and a
".ELONG" error returned if it is longer than 255 characters, or a ".NORAM"
error if there is insufficient memory to store the new item. If all is well
then any old item of this name is deleted and the new item is added to the
beginning of the environment list. If the value string is null then the
environment item will be removed.












3.89 FIND ENVIRONMENT ITEM (6DH)

Parameters: C = 6DH (_FENV)
DE = Environment item number
HL = Pointer to buffer for name string
Results: A = Error
HL = Preserved, buffer filled in



This function is used to find out what environment items are currently
set. The item number in register DE identifies which item in the list is to
be found (the first item corresponds to DE=1). If there is an item number
<DE> then the name string of this item will be copied into the buffer pointed
to by HL. If the buffer is too small then the name will be truncated with no
terminating null, and a ".ELONG" error returned. A 255 byte buffer will never
be too small. If there is no item number <DE> then a null string will be
returned, since an item can never have a null name string.








Prodatron
msx master
Mensajes: 1110
Publicado: Julio 03 2006, 01:35   
Hi Sd-Snatcher, thanx for the infos. Should be a big help! I have to release it tomorrow, as one thing still makes problems.
Have a good night,
Prodatron
 
Ir a la página ( Página anterior 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 Siguiente página )
 







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