Arduino zero bootloader reset question


Trying to modify std bootloader for zero. I have a question with regards to the board reset. How does arduino ide cause reset into bootloader after sketch has started running. When you u upload a second sketch. Does it force dtr reset on usb? If so, is this connected a reset pin on zero? Is there any code related to this pin in bootloader code or not needed?

Does this help?