Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline the777Topic starter

  • Newbie
  • *
  • Join Date: Jan 2025
  • Posts: 8
  • Country: gb
    • Show all replies
can you load a file into memory in amigabasic or in amigados?
« on: January 04, 2025, 12:08:17 AM »
so you can look at the ascii of the file... . so not actually run the file but put it somewhere in memory so i can take a look at the ascii, hex, decimal, disassembly, etc...
« Last Edit: January 04, 2025, 12:10:38 AM by the777 »
 

Offline the777Topic starter

  • Newbie
  • *
  • Join Date: Jan 2025
  • Posts: 8
  • Country: gb
    • Show all replies
Re: can you load a file into memory in amigabasic or in amigados?
« Reply #1 on: January 04, 2025, 01:41:51 AM »
deleted
« Last Edit: January 04, 2025, 01:42:30 AM by the777 »
 

Offline the777Topic starter

  • Newbie
  • *
  • Join Date: Jan 2025
  • Posts: 8
  • Country: gb
    • Show all replies
Re: can you load a file into memory in amigabasic or in amigados?
« Reply #2 on: January 04, 2025, 01:43:33 AM »
because i want to see if the amiga could do it out of the box
 

Offline the777Topic starter

  • Newbie
  • *
  • Join Date: Jan 2025
  • Posts: 8
  • Country: gb
    • Show all replies
Re: can you load a file into memory in amigabasic or in amigados?
« Reply #3 on: January 04, 2025, 10:48:10 AM »
Copy the file to RAM: then open with Ed?

the idea is to use basic at some point to turn the decimal into colored dots to represent whats on the disk or file
 

Offline the777Topic starter

  • Newbie
  • *
  • Join Date: Jan 2025
  • Posts: 8
  • Country: gb
    • Show all replies
Re: can you load a file into memory in amigabasic or in amigados?
« Reply #4 on: January 05, 2025, 10:53:00 AM »
deleted
« Last Edit: January 05, 2025, 10:53:58 AM by the777 »
 

Offline the777Topic starter

  • Newbie
  • *
  • Join Date: Jan 2025
  • Posts: 8
  • Country: gb
    • Show all replies
Re: can you load a file into memory in amigabasic or in amigados?
« Reply #5 on: January 05, 2025, 10:54:16 AM »
"can you load a file into memory in amigabasic or in amigados?"

both of those things would be without purpose if they were unable to perform that function.
What a ridiculous question.

the idea it to put the code into ram, so it can be read in ascii, hex, decimal, etc. not loaded into basic as a program, etc.
« Last Edit: January 05, 2025, 10:56:12 AM by the777 »
 

Offline the777Topic starter

  • Newbie
  • *
  • Join Date: Jan 2025
  • Posts: 8
  • Country: gb
    • Show all replies
Re: can you load a file into memory in amigabasic or in amigados?
« Reply #6 on: January 06, 2025, 12:35:46 PM »
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

i need it to read the sectors of a disk. i want to see what is in each sector and represent it as decimal numbers. im not looking for anything particular in the code. that information could be used to draw a map of the disk in color or monochrome

ive used amos to read the data inside a file and draw a color map of it but now i want to read the sectors directly

i know there is a trackdisk extension for amos but the instructions arent very good after translating from french

and i know there is an undocumented trackdisk command for blitz basic but cant find any instructions for it
« Last Edit: January 06, 2025, 12:43:24 PM by the777 »
 

Offline the777Topic starter

  • Newbie
  • *
  • Join Date: Jan 2025
  • Posts: 8
  • Country: gb
    • Show all replies