> I have a problem using disk function 064h. With this function, you can
> define your own disk error handler routine. When I call this function
> with my own disk error handler routine adres and an error occurs
> like the disk is missing in the diskdrive, I still get the normal
> error messages like 'Disk offline' in stead of my own messages.

The system error message will be shown if you return from your routine
with A=0, but then you should obtain this message together with your
message, and not instead of your message. Anyway check that you do not
return with A=0, but with 1 (abort), 2 (retry) or 3 (ignore). Also,
check that you define the handler routine correctly (LD DE,routine:LD
C,64h:CALL 0F37Dh)

> Is someone familiar with this routine. Maybe function 064h can only
> be used in the DOS environment and not in the Disk Basic environment.

I never tried to use it from BASIC, but in In DOS manual, in the
description of function 063h (Define abort exit routine), is is stated:

"This function is only available when called via location 0005h in the
MSX-DOS environment. It cannot be called at location 0F37Dh from the
disk BASIC environment."

but nothing is stated in description of function 064h, so we must assume
that it may be called from any environment.


*** XX BARCELONA MSX USERS MEETING: DECEMBER 8TH, 2001 ***
------------------------------------------------------------------------------------------------------
                Konami Man  -  AKA Nestor Soriano (^ ^)v
                       Itsumo MSX user

                             [EMAIL PROTECTED]
                               http://www.konamiman.com

                 Kyoko Koizumi home page (under construction):
             http://www.geocities.com/tamachan1976/index.html
------------------------------------------------------------------------------------------------------

--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html

Reply via email to