Hello,
I need to convert (and read with gotek) few 795kb adf images to 800
I already downloaded DIM/BBCIM, but I am having super hard time trying to figure out how to make that 800 kb images
Could someone please give a blitz tour or a guide how to do so? Like "press that button and the press that button"
Tanks in advance!
795kb adf inage to 800k
Re: 795kb adf inage to 800k
A 795K image is very likely a bad dump due to missing protection information. The only thing you can try is padding the image file to make it 800K and see if it works. If it doesn't then definitely bad dump, delete it and try to find a better dump.
- Nigel
BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
- geraldholdsworth
- Posts: 1401
- Joined: Tue Nov 04, 2014 9:42 pm
- Location: Inverness, Scotland
- Contact:
Re: 795kb adf inage to 800k
It is possible, but DIM can't (currently) do it. It involves, as Pernod said, padding the file out to 800KB (819200bytes, to be precise) but may also involve using a hex editor to change the size to 0xC8000 (offset location 0xFC) - but you'll also need to calculate and update the checksum (offset location 0xFF). So, again as Pernod said, to find and download an 800KB image.
Gerald Holdsworth, CTS-D
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
Re: 795kb adf inage to 800k
Alright, so how do I basically do that? In details pleasegeraldholdsworth wrote: ↑Sun Mar 26, 2023 7:45 pm It involves, as Pernod said, padding the file out to 800KB (819200bytes, to be precise)
- geraldholdsworth
- Posts: 1401
- Joined: Tue Nov 04, 2014 9:42 pm
- Location: Inverness, Scotland
- Contact:
Re: 795kb adf inage to 800k
What OS are you using? Windows/Linux/macOS/Other?kppot wrote: ↑Sun Mar 26, 2023 9:53 pmAlright, so how do I basically do that? In details pleasegeraldholdsworth wrote: ↑Sun Mar 26, 2023 7:45 pm It involves, as Pernod said, padding the file out to 800KB (819200bytes, to be precise)
Gerald Holdsworth, CTS-D
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
Re: 795kb adf inage to 800k
Win 7, 10 and Macosgeraldholdsworth wrote: ↑Sun Mar 26, 2023 10:23 pm What OS are you using? Windows/Linux/macOS/Other?
Re: 795kb adf inage to 800k
I had need of a similar thing recently, so I wrote a short python script, which may help you;
http://home.marutan.net/hg/misc/file/f8 ... /adfpad.py
http://home.marutan.net/hg/misc/file/f8 ... /adfpad.py
- IanJeffray
- Posts: 5961
- Joined: Sat Jun 06, 2020 3:50 pm
- Contact:
Re: 795kb adf inage to 800k
In Linux, you could do this:
Code: Select all
cat input.adf /dev/zero | dd of=output.adf bs=1024 count=800
Re: 795kb adf inage to 800k
Igor
Acorn Electron, BBC Master 128, Acorn Archimedes A3000
Acorn Electron, BBC Master 128, Acorn Archimedes A3000