Hello,
Is there somewhere a piece of asm code to detect which slot the DiskII is ? (working for 6502)
thanks
Vincent
Please support the defense of Ukraine.
Direct or via Unclutter App
No Ads.
No Trackers.
No Social Media.
All Content Locally Hosted.
Built on Free Software.
We have complied with zero government requests for information.
~ Est. 1999 ~
A pillar of corporate stability since the second millenium.
© 1999-2999 Tom Owad
The Apple II+ Autostart Monitor ROM contains such code, at the entrypoint "PWRUP" $FAA6.
further to robespierre's reply, the listing for the II+ Monitor ROM can be found here:
https://6502disassembly.com/a2-rom/AutoF8ROM.html
OK thank you, it is working like a charm
Now I am looking for a routine to move the arm the DiskII by 1 logical track
Seek function does not exist in prodos
Beneath prodos is providing a piece of code but I do not want to recalibrate and going to track 0
Do someone has this simple routine ?
Thanks
Vincent
You already have "Beneath Apple ProDOS". Turn to page A-8 and refer to the routine called "ARMOVE".
The RWTS interface of DOS 3.3 does provide a SEEK command that can be called by assembling an appropriate I/O control block.