Newbie writing a diagnostic App

Anything goes
Post Reply
RetrogamerRhys
Posts: 21
Joined: Mon Oct 07, 2019 3:35 pm

Newbie writing a diagnostic App

Post by RetrogamerRhys » Sat Feb 15, 2020 3:27 pm

What assembler would be useful to know when writing a diagnostic tool for the Amiga 500. I want to be able to check if the read and write procedure of the floppy disk drive works correctly by reading and writing sectors of a 3.5inch floppy disk. I want it to be able to test floppy disks for corruption as well as the drive. If someone could tell me what libraries I need to include and how to use them for example. Thanks.

RetrogamerRhys
Posts: 21
Joined: Mon Oct 07, 2019 3:35 pm

Re: Newbie writing a diagnostic App

Post by RetrogamerRhys » Fri Feb 28, 2020 5:44 pm

I believe the best way to do this is using Amiga OS, Exec library to control disk access.

matibee
Posts: 19
Joined: Mon Feb 17, 2020 6:09 pm

Re: Newbie writing a diagnostic App

Post by matibee » Wed Mar 04, 2020 12:14 pm

I skimmed through this recently.. I should think everything you need is in here;
https://archive.org/details/1990-beats- ... d/mode/2up

I owned this book in '91 but it didn't mean a lot to me as I didn't start programming in C until '94.
Hobbyist coder for over 37 years! Last 20 years: C/C++, Windows, DirectX, OpenGL, Newton, JUCE, Godot.
Current collection: Atari; 2600, 800xl, 130xe, XEGS, 520stfm, 1040stfm, Lynx. SNES. Megadrive. GBA. PSP. 48k Speccy. C64, Amiga 500+. PS1, 2 & 3

RetrogamerRhys
Posts: 21
Joined: Mon Oct 07, 2019 3:35 pm

Re: Newbie writing a diagnostic App

Post by RetrogamerRhys » Thu Mar 05, 2020 3:15 pm

Could you please post the name of the book as I can't seem to get the link working, thanks.

matibee
Posts: 19
Joined: Mon Feb 17, 2020 6:09 pm

Re: Newbie writing a diagnostic App

Post by matibee » Thu Mar 05, 2020 7:50 pm

Sure. It’s the Amiga ROM Kernel Reference Manual. But there are others, such as the Hardware Reference Manual. Try this link for pdf downloads...
https://www.ikod.se/download/documents/
Cheers
Hobbyist coder for over 37 years! Last 20 years: C/C++, Windows, DirectX, OpenGL, Newton, JUCE, Godot.
Current collection: Atari; 2600, 800xl, 130xe, XEGS, 520stfm, 1040stfm, Lynx. SNES. Megadrive. GBA. PSP. 48k Speccy. C64, Amiga 500+. PS1, 2 & 3

RetrogamerRhys
Posts: 21
Joined: Mon Oct 07, 2019 3:35 pm

Re: Newbie writing a diagnostic App

Post by RetrogamerRhys » Sat Mar 07, 2020 11:29 am

Thanks for the link It was very useful, obviously this project is going to take some doing accessing the kernel rom and hardware at a very low level.

matibee
Posts: 19
Joined: Mon Feb 17, 2020 6:09 pm

Re: Newbie writing a diagnostic App

Post by matibee » Wed Apr 15, 2020 1:39 pm

Here's another interesting link (your project is still in my thoughts obviously :)

https://www.ebay.co.uk/itm/Amiga-Disk-D ... SwHr9eBh4m

Book: Amiga Disk Drives Inside Out
Publisher: Abacus
Ebay Auction. £40 (UK)

Internet archive copy: https://archive.org/details/Amiga_Disk_ ... s/mode/2up
Hobbyist coder for over 37 years! Last 20 years: C/C++, Windows, DirectX, OpenGL, Newton, JUCE, Godot.
Current collection: Atari; 2600, 800xl, 130xe, XEGS, 520stfm, 1040stfm, Lynx. SNES. Megadrive. GBA. PSP. 48k Speccy. C64, Amiga 500+. PS1, 2 & 3

Post Reply

Return to “General Off topic”