Hi!
I have been doing some testing with the IM2 mode, which is something
completely new to me.
The setting up I have goes like this:
di
ld hl,TABLE257
ld bc,MAIN
ld (hl),b
inc hl
ld (hl),c
ld e,l
ld d,h
inc de
dec hl
ld bc,$ff
ldir
ld a,$d0
ld i,a
im 2
Where TABLE257 is a space in RAM to store the higher byte of the routine MAIN. The space is stored at $D000.
Since this is unknown to me, I have some questions for the experts in IM2:
-Is that routine above correct?
-Is the frame rate still 50/60hz or it depends on the use of HALT?
-After every HALT is the routine MAIN called automatically?
I think the routine above is not completely right...
I already had a look at the one in the SNIPPETS, by jltursan, but there are some things I still don't understand quite well...
I am doing the testings on BlueMSX.