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

From: Mikael Holm (
Date: 2003-01-28 09:46:22


What I have gathered is that all CP/M implementations have a service call 
called USER that is machine specific (not portable between 
implementations). And CP/M? on the C128 seems to have it as well. 
According to my C128 Programmers Guide (from Compute) there is a 
subfunction of the USER-call to execute 8502 code and then return to 
CP/M... But as usual with interresting stuff in books, there's no examples 
so I'm a bit stuck...


On Tuesday 28 January 2003 08:44, Mikael Holm wrote:
> Thanks for the links...
> 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!

you probably cant.... while i know virtually nothing about cpm-internals, 
would guess that the only way to get this working would be either 
64HDD or to write the equivalent of a "device-, or filesystem- driver" for 


<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.

       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail 2.1.6.