Welcome, Guest. Please login or register.

Author Topic: can you load a file into memory in amigabasic or in amigados?  (Read 7208 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline nbache

One problem is the lack of information given by the OP.

There's no such thing as "a file" - at least not in any useful manner.

He needs to specify which kind of file it is and what sort of content he expects to be able to look for in the file. Then maybe more useful information could be given.

Best regards,

Niels
 

Offline nbache

Re: can you load a file into memory in amigabasic or in amigados?
« Reply #1 on: January 06, 2025, 01:42:27 PM »
Yes, much better explanation, thanks.

So when you read the disk tracks directly, it's not really a file either, but of course those data that you read can be written into a file, and from there on it looks like you know what to do.

I'm not at all familiar with things like Amos or Blitz, but hopefully someone else can help more there.

Just be aware that when you read the raw data from the disk, you may often end up with chunks of data belonging to separate files, as they will often have been written to the disk interleaved with each other.

But if your aim is more or less to produce some "art" out of the data, that shouldn't be important to you, I guess.

Best regards,

Niels
 

Offline nbache

Re: can you load a file into memory in amigabasic or in amigados?
« Reply #2 on: January 09, 2025, 11:49:53 AM »
@the777

All once the Dev-handler has been installed and is active, or course (just trying to help avoid any misunderstandings).

The Dev-handler, when active, is what does the magic to create a "DEV:" pseudo-device, under which your disktracks appear as files.

At least thats' the main gist of it. But do read the readme and other docs.

(Never tried it myself, but looks useful and simple if you need it).

Best regards,

Niels