Re: [hatari-devel] LED with empty floppy drives

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 04/05/2014 22:03, David Savinkoff a écrit :

I looked at the schematics and the M51017AP data sheet.
It appears that the LED is turned on by simply selecting
pin  5 -- Drive 0 Select and/or pin  6 -- Drive 1 Select
Thus, this is a TOS BUG.
Furthermore, all that Hatari needs to do is turn the LED
on or off for the respective floppy drive by checking
IO-A1 and IO-A2 on the YM2149 to select the floppy
drives.


This is already how it's done in Hatari since some times. See calls to Statusbar_SetFloppyLed in psg.c around lines 335

You should be able to turn the drive LEDs on and off
individually by writing to the YM2149.

With this information, someone Will (if they haven't already)
write a program to flash the floppy drive LEDs. Hatari must
be able to emulate this...---... ...---...

This was made loooonnng time ago, see for example the "Little Color Demo" by Tex in 1987 http://www.pouet.net/prod.php?which=14034 (only drive A is flashing in this case)





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/