<?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%2FMSD%2FDOS_createDirectory</id>
		<title>83Plus:Software:usb8x/Asm Interface/MSD/DOS createDirectory - 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%2FMSD%2FDOS_createDirectory"/>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:Software:usb8x/Asm_Interface/MSD/DOS_createDirectory&amp;action=history"/>
		<updated>2026-04-06T10:53:04Z</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/MSD/DOS_createDirectory&amp;diff=5070&amp;oldid=prev</id>
		<title>Brandonw at 09:20, 17 August 2006</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:Software:usb8x/Asm_Interface/MSD/DOS_createDirectory&amp;diff=5070&amp;oldid=prev"/>
				<updated>2006-08-17T09:20:16Z</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:''' DOS_createDirectory&lt;br /&gt;
&lt;br /&gt;
'''Minimum usb8x version:''' 0.10&lt;br /&gt;
&lt;br /&gt;
Creates a new directory within specified directory.&lt;br /&gt;
&lt;br /&gt;
=== Inputs ===&lt;br /&gt;
* HL points to the starting cluster of the directory to create this directory in (obtained with [[../FAT_getStartingCluster|FAT_getStartingCluster]])&lt;br /&gt;
* DE points to an ASCIIZ string of the directory (ex. &amp;quot;folder2&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
* Empty directory is created&lt;br /&gt;
* HL contains starting cluster of this directory&lt;br /&gt;
* C set if problems&lt;br /&gt;
&lt;br /&gt;
=== Destroys ===&lt;br /&gt;
* AF, BC, DE, HL&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
The directory's created date/time attributes are set according to the 84+/SE clock.&lt;br /&gt;
Example code to create &amp;quot;folder2&amp;quot; inside &amp;quot;folder1&amp;quot; directory:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 ld hl,sDirectory&lt;br /&gt;
 U_CALL FAT_getStartingCluster&lt;br /&gt;
 ;HL contains starting cluster&lt;br /&gt;
 ld de,sNew&lt;br /&gt;
 U_CALL DOS_createDirectory&lt;br /&gt;
 ...&lt;br /&gt;
 sNew: DB &amp;quot;folder2&amp;quot;,0&lt;br /&gt;
 sDirectory: DB &amp;quot;/folder1&amp;quot;,0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [[../FAT_getStartingCluster|FAT_getStartingCluster]] - Get starting cluster of specified directory&lt;/div&gt;</summary>
		<author><name>Brandonw</name></author>	</entry>

	</feed>