I need short procedure in ASM to format disk, by POKEd in Basic, so short how it possible 2 Basic lines max, I hope. No extra ROMs no RSX just CALL. Any help.
Here you go:
(Taken from Unofficial Amstrad WWW Resource (http://www.cpctech.org.uk/download.html) )
Thanks for this link, someday will be useful.
I was hoping for something shorter. Years ago, I had something shorter than 100 bytes. And these questions are unnecessary, more simply is POKE in BASIC. But this is better than nothing. :)
Actually, it is enough for me procedure to format track and change track number by POKE. :)
You could use the one letter RSX commands of any DOS ROM. Look here:
AMSDOS Hidden RSX Functions - CPCWiki (http://www.cpcwiki.eu/index.php/AMSDOS_Hidden_RSX_Functions#Format_Track)