Search the Community
Showing results for tags 'level3 file i/o'.
Found 1 result
I've been doing a couple of tests lately loading and saving a 97KB DV80 file on a real TI-99/4a with PEB, using a couple of different storage devices. To be able to handle such big file I used my Stevie editor with a 1 MB SAMS. Having that much RAM allows me to keep the file completely in memory. The DV80 file I used is the TI Invaders source code as found here: http://aa-ti994a.oratronik.de/TI_Invaders_TI-99_4A_Disk_Version.txt I have tested with following devices: >1000. IDE Card IDE DSR v14 Seagate ST32140A 2GB hard drive First partition IDE1 >1100. Standard TI Disk Controller Freshly formatted BASF floppy disk in drive 1 >1400. TIPI PEB Raspberry PI 3b with 16gb ssd card >1700. HRD4000B ROS 8.42c 4MB RAM disk I clocked total file operation duration using a timer on my mobile phone. For each device I repeated each test 3 times; meaning 3x loading and 3x saving the file. That way I can iron out some of the inaccuracy of my manual timing measurements. To keep compatibility as high as possible, I'm solely using level 3 file I/O. However, for devices that support file buffers in RAM I additionally repeated the test (3x loading, 3x saving), with the buffer in RAM instead of VDP RAM. This is how the test procedure looks like for the load test: Reset console Start Stevie editor Load DV80 from device and time duration until file is shown in editor. Reset console Back to 1 (next device) This is how test procedure looks like for the save test: Reset console Start Stevie editor Load DV80 from HRD4000B partition 1 Save DV80 to device and time duration until file is saved. Reset console Back to 1 (next device) For the sake of science I have spent quite some time on this, repeating the tests over and over 😄 Even though absolute times are not that important (they depend on my file loading handling in the Stevie editor and memory handling specific to Stevie), I do think that comparing times between devices certainly is relevant. With that you get a rough idea what speed the devices offer compared to each other. Durations are in seconds. The "Save slowness" factor indicates how much time the saving of the DV 80 takes, compared to loading. For example, for the TIPI device it means that with the file buffer in VDP RAM, saving the DV80 takes 1,13 times as long.