Correct show-stopper omission a patch from Custer

All unused SuperMario-style "vectors" point BADTRAP instead of
UNIMPLEMENTED.

With this patch, the build works, and the 3 MB RomMondo is byte-correct
except for the date in the host DeclData. This is really cool!
This commit is contained in:
Elliot Nunn 2019-04-05 22:08:18 +08:00
parent 9654c22756
commit 1772194f62
1 changed files with 20 additions and 0 deletions

View File

@ -3554,6 +3554,26 @@ diff --git a/Internal/Asm/UniversalEqu.a b/Internal/Asm/UniversalEqu.a
ProductInfo record 0,increment ; data structure describing product dependent features
diff --git a/Internal/Asm/VectorTableInit.a b/Internal/Asm/VectorTableInit.a
--- a/Internal/Asm/VectorTableInit.a
+++ b/Internal/Asm/VectorTableInit.a
@@ -118,13 +118,13 @@ InitVec&TVec proc export ; initialize the vector table vector
Endif
- ; fill in the unused "holes" with the address of UNIMPLEMENTED
+ ; fill in the unused "holes" with the address of BADTRAP
If (&thisCVect - &lastCVect) > 4 Then
- import UNIMPLEMENTED
+ import BADTRAP
- dcb.l (&thisCVect - &lastCVect - 4)/4 ,UNIMPLEMENTED-BASEOFROM+ROMBASE
+ dcb.l (&thisCVect - &lastCVect - 4)/4 ,BADTRAP-BASEOFROM+ROMBASE
Endif
diff --git a/Internal/Asm/egretequ.a b/Internal/Asm/egretequ.a
--- a/Internal/Asm/egretequ.a
+++ b/Internal/Asm/egretequ.a