English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. AMOS

 
 
Thread Tools
Old 23 March 2024, 18:58   #1
Allanon
Registered User
 
Join Date: May 2023
Location: italy
Posts: 7
Help to speed up disk access :)

Hello all!
I'm taking a pause from my game project "The Gate" and I've started to code a Gopher client, almost completed and fully featured but I'm having a little problem with the command Print # that I'm using to save files to disk: it's really, really slow, something like 40Kb/s.
Saving a 1.8Mb file takes around 44 seconds.
I'm using a bank as a downlaod buffer, when it is filled I use Peek$ to get a string that I write to disk using Print #.

I was looking for an extension with improved performances and the only one I found digging around is the LDos extension by Niklas Sjoberg.
It seems to have a very handy function to save memory blocks to an opened file, hopefully faster that the stock Print #.
I was able to find only demo versions and I was wondering if any of you know if there is a registered version around, if it can be still purchased, or if there are any other extension with the feature I'm looking for.

Here are some shots of my Gopher client:



Thanks in advance for any help you may provide!
Allanon is offline  
Old 23 March 2024, 19:12   #2
Allanon
Registered User
 
Join Date: May 2023
Location: italy
Posts: 7
Woah! I've tried to compile the program and the speed increase was incredible!

from 40kb/s -> 225kb/s
Allanon is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to speed up internal SD access? AmigaNoob support.Hardware 26 04 May 2020 12:17
memory access speed question Lord Riton Coders. General 42 27 February 2019 14:26
Access speed for EPROM on expansion card mark_k Coders. Asm / Hardware 4 11 April 2015 11:44
Program to speed up floppy disk access? BarryB support.Apps 22 26 March 2013 19:30
Slow speed Direct HD access Dan Andrea support.WinUAE 3 27 December 2002 14:21

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 23:09.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06489 seconds with 13 queries