RE: CBM-HD

ncoplin_at_orbeng.com
Date: 2004-07-06 06:42:46

Hello Ruud,

 The only thing I can think of is that a PC-interrupt consumes to much
> precious time. So I'm thinking of shutting down some interrupts in one or
> another way. Who has experience (I'm especially thinking of Nick and
Andre)
> and can give me some usefull tips ?
> Many thanks IA !!!

Providing the PC is fast enough (at least 386SX33, but I can make it work on
some SX20) and that you are running plain DOS you should be able to make it
work with just polling ATN (its all 64HDD does since the ATN is not
connected to the LPT interrupt pin). There are a few little tricks needed to
get to the responsiveness in some instances. 1) check for ATN within the
send and receive byte routines (because you don't have interupt response,
you need to simulate it by checking often); 2) by-pass UNTALK/UNLISTEN when
(1) happens and go straight to the ATN polling loop (afterall whatelse will
the C64 be telling the drive!); 3) keep the polling loop as tight and
responsive as possible (eg don't check for keyboard keys using BIOS - one of
the slowest services possible).

I think that's it.... some of its not elegant, but necessary.

- Nick


================================================


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Your Engineering Solutions Provider
http://www.orbeng.com.au/orbital/engineeringServices/engServices.htm
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PLEASE TAKE NOTE:

The contents of this email (including any attachments) may be
privileged and confidential. Any unauthorised use of the contents
is expressly prohibited. If you have received this email in error,
please advise us immediately (you can contact us by telephone
on +61 8 9441 2311 by reverse charge) and then permanently
delete this email together with any attachments. We appreciate
your co-operation.

Whilst Orbital endeavours to take reasonable care to ensure
that this email and any attachments are free from viruses or other
defects, Orbital does not represent or warrant that such is explicitly
the case

(C) 2004: Orbital Engine Company (Australia) Pty Ltd and its
affiliates


       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.