zx128: set the vectors right
authorAlan Cox <alan@linux.intel.com>
Mon, 9 Mar 2015 21:39:24 +0000 (21:39 +0000)
committerAlan Cox <alan@linux.intel.com>
Mon, 9 Mar 2015 21:39:24 +0000 (21:39 +0000)
Kernel/platform-zx128/zx128.s

index 6ea88fe..d9328a6 100644 (file)
@@ -148,11 +148,11 @@ init_hardware:
 _program_vectors:
        pop bc
        pop de
-       pop iy                  ;       task ptr
-       push iy
+       pop hl                  ;       task page ptr
+       push hl
        push de
        push bc
-       ld a, P_TAB__P_PAGE_OFFSET+1(iy)        ; high page of the pair
+       ld a, (hl)              ; high page of the pair
 
 setvectors:
        call map_save