diff --git a/src/00/jumptable.config b/src/00/jumptable.config index a9149d6..4c12fa6 100644 --- a/src/00/jumptable.config +++ b/src/00/jumptable.config @@ -191,3 +191,6 @@ streamWriteByte streamWriteWord streamWriteBuffer + +# Miscellaneous + getBootPage diff --git a/src/00/util.asm b/src/00/util.asm index b2c7f95..aa0fe25 100644 --- a/src/00/util.asm +++ b/src/00/util.asm @@ -185,6 +185,14 @@ getBatteryLevel: ld b, 255 ret +;; getBootPage [Miscellaneous] +;; Gets the boot page for this calculator. +;; Outputs: +;; A: Boot page +getBootPage: + ld a, bootPage + ret + ;; getBootCodeVersionString [Miscellaneous] ;; Gets the version string from the device's boot code. ;; Outputs: