SymbOS MSX multitasking operating system - help needed! (Development MSX Fora)MSX Resource Center MSXdev 2008 - MSX1 development bonanza!           
            
English Nederlands Español Português Russian         
 Nieuws
   Voorpagina
  Nieuws archief
  Nieuws onderwerpen

 Informatie
   MSX Fora
  Artikelen
  Recensies
  Beursverslagen
  Fotoreportages
  Beurzen en meetings
  Enquêtes
  Links
  Zoek

 Software
   Downloads
  Webshop

 MRC
   Wie we zijn
  Kom bij ons team
  Doneren
  Policies
  Contact met het MRC
  Link naar Ons
  Statistieken

 Zoek
 
  

  

 Login
 

Gebruikersnaam

Wachtwoord




Ben je nog niet lid? Klik hier en word MSX vriend!


 Statistieken
 

Er zijn 105 gasten en 2 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Development - SymbOS MSX multitasking operating system - help needed!

Ga naar pagina ( Vorige pagina 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 Volgende pagina )
Schrijver

SymbOS MSX multitasking operating system - help needed!

flyguille
msx master
Berichten: 1182
Geplaatst: 02 Juni 2006, 02:46   
yes is another range, like daewo fdc, it uses IIRC 7BF8-7BFF and the bits of 7BFC has another meaning.
dvik
msx master
Berichten: 1302
Geplaatst: 02 Juni 2006, 04:18   
what do you write to address 0x7ffd? The motor on and off is bit 7 (think the note I wrote said bit 2).
dvik
msx master
Berichten: 1302
Geplaatst: 02 Juni 2006, 04:23   
I'm posting the note I sent to you earlier (fixed the wrong bit info). If someone find something else thats wrong, please comment on it :

Philips FDC:
------------
0x7ff8: R  Status
        W  Command
0x7ff9: RW Track
0x7ffa: RW Sector reg
0x7ffb: RW Data reg
0x7ffc: RW Side
0x7ffd: R  Drive
        W  Bit 0-1: Val=0: drive 0
                    val=1: drive 1 
                    val=2: drive 0 
                    val=3: none
           Bit 6:   Led on/off
           Bit 7:   Motor on/off
0x7ffe:
0x7fff: R  Bit 7=Data Request 
           Bit 6=IRQ


National FDC:
-------------
0x7f80:           R  Status
                  W  Command
0x7f81:           RW Track
0x7f82:           RW Sector reg
0x7f83:           RW Data reg
0x7f84 - 0x7f87:  R  Bit 7=IRQ
                     Bit 6=Data Request
                  W  Bit 0-1: Val=0: none
                              val=1: drive 0 
                              val=2: drive 1 
                              val=3: none
                     Bit 2:   Side
                     Bit 3:   Motor on/off

0x7f80-0x7f87 is mirrored to 0x7fff

SVI FDC:
--------
0x7fb8:  R  Status
         W  Command
0x7fb9:  RW Track
0x7fba:  RW Sector reg
0x7fbb:  RW Data reg
0x7fbc:  R  Bit 7=IRQ
            Bit 6=Data Request
         W  Bit 0-1: Val=0: no disk (?)
                     val=1: drive 0
                     val=2: drive 1 
                     val=3: no disk (?)
            Bit 2:   Side


Microsol FDC (I/O mapped):
--------------------------
0xd0:  R  Status
       W  Command
0xd1:  RW Track
0xd2:  RW Sector reg
0xd3:  RW Data reg
0xd4:  R  Bit 7=IRQ
          Bit 6=Data Request
       W  Bit 0-3: Val=1: drive 0
                   val=2: drive 1 
                   val=4: drive 2 
                   val=8: drive 3
                   other: none
          Bit 4:   Side
          Bit 5:   Motor on/off

NYYRIKKI
msx master
Berichten: 1499
Geplaatst: 02 Juni 2006, 12:32   
Quote:

Is there hardware available with rewriteable roms?


For example IDE interface can be flash upgraded. (Flash update utility and ROM:s are available in www.msx.ch)
manuel
msx guru
Berichten: 3368
Geplaatst: 02 Juni 2006, 16:00   
I think it would be a very bad idea to use checksums of ROMs. There are way too many diskROMs floating around and any change in any of them will break the mapping directly.
Prodatron
msx master
Berichten: 1088
Geplaatst: 02 Juni 2006, 18:08   
@Dvik: Thanx, but are you sure, that bit6 is the led? In BlueMSX the led is now always off. I wonder, if BlueMSX cares about, if the motor is on or off, when the FDD is been accessed.
I still didn't get the FDC routines working on my real MSX and I am not sure, if I already have the correct information. I think Flyguilles means, that it has the SVI FDC (#7fb8-...) or is it again another one? (@Flyguille, you wrote #7bf8-...?). Here I use bit3 of #7fbc to activate the motor.
Another question: When I am in the "machine editor" tool of BlueMSX and want to start the VG8235 I get the message "Emulator can't be started". Do I need some roms here?
flyguille
msx master
Berichten: 1182
Geplaatst: 02 Juni 2006, 18:44   
Prodatron, oh sorry I means 7fbx, and it is another, daewo 5 1/4 but don't worry about that one, it is useless anyway because there is no more 5 1/4 working disk but some few connected a 3 1/2 drive and go on!!!! formatting 1.44mb disk with 360kb images

