Hello,
At the end of the https://www.msx.org/wiki/Slots page, there is a sample of ENASLT call.
; Select the slot 2-1 for page 1 (4000h-07FFFh) using BIOS routine ENASLT equ 0024h ld h,040h ld a,08Fh ;Slot ID call ENASLT
So ok for h register: as it's bit 6 and 7 which are used, 0x40 gives 01000000b, so page 1.
But for slot ID value, i don't understand:
Slot ID is coded this way: F000EEPP
if F is set, then EE (subslot) is used.
0x8F gives :
10001111
F000EEPP
So i understand : primary = 3 , and extended = 3.
But the sample says : Select the slot 2-1
Shouldn't the value of A register be: 10000110 (0x86) ?
Thank you.
!login ou Inscrivez-vous pour poster