<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wikiti.brandonw.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=83Plus%3ASoftware%3Ausb8x%2FAsm_Interface%2FPad%2FPadInit</id>
		<title>83Plus:Software:usb8x/Asm Interface/Pad/PadInit - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=83Plus%3ASoftware%3Ausb8x%2FAsm_Interface%2FPad%2FPadInit"/>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:Software:usb8x/Asm_Interface/Pad/PadInit&amp;action=history"/>
		<updated>2026-04-06T01:33:58Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.5</generator>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=83Plus:Software:usb8x/Asm_Interface/Pad/PadInit&amp;diff=5273&amp;oldid=prev</id>
		<title>Dan Englender at 01:39, 10 September 2006</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:Software:usb8x/Asm_Interface/Pad/PadInit&amp;diff=5273&amp;oldid=prev"/>
				<updated>2006-09-10T01:39:10Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Synopsis ==&lt;br /&gt;
'''Name:''' PadInit&lt;br /&gt;
&lt;br /&gt;
'''Minimum usb8x version:''' 0.11&lt;br /&gt;
&lt;br /&gt;
Initialize the gamepad driver and hardware&lt;br /&gt;
&lt;br /&gt;
=== Inputs ===&lt;br /&gt;
* HL: Address of buffer for gamepad driver's RAM storage&lt;br /&gt;
* DE: Address of temporary buffer for descriptors&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
* NC: Success&lt;br /&gt;
&lt;br /&gt;
=== Destroys ===&lt;br /&gt;
* AF, BC, DE, HL, IX&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
Initializes the USB host but assumes the USB driver has already been initialized with [[../../DriverInit|DriverInit]].  &lt;br /&gt;
&lt;br /&gt;
Use [[../PadVersion|PadVersion]] to find the exact amount of memory required for the gamepad driver's RAM, or just use 32 bytes as a safe static value.&lt;br /&gt;
&lt;br /&gt;
The callback you specified during U_CALL_INIT will be used if you're using the U_CALL system.  Otherwise specifiy the callback in register IX.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [[../PadSetup|PadSetup]] - Get offsets and masks for button mappings&lt;/div&gt;</summary>
		<author><name>Dan Englender</name></author>	</entry>

	</feed>