[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possilble to use timer interrupt in Apple II?



Albert D. Kallal wrote:
"winston19842005" <bjjlyates@NOSPAMbellsouth.net> wrote in message news:C7428EA9.11B11%



But your example of disk reads during keyboard typing is a bit strange to
me, an apparent physical access to the drive for each keystroke? I would
expect some buffering to take place - so that even on the TI I could type
without character loss until the next block is read into the buffer
(blocksize being 512 bytes on the P-system).


I had built my own custom input routine...and if I told the compiler to dynamic load this, it was un-loading after each call to the char input routine (which was in Pascal)....

So, it was a custom char input and edit routine written in Pascal...not an built system one...

I'd expect it to stay loaded until either explicitly unloaded or
replaced by another dynamically loaded unit--at least that's the
way I've implemented dynamic loading in the past.  (If there's
sufficient available space, I'd cache them with LRU replacement.
Of course, space is tight in an Apple II, but routines can be quite
small.  ;-)

-michael

NadaNet and AppleCrate II: parallel computing for Apple II computers!
Home page: http://home.comcast.net/~mjmahon

"The wastebasket is our most important design
tool--and it's seriously underused."