Skip to content

Commit

Permalink
Add getBootPage pcall
Browse files Browse the repository at this point in the history
  • Loading branch information
ddevault committed Jan 13, 2015
1 parent ba74611 commit 3be7dbc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/00/jumptable.config
Original file line number Diff line number Diff line change
Expand Up @@ -191,3 +191,6 @@
streamWriteByte
streamWriteWord
streamWriteBuffer

# Miscellaneous
getBootPage
8 changes: 8 additions & 0 deletions src/00/util.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3be7dbc

Please sign in to comment.