Ang: Re: CP/M programming for the C128?

From: Mikael Holm (mikael.holm_at_se.danskebank.com)
Date: 2003-01-28 08:44:59

Thanks for the links...

The reason for not using generic CP/M OS calls is that I use 64HDD as the 
fourth drive on my system and to attach a new disk to it I need to do the 
equivalent of: 
open 15,11,15,"$...path../newdisk.d64" : close

And it seem that the only way to do this is to not use the CP/M service 
calls, but to switch from z80 CP/M mode to 8502 mode... Then do the disk 
stuff in that mode and return to z80 CP/M when done... But this is all 
nice in theory, but I haven't got a clue as to how to do it!

// Mikael



> And what I really want to know is how to access the command channel of 
my 
> 1571-drive from CP/M...

Why do you want to do that? CP/M does all the necessary disk handling.
Just use generic CP/M OS calls. 

Here are some useful URLs for CP/M-programming:

http://www.seasip.demon.co.uk/Cpm/index.html
http://cpm.interfun.net/
http://www.faqs.org/faqs/CPM-faq/
news:comp.os.cpm






<FONT SIZE=1 FACE="Arial">_______________
Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake by sending a reply, then delete the message from your system without making, distributing or retaining any copies of it.
Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or IT system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message.
</FONT>



       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail 2.1.6.