<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[esxDOS BBS — [SOLVED] Someone can do a .LOADBIN command for me? [SOLVED: .EXTRACT]]]></title>
	<link rel="self" href="https://board.esxdos.org/extern.php?action=feed&amp;tid=106&amp;type=atom" />
	<updated>2019-09-17T13:54:31Z</updated>
	<generator>PunBB</generator>
	<id>https://board.esxdos.org/viewtopic.php?id=106</id>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Someone can do a .LOADBIN command for me? [SOLVED: .EXTRACT]]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=1352#p1352" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Luzie wrote:</cite><blockquote><p>This: <br />zcc +zx -vn -startup=30 -clib=sdcc_iy -SO3 --max-allocs-per-node200000 --opt-code-size extract.c help-zx.asm -o extract -subtype=dot -create-app&nbsp; &nbsp; <br />hangs completely and doesn´t compile. -&gt; Update: It takes some more time, than I´ve waited before and rises<br />an error, see below...</p></blockquote></div><p>Tried to compile the included example extract.c v1.1<br />C:\z88dk\libsrc\_DEVELOPMENT\EXAMPLES\zx\dot-command\extract\extract.c<br />with latest Win32 nightly build (20190916):</p><p>C:\z88dk\libsrc\_DEVELOPMENT\EXAMPLES\zx\dot-command\extract&gt;zcc +zx -vn -startup=30 -clib=sdcc_iy -SO3 --max-allocs-per-node200000 --opt-code-size extract.c help-zx.asm -o extract -subtype=dot -create-app<br />Error at file &#039;c:/z88dk/lib/../libsrc/_DEVELOPMENT/target/zx/crt_cmdline_esxdos_argv.inc&#039; line 34: symbol &#039;__SYS_IY&#039; not defined<br />Errors in source file c:\z88dk\lib\config\..\..\\libsrc\_DEVELOPMENT\target\zx\zx_crt.asm:<br />Error at file &#039;c:/z88dk/lib/../libsrc/_DEVELOPMENT/target/zx/crt_cmdline_esxdos_argv.inc&#039; line 34: symbol &#039;__SYS_IY&#039; not defined<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^ ----&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ld iy,__SYS_IY<br />-&gt; no compiled extract was build.</p><p>Also when trying to write something to memory with option -m like:<br />.extract filename.bin +0 6912 -m 16384<br />nothing is written into screen-memory (16384). This has worked in older executable versions of .extract that I have.</p>]]></content>
			<author>
				<name><![CDATA[Luzie]]></name>
				<uri>https://board.esxdos.org/profile.php?id=157</uri>
			</author>
			<updated>2019-09-17T13:54:31Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=1352#p1352</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Someone can do a .LOADBIN command for me? [SOLVED: .EXTRACT]]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=1351#p1351" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Luzie wrote:</cite><blockquote><div class="quotebox"><cite>Alcoholics Anonymous wrote:</cite><blockquote><p>So I&#039;ve done a quick rebuild without that to see if it works:<br /><a href="https://drive.google.com/file/d/0B6XhJJ33xpOWb1U2cWJNYUZjVkk/view?usp=sharing">https://drive.google.com/file/d/0B6XhJJ … sp=sharing</a></p></blockquote></div><p>Dear Alvin,</p><p>I´ve tried to compile this for myself (Standard Spectrum Version +zx yet only) with Z88DK Nightly Build Win32 from 2019-09-10.</p><p>Tried compiling with the two commandlines I found in extract.c:</p><p>This: <br />zcc +zx -vn -startup=30 -clib=sdcc_iy -SO3 --max-allocs-per-node200000 --opt-code-size extract.c help-zx.asm -o extract -subtype=dot -create-app&nbsp; &nbsp; <br />hangs completely and doesn´t compile. -&gt; Update: It takes some more time, than I´ve waited before and rises<br />an error, see below...</p><p>And this: <br />zcc +zx -vn -startup=30 -clib=new extract.c help-zx.asm -o extract -subtype=dot -create-app<br />rises this warnings while compiling:</p><p>C:\z88dk&gt;zcc +zx -vn -startup=30 -clib=new extract.c help-zx.asm -o extract -subtype=dot -create-app<br />sccz80:&quot;extract.c&quot; L:51 Warning:Assigning &#039;v&#039;, type: unsigned char *v from char *fmt* [-Wincompatible-pointer-types]<br />sccz80:&quot;extract.c&quot; L:59 Warning:Assigning &#039;p&#039;, type: char *p from unsigned char * [-Wincompatible-pointer-types]<br />sccz80:&quot;extract.c&quot; L:204 Warning:Assigning &#039;outname&#039;, type: unsigned char *outname from char * [-Wincompatible-pointer-types]<br />sccz80:&quot;extract.c&quot; L:266 Warning:Assigning &#039;inname&#039;, type: unsigned char *inname from char * [-Wincompatible-pointer-types]<br />sccz80:&quot;extract.c&quot; L:330 Warning:Loss of precision, converting unsigned long&nbsp; to unsigned int nbytes [-Wconversion]</p><p>and the compiled extract is of other size (7046 Bytes) than the one you have in the package (6510/6901/6922 or 6947 Bytes).</p><p>The one I compiled show help, when started without parameters, but on putting an image-name to the .extract commandline<br />it shows hieroglyphics.</p><p>...maybe I must change my windows compiling environment like written here: <br /><a href="https://www.z88dk.org/forum/viewtopic.php?id=9836">https://www.z88dk.org/forum/viewtopic.php?id=9836</a><br /><a href="https://github.com/z88dk/z88dk/wiki/libsrc">https://github.com/z88dk/z88dk/wiki/libsrc</a><br /><a href="https://github.com/z88dk/z88dk/issues/1103">https://github.com/z88dk/z88dk/issues/1103</a></p><p>And have to work throught the examples which come with Z88DKand try to compile them myself...</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[Luzie]]></name>
				<uri>https://board.esxdos.org/profile.php?id=157</uri>
			</author>
			<updated>2019-09-17T13:51:41Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=1351#p1351</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Someone can do a .LOADBIN command for me? [SOLVED: .EXTRACT]]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=1346#p1346" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alcoholics Anonymous wrote:</cite><blockquote><p>So I&#039;ve done a quick rebuild without that to see if it works:<br /><a href="https://drive.google.com/file/d/0B6XhJJ33xpOWb1U2cWJNYUZjVkk/view?usp=sharing">https://drive.google.com/file/d/0B6XhJJ … sp=sharing</a></p></blockquote></div><p>Dear Alvin,</p><p>I´ve tried to compile this for myself (Standard Spectrum Version +zx yet only) with Z88DK Nightly Build Win32 from 2019-09-10.</p><p>Tried compiling with the two commandlines I found in extract.c:</p><p>This: <br />zcc +zx -vn -startup=30 -clib=sdcc_iy -SO3 --max-allocs-per-node200000 --opt-code-size extract.c help-zx.asm -o extract -subtype=dot -create-app&nbsp; &nbsp; <br />hangs completely and doesn´t compile.</p><p>And this: <br />zcc +zx -vn -startup=30 -clib=new extract.c help-zx.asm -o extract -subtype=dot -create-app<br />rises this warnings while compiling:</p><p>C:\z88dk&gt;zcc +zx -vn -startup=30 -clib=new extract.c help-zx.asm -o extract -subtype=dot -create-app<br />sccz80:&quot;extract.c&quot; L:51 Warning:Assigning &#039;v&#039;, type: unsigned char *v from char *fmt* [-Wincompatible-pointer-types]<br />sccz80:&quot;extract.c&quot; L:59 Warning:Assigning &#039;p&#039;, type: char *p from unsigned char * [-Wincompatible-pointer-types]<br />sccz80:&quot;extract.c&quot; L:204 Warning:Assigning &#039;outname&#039;, type: unsigned char *outname from char * [-Wincompatible-pointer-types]<br />sccz80:&quot;extract.c&quot; L:266 Warning:Assigning &#039;inname&#039;, type: unsigned char *inname from char * [-Wincompatible-pointer-types]<br />sccz80:&quot;extract.c&quot; L:330 Warning:Loss of precision, converting unsigned long&nbsp; to unsigned int nbytes [-Wconversion]</p><p>and the compiled extract is of other size (7046 Bytes) than the one you have in the package (6510/6901/6922 or 6947 Bytes).</p><p>The one I compiled show help, when started without parameters, but on putting an image-name to the .extract commandline<br />it shows hieroglyphics.</p><p>...maybe I must change my windows compiling environment like written here: <br /><a href="https://www.z88dk.org/forum/viewtopic.php?id=9836">https://www.z88dk.org/forum/viewtopic.php?id=9836</a><br /><a href="https://github.com/z88dk/z88dk/wiki/libsrc">https://github.com/z88dk/z88dk/wiki/libsrc</a><br /><a href="https://github.com/z88dk/z88dk/issues/1103">https://github.com/z88dk/z88dk/issues/1103</a></p><p>And have to work throught the examples which come with Z88DKand try to compile them myself...</p>]]></content>
			<author>
				<name><![CDATA[Luzie]]></name>
				<uri>https://board.esxdos.org/profile.php?id=157</uri>
			</author>
			<updated>2019-09-16T16:05:43Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=1346#p1346</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Someone can do a .LOADBIN command for me? [SOLVED: .EXTRACT]]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=1336#p1336" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alcoholics Anonymous wrote:</cite><blockquote><p>So I&#039;ve done a quick rebuild without that to see if it works:<br /><a href="https://drive.google.com/file/d/0B6XhJJ33xpOWb1U2cWJNYUZjVkk/view?usp=sharing">https://drive.google.com/file/d/0B6XhJJ … sp=sharing</a></p></blockquote></div><p>Dear Alcoholics Anonymous,</p><p>I came back now for this after a long time. Have simple forgotten it. Now, when I try to download (not only list the files) from the above link, I get an redirection-error...</p><p>Update: Used Chrome instead of Firefox and managed to download the file OK.</p><p>Question: I want to develop a .DOT-command, say .trdinfo. This should read from a .TRD-Image Sector 9 from Track 0 which contains the Disk-Information like &quot;Number of Free Sectors&quot; on Offset 229 (as 2 Byte/Word) as can be seen on: <a href="http://www.zx-modules.de/fileformats/trdformat.html">http://www.zx-modules.de/fileformats/trdformat.html</a></p><p>This 256 Byte sized Sector 9 from Track 0 I want to read into memory e.g. from adress 50000 to get the values I want to know from there. I try my first steps with C and Z88DK. What do you recommend... trying to read it with Assembler TR-DOS ROM-Routines or using esxdos-Routines? I want to use it on real hardware (Spectrum with divMMC or divIDE and with my SpecNext board) and with Emulators like SpecEmu or ZEsarUX).</p><p>Another idea for me is &quot;for my first programming tries&quot; to take your .extract-sourcecode and use it with fixed input-values<br />equal to this: (offset +2304=Start of Sector 9 / Track 0):<br />.extract input.trd +2304 256 -m 50000<br />and then read the word-value from 50229+50230 to get the &quot;number of free sectors on the disk&quot;. With this hopefully I can do a .trdfree DOT-command:-)</p>]]></content>
			<author>
				<name><![CDATA[Luzie]]></name>
				<uri>https://board.esxdos.org/profile.php?id=157</uri>
			</author>
			<updated>2019-09-13T09:46:23Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=1336#p1336</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Someone can do a .LOADBIN command for me? [SOLVED: .EXTRACT]]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=499#p499" />
			<content type="html"><![CDATA[<p>Thanks Luzie.&nbsp; &quot;EXTRACT&quot; and &quot;EXTRACT2&quot; are the only ones updated to remove the rom call and it seems they now work - the others will still have the same problems.&nbsp; &quot;EXTRACT2&quot; is only different in that it also prints the error message to screen instead of relying on esxdos to print it in the lower part because this is being used on the Next for testing where the error messages are not currently printed by the system.</p><p>I&#039;ll have to update all the dot commands I&#039;ve written and I think I will make one more pass to improve them at the same time.</p><div class="quotebox"><blockquote><p>.EXTRACT &amp; .EXTRACT2 (both show &quot;extract v1.0 zx-next z88dk.org&quot;):<br />and<br />.EXZX &amp; .EXZXN: (First shows &quot;extract v1.0 spectrum z88dk.org&quot;, second shows: &quot;extract v1.0 zx-next z88dk.org&quot;):<br />all four EXTRACT-versions on divIDE Interface, esxDOS 0.8.5, Spectrum 128k +2 (Grey):<br />=============================================================<br />Crash still occurs as described above (if file to open is missing show File-Open-Error, next press of ENTER resets Spectrum)</p></blockquote></div><p>So the crash still occurs with EXTRACT but only with esxdos 0.8.5?&nbsp; There must be an api difference from 0.8.6 - the notes I have are for the latter I think.</p>]]></content>
			<author>
				<name><![CDATA[Alcoholics Anonymous]]></name>
				<uri>https://board.esxdos.org/profile.php?id=181</uri>
			</author>
			<updated>2017-10-25T02:18:20Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=499#p499</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Someone can do a .LOADBIN command for me? [SOLVED: .EXTRACT]]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=495#p495" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alcoholics Anonymous wrote:</cite><blockquote><p>Thanks Luzie.&nbsp; I found something:&nbsp; I am calling $1601 in the rom to make sure channel 2 is open for printing but that is not supported in the esxdos rom.&nbsp; I thought it was ok because it was working in emulation.</p><p>So I&#039;ve done a quick rebuild without that to see if it works:<br /><a href="https://drive.google.com/file/d/0B6XhJJ33xpOWb1U2cWJNYUZjVkk/view?usp=sharing">https://drive.google.com/file/d/0B6XhJJ … sp=sharing</a></p><p>Go to the extract subdirectory and use the plain &quot;EXTRACT&quot; file.&nbsp; This is a zx next compile so stay away from the -ml option which loads into the extra memory of the next.</p></blockquote></div><p>I tried all versions from the download:<br />23.10.2017&nbsp; 20:37&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;6.922 EXTRACT<br />25.09.2017&nbsp; 14:54&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;6.510 EXTRACT-ZX&nbsp; &nbsp; &nbsp; &nbsp;-&gt; I renamed this to: EXZX<br />25.09.2017&nbsp; 14:54&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;6.901 EXTRACT-ZXN&nbsp; &nbsp; &nbsp;-&gt; I renamed this to: EXZXN<br />24.10.2017&nbsp; 06:40&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;6.947 EXTRACT2</p><p>Results on real hardware:</p><p>.EXTRACT &amp; .EXTRACT2 (both show &quot;extract v1.0 zx-next z88dk.org&quot;):<br />divMMC Interface, esxDOS 0.8.6B4, Spectrum 128k +2 (Grey): Seems to work OK!<br />=========================================================<br />.EXZX &amp; .EXZXN: (First shows &quot;extract v1.0 spectrum z88dk.org&quot;, second shows: &quot;extract v1.0 zx-next z88dk.org&quot;):<br />divMMC Interface, esxDOS 0.8.6B4, Spectrum 128k +2 (Grey): Crashes/Resets Spectrum directly after sending .EXTRACT</p><p>.EXTRACT &amp; .EXTRACT2 (both show &quot;extract v1.0 zx-next z88dk.org&quot;):<br />and<br />.EXZX &amp; .EXZXN: (First shows &quot;extract v1.0 spectrum z88dk.org&quot;, second shows: &quot;extract v1.0 zx-next z88dk.org&quot;):<br />all four EXTRACT-versions on divIDE Interface, esxDOS 0.8.5, Spectrum 128k +2 (Grey):<br />=============================================================<br />Crash still occurs as described above (if file to open is missing show File-Open-Error, next press of ENTER resets Spectrum)</p><p>Please update version number with each change, this will be lots easier to handle :-)</p>]]></content>
			<author>
				<name><![CDATA[Luzie]]></name>
				<uri>https://board.esxdos.org/profile.php?id=157</uri>
			</author>
			<updated>2017-10-24T16:25:57Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=495#p495</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Someone can do a .LOADBIN command for me? [SOLVED: .EXTRACT]]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=494#p494" />
			<content type="html"><![CDATA[<p>Thanks Luzie.&nbsp; I found something:&nbsp; I am calling $1601 in the rom to make sure channel 2 is open for printing but that is not supported in the esxdos rom.&nbsp; I thought it was ok because it was working in emulation.</p><p>So I&#039;ve done a quick rebuild without that to see if it works:<br /><a href="https://drive.google.com/file/d/0B6XhJJ33xpOWb1U2cWJNYUZjVkk/view?usp=sharing">https://drive.google.com/file/d/0B6XhJJ … sp=sharing</a></p><p>Go to the extract subdirectory and use the plain &quot;EXTRACT&quot; file.&nbsp; This is a zx next compile so stay away from the -ml option which loads into the extra memory of the next.</p>]]></content>
			<author>
				<name><![CDATA[Alcoholics Anonymous]]></name>
				<uri>https://board.esxdos.org/profile.php?id=181</uri>
			</author>
			<updated>2017-10-24T12:38:48Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=494#p494</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Someone can do a .LOADBIN command for me? [SOLVED: .EXTRACT]]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=487#p487" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alcoholics Anonymous wrote:</cite><blockquote><div class="quotebox"><cite>Luzie wrote:</cite><blockquote><div class="quotebox"><cite>Luzie wrote:</cite><blockquote><p>One problem I discovered: If I run e.g. &quot;.EXTRACT 1234&quot; and file 1234 don´t exist, .EXTRACT displays &quot;5: Can´t open input file 1234, 0:1&quot; and then .EXTRACT crashes/resets Spectrum or on other tries it directly crashes/resets Spectrum.</p></blockquote></div><p>which I get under ZEsarUX with divMMC esxDOS 0.8.5, Spectrum 48k?</p></blockquote></div><p>Unfortunately I can&#039;t seem to persuade zesarux to emulate divmmc on a 48k spectrum.&nbsp; I&#039;ll have to keep trying.<br />Does the crash still occur?&nbsp; I think all problems were related to binary size and that&#039;s been reduced now.</p></blockquote></div><p>Now I found some minutes to test on real hardware: </p><p>divIDE Interface, esxDOS 0.8.5, Spectrum 128k (Toastrack): Crash still occurs as described above (if file to open is missing)<br />divIDE Interface, esxDOS 0.8.5, Spectrum 128k +2 (Grey): Crash still occurs as described above (if file to open is missing)</p><p>divMMC Interface, esxDOS 0.8.6B4, Spectrum 128k (Toastrack): Crashes/Resets Spectrum directly after sending .EXTRACT<br />divMMC Interface, esxDOS 0.8.6B4, Spectrum 128k +2 (Grey): Crashes/Resets Spectrum directly after sending .EXTRACT</p>]]></content>
			<author>
				<name><![CDATA[Luzie]]></name>
				<uri>https://board.esxdos.org/profile.php?id=157</uri>
			</author>
			<updated>2017-10-20T20:30:54Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=487#p487</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Someone can do a .LOADBIN command for me? [SOLVED: .EXTRACT]]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=473#p473" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Luzie wrote:</cite><blockquote><div class="quotebox"><cite>Luzie wrote:</cite><blockquote><p>One problem I discovered: If I run e.g. &quot;.EXTRACT 1234&quot; and file 1234 don´t exist, .EXTRACT displays &quot;5: Can´t open input file 1234, 0:1&quot; and then .EXTRACT crashes/resets Spectrum or on other tries it directly crashes/resets Spectrum.</p></blockquote></div><p>which I get under ZEsarUX with divMMC esxDOS 0.8.5, Spectrum 48k?</p></blockquote></div><p>Unfortunately I can&#039;t seem to persuade zesarux to emulate divmmc on a 48k spectrum.&nbsp; I&#039;ll have to keep trying.<br />Does the crash still occur?&nbsp; I think all problems were related to binary size and that&#039;s been reduced now.</p>]]></content>
			<author>
				<name><![CDATA[Alcoholics Anonymous]]></name>
				<uri>https://board.esxdos.org/profile.php?id=181</uri>
			</author>
			<updated>2017-10-07T02:59:03Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=473#p473</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Someone can do a .LOADBIN command for me? [SOLVED: .EXTRACT]]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=457#p457" />
			<content type="html"><![CDATA[<p>Sorry, had not yet found time to test .EXTRACT v1.0 further / on real hardware.</p><p>But maybe we can focus to look at this problem:</p><div class="quotebox"><cite>Luzie wrote:</cite><blockquote><p>One problem I discovered: If I run e.g. &quot;.EXTRACT 1234&quot; and file 1234 don´t exist, .EXTRACT displays &quot;5: Can´t open input file 1234, 0:1&quot; and then .EXTRACT crashes/resets Spectrum or on other tries it directly crashes/resets Spectrum.</p></blockquote></div><p>which I get under ZEsarUX with divMMC esxDOS 0.8.5, Spectrum 48k?</p>]]></content>
			<author>
				<name><![CDATA[Luzie]]></name>
				<uri>https://board.esxdos.org/profile.php?id=157</uri>
			</author>
			<updated>2017-10-04T19:15:57Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=457#p457</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Someone can do a .LOADBIN command for me? [SOLVED: .EXTRACT]]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=421#p421" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alcoholics Anonymous wrote:</cite><blockquote><p>Hi Luzie,</p><p>I got around to updating the zip.&nbsp; Look inside the extract folder:<br /><a href="https://drive.google.com/file/d/0B6XhJJ33xpOWb1U2cWJNYUZjVkk/view?usp=sharing">https://drive.google.com/file/d/0B6XhJJ … sp=sharing</a></p></blockquote></div><p>Hi, thank you very much! I´ll test this .EXTRACT v1.0 and write back with the results I get.</p>]]></content>
			<author>
				<name><![CDATA[Luzie]]></name>
				<uri>https://board.esxdos.org/profile.php?id=157</uri>
			</author>
			<updated>2017-09-25T21:18:04Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=421#p421</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Someone can do a .LOADBIN command for me? [SOLVED: .EXTRACT]]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=414#p414" />
			<content type="html"><![CDATA[<p>Hi Luzie,</p><p>I got around to updating the zip.&nbsp; Look inside the extract folder:<br /><a href="https://drive.google.com/file/d/0B6XhJJ33xpOWb1U2cWJNYUZjVkk/view?usp=sharing">https://drive.google.com/file/d/0B6XhJJ … sp=sharing</a></p><p>The readme:</p><div class="codebox"><pre><code>Copy EXTRACT to BIN directory on sd card

At the basic prompt &quot;.extract&quot; will print help.

Read information under input and output to
understand how data is gathered from the input
file and written to the output file.

If there is no output file specified and there
is no destination memory address specified,
a hexdump will be printed to screen.  You
can specify -m and either -o or -a at the same
time.  -f allows existing files to be overwritten
when combined with -o.  An unspecified len for
the input will normally imply &quot;to the end of file&quot;.

EXAMPLES:

1. Display stored screen from an sna file:

.extract knight.sna +27 6912 -m 0x4000

2. Have a look at the sna header as a hexdump:

.extract knight.sna 27

3. Copy the last 1024 bytes of a file to another file:

.extract knight.sna -1024 -o knight.bin

Again:

.extract knight.sna -1024 -o knight.bin

should fail.

This allows overwrite and should succeed:

.extract knight.sna -1024 -f -o knight.bin

4. Append file to another one.

.extract knight.sna -a foo.bin

Again:

.extract knight.sna -a foo.bin

should result in foo.bin being twice the size of knight.sna</code></pre></div><p>A zx-next specific version will be added soon that adds a &quot;-ml&quot; option to load into the next&#039;s 208 8k pages.</p>]]></content>
			<author>
				<name><![CDATA[Alcoholics Anonymous]]></name>
				<uri>https://board.esxdos.org/profile.php?id=181</uri>
			</author>
			<updated>2017-09-24T23:46:28Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=414#p414</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Someone can do a .LOADBIN command for me? [SOLVED: .EXTRACT]]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=386#p386" />
			<content type="html"><![CDATA[<p>Thanks for testing Luzie.</p><p>I don&#039;t get any crashes under emulation.&nbsp; I&#039;m running the latest released ZEsarUX binary on windows emulating TBBlue.&nbsp; It looks to be esxdos 0.8.6-divmmc.</p><p>I think it&#039;s very likely this is a memory size issue.&nbsp; The binary comes to 7419 bytes - I know about the limit but I&#039;m not sure where it is exactly so I keep pushing until it doesn&#039;t work under emulation.&nbsp; I haven&#039;t tried to reduce the size yet so I&#039;ll try that and we can see if that works.</p><p>For nmi.sys, it&#039;s probably better if he does the view screen as he&#039;s done.&nbsp; As a separate utility, extract will be much more useful and will have viewscr behaviour as a subset.</p>]]></content>
			<author>
				<name><![CDATA[Alcoholics Anonymous]]></name>
				<uri>https://board.esxdos.org/profile.php?id=181</uri>
			</author>
			<updated>2017-09-20T03:46:48Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=386#p386</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Someone can do a .LOADBIN command for me? [SOLVED: .EXTRACT]]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=380#p380" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alcoholics Anonymous wrote:</cite><blockquote><p>****&nbsp; I cannot test append because the emulators do not fully emulate esxdos.<br />Because I can only test on emulators, you should do some testing of your own to make sure things work.</p></blockquote></div><p>Thank you very much for your work. I need some additional information: <br />1) Which esxDOS version do you use? 0.85 or 0.86? I use e.g. 0.86Beta4 (=latest version here from this forum).<br />2) Which emulators do you use to test?<br />3) Which emulated machine do you try (128k or 48k Spectrum or TBBLUE?)</p><p>Yet my short tests give these results:<br />A) Emu SpecEmu with divIDE and esxDOS 0.86B4 (Speccy 48k or 128k) =&gt; .EXTRACT (without parameters) crashes/resets Spectrum<br />B) Hardware divMMC and esxDOS 0.86B4 (Speccy 48k) =&gt; .EXTRACT (without params) crashes/resets Spectrum<br />C) Emu ZEsarUX with divMMC and esxDOS 0.85 (Speccy 48k or 128k) =&gt; .EXTRACT shows help and when <br />e.g. tried: &quot;.EXTRACT LAYOUT.SCR 6144 -m 16384&quot; seems to work, but I have to try further.<br />One problem I discovered: If I run e.g. &quot;.EXTRACT 1234&quot; and file 1234 don´t exist, .EXTRACT displays &quot;5: Can´t open input file 1234, 0:1&quot; and then .EXTRACT crashes/resets Spectrum or on other tries it directly crashes/resets Spectrum.</p><p>Maybe an memory-issue? (You know about max 7k mem limitation for DOT-commands ?)</p><p>Could you please add display of a version number in Help-Text of .extract?</p><p>Update: I see in the C source of .EXTRACT that you maybe compile to &quot;Spectrum Next&quot; (+zxn)?, so I think you test with Emu ZEsarUX&nbsp; and MMC esxDOS 0.86-Image which is included in ZEsarUX? Here (as I´ve yet tested) .EXTRACT seem to run fine without Spectrum-Resets.</p><p>Could you eventually make a smaller version .VIEWSCR which just loads in first (max.) 6912 Bytes from a given filename (all extensions/formats) into Screenmemory from 16384 (without offset)? This can be used as addon for new NMI-Handler for viewing Screens: <a href="http://board.esxdos.org/viewtopic.php?id=94">http://board.esxdos.org/viewtopic.php?id=94</a><br />--&gt; Update: New NMI.SYS-Author seems to have implemented a View-Screen himself, so this is not needed anymore (only if you like).</p><p>Regards,</p><p>Luzie</p>]]></content>
			<author>
				<name><![CDATA[Luzie]]></name>
				<uri>https://board.esxdos.org/profile.php?id=157</uri>
			</author>
			<updated>2017-09-19T15:41:45Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=380#p380</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Someone can do a .LOADBIN command for me? [SOLVED: .EXTRACT]]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=379#p379" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alcoholics Anonymous wrote:</cite><blockquote><p>Ok I think I&#039;ve got it now.&nbsp; If a tape is mounted, then a plain LOAD/SAVE goes to the .tap file but if there is no tape mounted, then LOAD/SAVE goes to tape?</p></blockquote></div><p>Yes, but there are individual save/load slots - so you can load from real tape and save to .tap for instance.</p>]]></content>
			<author>
				<name><![CDATA[lordcoxis]]></name>
				<uri>https://board.esxdos.org/profile.php?id=2</uri>
			</author>
			<updated>2017-09-19T09:04:57Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=379#p379</id>
		</entry>
</feed>
