v8080: align with upstream rsts
authorAlan Cox <alan@linux.intel.com>
Sat, 16 Feb 2019 02:46:02 +0000 (02:46 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 16 Feb 2019 02:46:02 +0000 (02:46 +0000)
Kernel/platform-v8080/rst.s

index bec3466..0eafc07 100644 (file)
@@ -7,6 +7,9 @@
 !     41 call .floadn4
 !     34 call .fload4
 !     28 call .fstoren2
+!
+! Also:
+!     48 call .cmps_mag
 
 .define .rst_init
 .rst_init:
     lxi h, .fload4
     call copy
     lxi h, .fstoren2
+    call copy
+    lxi h, .cmps_mag
+    jmp copy
+
 ! Copies eight bytes from HL to DE.
 copy:
     mvi c, 8
@@ -28,4 +35,4 @@ copy:
     inr e
     dcr c
     jnz .1
-    ret
\ No newline at end of file
+    ret