FA123 transfer speed
#1
Posted 24 May 2003 - 11:45 PM
Little progress on file system surgery with Pascal
I wanna know why the AFX->PC transfer speed is much higher than PC->AFX with FA123.. I have WinNT4.0; port 1 baud is 9600 b/sec. I checked the previous posts but did not come across this subject. Thanx in advance.
#2
Posted 25 May 2003 - 06:25 AM
#3
Posted 25 May 2003 - 02:39 PM
#4
Posted 25 May 2003 - 02:59 PM
#5
Posted 25 May 2003 - 07:42 PM
I know for a while people were working on faster ways to upload to the flash memory, and I think there was some success there. Any chance of using the same methods for BASIC files?
#6
Posted 25 May 2003 - 09:27 PM
When recieving (or creating, or editing zones) RAM has to be reorganized to fit the new data. Say you're editing a basic file. when you add text to the file, the data after it in memory has to be pushed down to make room, this include both the later data in the current basic file and the data in any other zone.
If the recieving works by actively resizing the zone as more data comes in (rather than fixing the size to fit the data expected) this process could be rather slow
#7
Posted 25 May 2003 - 09:55 PM
This topic took me back to mid '80s, the years of 286 PC's. Hard drives were then too slow with Basic-Pascal programs, so we usually had to revert to inline assembly and use Int21H dos function calls. When inserting a certain amount of bytes in the middle of a file you needed a temporary file as a buffer to hold the rest of the main file, insert data, and backup from the buffer file to build up the edited file. Too many clock cycles for the poor 286's..
If the AFX uses a similar approach while rearranging existing files/zones, the 286 will be much slower than the PIII that is transmitting, but the reverse will not be true for a PIII while receiving.
#8
Posted 26 May 2003 - 11:23 AM
Why this huge difference?
#9
Posted 26 May 2003 - 11:38 AM
a lot of data if the program name begings e.g. with an A while on the
CFX the data seems not to be sorted at all and the program is only appended after the last one.
#10
Posted 26 May 2003 - 11:42 AM
#11
Posted 26 May 2003 - 11:53 AM
On the CFX data would be appended at the end of used memory (/start of free memory)
While on the AFX data would be inserted at it's appropriate place in memory, thus all data after it will be moved down in memory. If allocation is done per packet recieved, and not per program/zone then it will certainly be slow..
#12
Posted 26 May 2003 - 12:12 PM
#13
Posted 26 May 2003 - 01:33 PM
#14
Posted 26 May 2003 - 02:41 PM
btw: dada66 almost finished Flas100 and Gcomm, you already can donload beta versions that work perfectly, now it only takes 17 secondes to upload a whole drive to the AFX!
You also can send drive between 2 AFX.
Gcomm also support memory transfer (basic files, lists, etc...).
#15
Posted 05 June 2003 - 05:02 PM
It's probably the case that just bad design is responsible for transfers taking so long with FA-123 - if it uses a simple "allocate the space, then fill it in" strategy, it should be able to send at the full communication speed. If BiTwhise's idea on allocating as each packet arrives is correct, then that would probably explain the difference. Why Casio did it this way... who knows.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users