Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Benoit0123 Newsgroups: comp.sys.apple2.programmer Subject: Different prerequisites for ProDOS 8 MLI API Date: Mon, 6 Feb 2017 13:43:12 -0000 (UTC) Organization: Mac GUI Lines: 39 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 6 Feb 2017 13:43:12 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="ea4498e6ac631998fb275be5bb422693"; logging-data="12451"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+8bzvBJ3VxtY+7iGcdqNhJ" User-Agent: Mac GUI Usenet Cancel-Lock: sha1:zb+QCzNOCdROTtMPPqfPZ8hZTQs= Xref: csiph.com comp.sys.apple2.programmer:3257 Hi all, I am in the process of developing a ProDOS 8 utility, and am getting getting some weird results in some cases. I got a look at two reference manuals available online, that is: The ProDOS 8 TRM, and Beneath Apple ProDOS by Don Worth and Peter Lechner. The requirement being on the io_buffer address that should be passed to the OPEN MLI call. The PRM states that the io_buffer address should point to a non allocated 1024 bytes buffer beginning at a page address ("$XY00" address) The Beneath Apple ProDOS states that the io_buffer address should point to a page with the same properties as stated above but in addition that the page number be *even* (I understand: divisible by 2). One block for the index data storage, and the other block for the data storage itself. For the time being the buffer setup start @ address $B900 and ends @ address $BCFF and I am getting some weird result but not always. My asking is: do you know from your experience if the requirement that the page # for specifying the buffer begin be even is a valid requirement or not. The buffers setup by BI (BASIC.SYSTEM) start @ adress $9600, $9200, ... so are always compliant with the stricter constraints quoted above. Thank your for any information on this, Anyway tonight I will reorganize my code and give it a try once I am back @ home. Regards, BenoƮt -- Growing old is mandatory.. growing up is optional.. But the other way round is as true.