PDA

Просмотр полной версии : TRD <-> MB02+ copy



hood
03.05.2010, 11:56
Здрацствуйте, я попитаюс по русскому, но английский текст лучший.

я хочу сделать копировчик между трдос рамдиском и нашим дисководом МБ02+ (да, у нас ест http://velesoft.speccy.cz/profi.htm ВЕЛЕСОФТОВ ПРОФИ ИНТЕРФАЦЕ (http://velesoft.speccy.cz/profi.htm)с 1МБ РАМ и 512КБ РОМ). Наш систем МБ02+ имеет длину файла болшее 1МБ. Но что вы думаете, имеет смысл копироват на трд рамдиск и файлы болшее 65КБ? ест много програмов, которые раборают с файламы болшими как 65КБ? И как ето универсално провести?

Спасибо за отвебты

Hood




Hi guys,

thanks to http://velesoft.speccy.cz/profi.htmVelesoft's PROFI INTERFACE (extra 1MB of RAM, 512KB

ROM, programmable CPLD) we can run trdos ramdisks on our machines. As we use different disk system (which is MB02+), I already made some export/import program of TRD/SCL files between trdos ramdisk and MB02+ disk system.

Now, I want to extend this program and make a copier in both directions. Files < than 65K is no problem. But on MB02+ we can have files over 1MB of length. My question is if you think it is necessary to support also longer files than 65K and copy them on the TRD image into the ramdisk? I do not know the applications which are using long files. Are there many of them? What about for example JPG viewer?


If it is better also to support long files, how should it be done? To copy only sectors without writing into a directory? Or sectors with writing to directory?


What is your opinion about that?


Thanks a lot

Hood

jerri
03.05.2010, 16:09
trdos filesize limit - 64kb
when you copy file to trdos disk you must cut longer file to short chunks
and save it with index number in extension
this is most populaized standart

like this
Filename.txt 255 sectors
Filename.0xt 255 sec
Filename.1xt 2 sec

hood
03.05.2010, 16:58
trdos filesize limit - 64kb
when you copy file to trdos disk you must cut longer file to short chunks
and save it with index number in extension
this is most populaized standart

like this
Filename.txt 255 sectors
Filename.0xt 255 sec
Filename.1xt 2 sec

Thanks Jerri,

this is a good way, how to solve the problem with longer files.

tell me, I am looking into TRD format specification, where can I store two other characters for the extension? (like FILENAME.TXT.......where on the TRD image can I store this "XT" characters?)

Hood

SoftLight
03.05.2010, 21:06
hood, well, I think you can use Start Addr. from file descriptor for 'xt' coding