With this fixed we can get to the point of trying to load init properly
; find another process to run (may select this one again)
push af
call _getproc
- pop af
+ pop af ; tidy this stack stuff up ex (sp), hl ??
push hl
+ push af
call _switchin
; we should never get here
; Is our low data in 0x8000 already or do we need to flip
; it with bank 6
+ inc hl ; get our low bank (2nd entry)
ld a, (low_bank)
cp (hl)
call nz, fliplow
; have the IM2 vectors
;
fliplow:
+ ret ; FIXME
exx
ld hl, #0x8000
ld de, #0xc000