mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
swim: update IWM/ISM register block decoding
Update the IWM/ISM register block decoding to match the description given in the "SWIM Chip Users Reference". This allows us to validate the device response to the guest OS which currently only does just enough to indicate that the floppy drive is unavailable. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-ID: <20231004083806.757242-14-mark.cave-ayland@ilande.co.uk> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
5700420417
commit
994af0b2e0
3 changed files with 142 additions and 83 deletions
|
@ -50,13 +50,15 @@ struct SWIMCtrl {
|
|||
int mode;
|
||||
/* IWM mode */
|
||||
int iwm_switch;
|
||||
uint8_t iwmregs[16];
|
||||
uint8_t iwm_data;
|
||||
uint8_t iwm_mode;
|
||||
uint8_t iwm_latches;
|
||||
uint8_t iwmregs[8];
|
||||
/* SWIM mode */
|
||||
uint8_t ismregs[16];
|
||||
uint8_t swim_phase;
|
||||
uint8_t swim_mode;
|
||||
uint8_t swim_status;
|
||||
uint8_t pram[16];
|
||||
uint8_t pram_idx;
|
||||
SWIMBus bus;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue