RAM-DISK is not some kind of RAM space that should be formatted in some special way to be a RAM-DISK. Its logical structure is very simple:
1. It is organized like a stack, so "virtual track 0" will be placed in the RAM page with the highest number, there will be placed tracks 1,2,3 too. For example, in Pentagon 1024 we have 64 RAM pages, then track 0 of RAM-DISK will be placed in page 63.
2. As I mentioned before, RAM-DISK is not a "special" structure in RAM pages, it is simple mapping of TR-DOS disk structure in RAM, in other words it is a per-sector copy of TR-DOS disk. So, if you will import standart TR-DOS disk (640Kb) into RAM-DISK you won`t corrupt "lower" RAM pages that won`t be occupied by some RAM-DISK data. Also you can configure its size by changing "FREE SECTORS" param in sector 8 of track 0.
In my version of TR-DOS for ZXM-Phoenix RAM-DISK is always placed in second megabyte, even if there are no second megabyte of RAMBut some bug(s) is(are) still there, that makes me angry...
May be I had too long break in asm programming for speccy...





But some bug(s) is(are) still there, that makes me angry...
May be I had too long break in asm programming for speccy...
Ответить с цитированием
