At 22:43 02/03/99 +0100, you wrote:
>On Tue, 2 Mar 1999, Laurens Holst wrote:
>
>> The MSX BIOS changes the pins of the joystickport while reading the
>> joystickports. Therefor, you can only send/recieve while interrupts are
>> disabled, or -I perfer this option- you can write your own
interrupt-routine
>> which doesn't modify
>> the pins of the joystick-port on which JoyNet is connected.
>
>Of course, that is what I do as well. But when I want to access the disk
>(BDOS), I need to have the bios in page 0 (or at least the slot switching
>routines). I don't have them in my own 0-page code, or at least not in a
>dos-compatible way. (They will be dos2-compatible, but they don't switch
>the usual way on rst 20). So does the BIOS always switch 1's in the
>buttons and a 0 in the strobe, or is it random?
>
>Thanks, bye,
>shevek

hum...

why don't you use the DOS? I mean you are talking of BDOS, by the way buy
making the game directly load from DOS prompt, you'll have the DOS and BIOS
entry in page 0 that is RAM in DOS mode, therefore you just have to modify
RST38 RAM location so it jump to your own interupt driver, this way you
still have acces to CALL 0005h for disk rouitnes and still use your
interupt driver at the same time.

just copy the data at location RST38 (5 byte if I remember well...) and
restore the 5 byte when exiting you application.

hope this help


        Martial.


****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to