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

From: Groepaz (groepaz_at_gmx.net)
Date: 2003-01-28 09:01:49

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

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

-- 
          ___ ___ .___________________ .___________ _______.
    c=64 /   |   \|   \__    ___/     \ \_   _____/ \      \ [groepaz]
     gb /    '    \   | |    | /  \ /  \ |    __)_  /   |   \ gp32
    cgb \    .    /   | |    |/    '    \|        \/    |    \ psx
     gba \___|_  /|___| |____|\____|__  /_______  /\____|__  / dc
          -----\/-----'---------------\/--------\/---------\/
       http://www.hitmen-console.org    Hitmen WWW Headquarters
       http://fly.to/hitmen-groepaz     my personal playground
       http://rr.c64.org/silversurfer   home of the RR debugger
       ftp.musoftware.de/pub/groepaz    cc65 dump site


       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail 2.1.6.