Author Topic: Binary file question  (Read 512 times)

0 Members and 1 Guest are viewing this topic.

Offline ComSoft6128

  • ..................................
  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.418
  • Country: scotland
  • CPC THEN CPC NOW
    • index.php?action=treasury
  • Liked: 1433
  • Likes Given: 3080
Binary file question
« on: 09:51, 31 March 19 »
Hi,

Today I'm hoping to look at a number of small graphics files from various PD libraries from last century :o

Most of them are small BASIC programs so can easily be listed for examination. However at least two of them have BASIC loaders and a binary file.

How easy/hard/impossible is it to open and examine a binary file using old or new software tools?

Cheers,

Peter
« Last Edit: 10:19, 31 March 19 by ComSoft6128 »

Offline AMSDOS

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.775
  • Country: au
    • index.php?action=treasury
    • Programs for Turbo Pascal 3
  • Liked: 1023
  • Likes Given: 1731
Re: Binary file question
« Reply #1 on: 12:33, 31 March 19 »
Hi,

Today I'm hoping to look at a number of small graphics files from various PD libraries from last century :o

Most of them are small BASIC programs so can easily be listed for examination. However at least two of them have BASIC loaders and a binary file.

How easy/hard/impossible is it to open and examine a binary file using old or new software tools?

Cheers,

Peter


On a CPC you can examine the Binary Files with a Header Reader. I posted a small one from the AA53 Forum in this thread which can examine Binary Files. However, if the files were on a DSK image, you could use Winape, from within the File, Drive A: or B: and Select 'Edit Disc'. A Window will pop-up with all the Filenames on the DSK image and you can Right Click on those and Select Properties, which will display information for Start Address, Length and Execution Address I think (if it has one), otherwise the BASIC programs will have that information.


Hope it helps.
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Offline ComSoft6128

  • ..................................
  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.418
  • Country: scotland
  • CPC THEN CPC NOW
    • index.php?action=treasury
  • Liked: 1433
  • Likes Given: 3080
Re: Binary file question
« Reply #2 on: 12:41, 31 March 19 »
Thanks @AMSDOS ,

The programs are stored on the original 25+ year old Romdos D20 disks. I posted the question just in case anyone wanted to see how the programs functioned.

Cheers,

Peter