[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Softcard: DEVSEL instead of IOSEL possible?
- Subject: Re: Softcard: DEVSEL instead of IOSEL possible?
- From: mdj <mdj.mdj@gmail.com>
- Date: Sun, 23 Nov 2008 16:21:41 -0800 (PST)
- Complaints-to: groups-abuse@google.com
- Injection-info: q30g2000prq.googlegroups.com; posting-host=139.130.5.94; posting-account=gKwMEAoAAACgdZoRArZlfcCSOA8KWMxg
- Newsgroups: comp.sys.apple2
- Organization: http://groups.google.com
- References: <4928bad7$0$31333$9b4e6d93@newsspool4.arcor-online.net>
- User-agent: G2/1.0
- Xref: g2news2.google.com comp.sys.apple2:6673
On Nov 23, 12:07 pm, Linards Ticmanis <ticma...@gmx.de> wrote:
> Has anybody ever tried making the CP/M Softcard use DEVSEL $C0nX instead
> of IOSEL $CnXX for CPU switching, by rerouting that trace? If I
> understand things correctly, this should enable using the card in slot 3
> (the only one free in my crammed IIe) with a patched CP/M. As the
> Softcard doesn't really need ROM space I think this would be easily
> possible.
>
> Of course the "slot scanning" code used to find the card would have to
> go away (rather than merely be modified), as randomly accessing DEVSEL
> space is probably a very bad idea. But the slot 3 location could simply
> be hard-coded into the patched CP/M.
>
> Or am I completely on the wrong track here?
It should work fine. As you point out you'll need to defeat the detect
code and patch the select code accordingly, but I see no reason why it
won't work.
I usually just pull my mouse card when I need a z80 board, since I've
never had call for interrupts in z80 mode. A good alternative though
in your case might be to use one of James Littlejohns slot switchers ?
Matt