Tr-Dos functions

ZXNet echo conference «code.zx»

From Alexandr Filippov To All 28 June 2002

Hello everyone! Here the problem arose when using function #0E (file upload), loading does not always occur :(((. The reason is not clear, under the emylem you can see that it is not PZY banks are always switched (DOS does not turn on). What's interesting is after the first download and compilation of the loader, it loads everything, but after resetting and re-compilation stops downloading. If you read the directory from Alasm again works. Attempts to use functions 01 and #18 did not lead to anything. From available sources (a couple of zx-reviews), found out that to download the file it is used tr-dos buffer, but I don’t know how to initialize it or move it somewhere. In general, you need information about the dos, what’s funniest is the function of downloading a file using it number and sector group readings work without problems. P.S. Thank you in advance for any assistance provided. Alexander

From Kirill Frolov To Alexandr Filippov 2 July 2002

Press RESET immediately, Alexandr! 28 Jun 02 18:47, Alexandr Filippov wrote to All: AF> This is where the problem arose when using function #0E(loading AF> file), loading does not always occur :(((. The reason is unclear, under There the download address is set in an unclear place and is buggy. It seems like there should be a download address in DE or HL and 0 in the accumulator or 3 in A and the address is taken from the catalog. Check with the doc. AF> emy shows that the switching of memory banks does not always occur (dos not AF> is enabled). Throw away this emulsion. AF> I found out that the tr-dos buffer is used to download the file, but how does it AF> initialize or move somewhere or I don’t know. It is initialized and installed in the program memory area BASIC If there is no memory there (CLEAR is too low), then there will be an error. Do this: #01, #18 when changing disk, #xx (I don’t remember) to read 16-bytes file information from the catalog and download through function 5 in blocks of no more than 16kb. I can give you a "TR-DOS disassembler" - tell me by e-mail, I'm too lazy to use t-mail. spread!

From Valerij Kozhevnikoff To Alexandr Filippov 6 July 2002

Hello, Alexandr! 28 Jun 02 18:47, Alexandr Filippov -> All: AF> This is where the problem arose when using function #0E (file upload), AF> loading does not always occur :(((. The reason is unclear, you can see under the emy AF> PZ banks are not always switched (DOS does not turn on). Emulsion is not an indicator. AF> What AF> interesting, after the first download and compilation of the loader, it still loads, but AF> after resetting and recompiling, it stops loading. Some of the variables are probably getting corrupted. AF> If from alasma AF> read directory works again. Attempts to use functions 01 and #18 AF> did not lead to anything. From available sources (a couple of zx-reviews), I found out that for AF> When loading a file, the tr-dos buffer is used, but how to initialize it or AF> reinstall somewhere or I don’t know. In general, we need information about the dosage, which is the most AF> funny function of loading a file by its number So? Try first “search by name”, then “download by number”. AF> and sector group readings work without problems. Hmm. Some kind of bullshit.Look at the Weclemans toy loader (version, which consists of several files), adaptation is one of the earliest, from 1992, where the files are loaded by name and always. WBR, Jason. /*e-mail: jason2000(scary dog)yandex.ru ICQ: 62235830*/ /np:/ *silence*