* 7FBC(3)=1 MOTOR ON/OFF
* 7FBC(0)=1 A:
* 7FBC(1)=1 B:
* 7FBC(2)=x SIDE selector

* 7FBC(6)=1 BUSSY (for the wait loop)
* 7FBC(7)=1 EOF (stop reading/writing that means the 512bytes was done)

the other is just WD compatible

formats 360KB 5 1/4 40 tracks 9 sects 2 sides

to detects these units are EASY

just reading or writting
* 7FBE accs selects rom 1 (always diskrom)
* 7FBF accs selects rom 2 (always cp/m rom or nothing in the socket)

so, just reading these addr, and checking if the rom changes ... done


mars2000you
msx master
Berichten: 1723
Geplaatst: 02 Juni 2006, 19:20   
Quote:

Another question: When I am in the "machine editor" tool of BlueMSX and want to start the VG8235 I get the message "Emulator can't be started". Do I need some roms here?



blueMSX comes with the roms of all the generic machines; to run a specific machine, you need to download the complete configuration (including the specific roms) on the Resource page of the website and to unzip the file in the Machines subdirectory of blueMSX.
dvik
msx master
Berichten: 1302
Geplaatst: 02 Juni 2006, 19:28   
Prodatron, you're right, blueMSX doesn't care about the motor on/off.
Prodatron
msx master
Berichten: 1088
Geplaatst: 02 Juni 2006, 19:36   
Thanx to both of you, this already helps.
One question: Why is #7FBC needed for reading (busy, eof)?
These two bits should already be present in the status register (#7fb8), shouldn't they?
flyguille
msx master
Berichten: 1182
Geplaatst: 02 Juni 2006, 20:00   
Quote:

Thanx to both of you, this already helps.
One question: Why is #7FBC needed for reading (busy, eof)?
These two bits should already be present in the status register (#7fb8), shouldn't they?



yes, that info is correct, i thinks there is a redundancy, but using those bits is how does the diskrom

by the way, it is WD 1772 PH
Sonic_aka_T

msx guru
Berichten: 2261
Geplaatst: 02 Juni 2006, 20:08   
Quote:

I think it would be a very bad idea to use checksums of ROMs. There are way too many diskROMs floating around and any change in any of them will break the mapping directly.

First: define 'way too many'. Assuming you use a simple checksum you'd talk about maybe 2 or 4 bytes per ROM. For this to be anything remotely close to a 'problem' you'd have to talk about hundreds of disk ROMs, which as far as I know is nowhere near the actual number. You can of course poll the driver (which is what I suggested in case the checksum didn't match) but this requieres loading all the drivers and polling each of them to see if they report as expected. Apart from that, I wonder if it's possible to get a identifyable reponse from all these FDCs without causing disk-access to occur. If that is not possible, you'd have drive-access which is something you'd want to avoid. Anyhow, checking for the most common disk ROMs using a simple checksum and only polling drivers if that first check fails seems like the most logical method to me.
Prodatron
msx master
Berichten: 1088
Geplaatst: 02 Juni 2006, 20:34   
Thank you, flyguille! So I don't need to be afraid, that the bits in the normal status register are not working.
Regarding rom switching, is it also an usual feature of the disc roms? When I switch between diskrom and cp/m (or nothing), the ports at #7fbx are always available?
Prodatron
msx master
Berichten: 1088
Geplaatst: 02 Juni 2006, 20:37   
@Sonic_aka_T: Maybe there is a way to test the different FDCs without disc access. When switching of the motor and trying to execute a command, you should receive a "drive not ready" error. Maybe this is already enough for the detection. I am afraid, that making all the checksums can be a lot of work.
flyguille
msx master
Berichten: 1182
Geplaatst: 02 Juni 2006, 20:53   
Yes they are.

And no,i thinks it is not usual feature .

 
Ga naar pagina ( Vorige pagina 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 Volgende pagina )
 







(c) 1994 - 2008 Stichting MSX Resource Center. MSX is een trademark van MSX Licensing Corporation.