I just discovered something really odd when testing my prototype cartridge on my real VIC - something I would never have found in an emulator
When a floppy drive is connected to the VIC and turned on...the reset button on the cartridge doesn't work. Turn off the drive, or disconnect the serial cable, and the reset button works again.
Plus, the reset button on the cartridge resets the drive if the VIC is powered off That doesn't make any sense to me, any ideas?
I have a 100 ohm resistor in series with the reset button as per Ray Carlsen's suggestion, for safety...could that be causing a problem? Too much load for the reset line to get pulled to ground maybe? Though this works on a C64, and I didn't think the serial and computer reset lines were connected.
Reset buttons and floppy drives
Moderator: Moderators
- Schema
- factor
- Posts: 1430
- Joined: Tue Mar 23, 2004 7:07 am
- Website: http://www.jammingsignal.com
- Location: Toronto, Ontario
I have my reset button plugged into the free serial port of the diskdrive...
/Anders
/Anders
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
There is also a reset pin on the user port, if you wish to compare how it works. Remember that the VIC resets or at least causes an initialization of the drive even when you power it off, unlike the 64 which only initializes the drive on power on. I don't know if that is part of the answer.
Anders Carlsson
- Schema
- factor
- Posts: 1430
- Joined: Tue Mar 23, 2004 7:07 am
- Website: http://www.jammingsignal.com
- Location: Toronto, Ontario
Mine doesn't do that, as far as I can tell.carlsson wrote:Remember that the VIC resets or at least causes an initialization of the drive even when you power it off, unlike the 64 which only initializes the drive on power on. I don't know if that is part of the answer.
Anyway, it seems the problem was the 100 ohm resistor. I removed it, and now the reset button works perfectly. It still works on the drives when the VIC is off, too.
This resistor would form a voltage divider with the total amount of pull-up on the reset line. (both the drive and the vic20) If the pull-up was equivalent to, say 1k you will get a 1/11 voltage division. If the pull-up is connected to 5V, which it is, the voltage of the reset line will then be ~450mV, which may, or may not, be to high to be detected as a valid 0 for certain chips.Schema wrote:Anyway, it seems the problem was the 100 ohm resistor. I removed it, and now the reset button works perfectly. It still works on the drives when the VIC is off, too.